35810 {
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210
36211
36212
36213
36214
36215
36216
36217
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227
36228
36229
36230
36231
36232
36233
36234
36235
36236
36237
36238
36239
36240
36241
36242
36243
36244
36245
36246
36247
36248
36249
36250
36251
36252
36253
36254
36255
36256
36257
36258
36259
36260
36261
36262
36263
36264
36265
36266
36267
36268
36269
36270
36271
36272
36273
36274
36275
36276
36277
36278
36279
36280
36281
36282
36283
36284
36285
36286
36287
36288
36289
36290
36291
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302
36303
36304
36305
36306
36307
36308
36309
36310
36311
36312
36313
36314
36315
36316
36317
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332
36333
36334
36335
36336
36337
36338
36339
36340
36341
36342
36343
36344
36345
36346
36347
36348
36349
36350
36351
36352
36353
36354
36355
36356
36357
36358
36359
36360
36361
36362
36363
36364
36365
36366
36367
36368
36369
36370
36371
36372
36373
36374
36375
36376
36377
36378
36379
36380
36381
36382
36383
36384
36385
36386
36387
36388
36389
36390
36391
36392
36393
36394
36395
36396
36397
36398
36399
36400
36401
36402
36403
36404
36405
36406
36407
36408
36409
36410
36411
36412
36413
36414
36415
36416
36417
36418
36419
36420
36421
36422
36423
36424
36425
36426
36427
36428
36429
36430
36431
36432
36433
36434
36435
36436
36437
36438
36439
36440
36441
36442
36443
36444
36445
36446
36447
36448
36449
36450
36451
36452
36453
36454
36455
36456
36457
36458
36459
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469
36470
36471
36472
36473
36474
36475
36476
36477
36478
36479
36480
36481
36482
36483
36484
36485
36486
36487
36488
36489
36490
36491
36492
36493
36494
36495
36496
36497
36498
36499
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
36518
36519
36520
36521
36522
36523
36524
36525
36526
36527
36528
36529
36530
36531
36532
36533
36534
36535
36536
36537
36538
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
36682
36683
36684
36685
36686
36687
36688
36689
36690
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700
36701
36702
36703
36704
36705
36706
36707
36708
36709
36710
36711
36712
36713
36714
36715
36716
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735
36736
36737
36738
36739
36740
36741
36742
36743
36744
36745
36746
36747
36748
36749
36750
36751
36752
36753
36754
36755
36756
36757
36758
36759
36760
36761
36762
36763
36764
36765
36766
36767
36768
36769
36770
36771
36772
36773
36774
36775
36776
36777
36778
36779
36780
36781
36782
36783
36784
36785
36786
36787
36788
36789
36790
36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
36807
36808
36809
36810
36811
36812
36813
36814
36815
36816
36817
36818
36819
36820
36821
36822
36823
36824
36825
36826
36827
36828
36829
36830
36831
36832
36833
36834
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
36845
36846
36847
36848
36849
36850
36851
36852
36853
36854
36855
36856
36857
36858
36859
36860
36861
36862
36863
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36900
36901
36902
36903
36904
36905
36906
36907
36908
36909
36910
36911
36912
36913
36914
36915
36916
36917
36918
36919
36920
36921
36922
36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
36942
36943
36944
36945
36946
36947
36948
36949
36950
36951
36952
36953
36954
36955
36956
36957
36958
36959
36960
36961
36962
36963
36964
36965
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065
37066
37067
37068
37069
37070
37071
37072
37073
37074
37075
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
37125
37126
37127
37128
37129
37130
37131
37132
37133
37134
37135
37136
37137
37138
37139
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
37223
37224
37225
37226
37227
37228
37229
37230
37231
37232
37233
37234
37235
37236
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276
37277
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
37330
37331
37332
37333
37334
37335
37336
37337
37338
37339
37340
37341
37342
37343
37344
37345
37346
37347
37348
37349
37350
37351
37352
37353
37354
37355
37356
37357
37358
37359
37360
37361
37362
37363
37364
37365
37366
37367
37368
37369
37370
37371
37372
37373
37374
37375
37376
37377
37378
37379
37380
37381
37382
37383
37384
37385
37386
37387
37388
37389
37390
37391
37392
37393
37394
37395
37396
37397
37398
37399
37400
37401
37402
37403
37404
37405
37406
37407
37408
37409
37410
37411
37412
37413
37414
37415
37416
37417
37418
37419
37420
37421
37422
37423
37424
37425
37426
37427
37428
37429
37430
37431
37432
37433
37434
37435
37436
37437
37438
37439
37440
37441
37442
37443
37444
37445
37446
37447
37448
37449
37450
37451
37452
37453
37454
37455
37456
37457
37458
37459
37460
37461
37462
37463
37464
37465
37466
37467
37468
37469
37470
37471
37472
37473
37474
37475
37476
37477
37478
37479
37480
37481
37482
37483
37484
37485
37486
37487
37488
37489
37490
37491
37492
37493
37494
37495
37496
37497
37498
37499
37500
37501
37502
37503
37504
37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
37520
37521
37522
37523
37524
37525
37526
37527
37528
37529
37530
37531
37532
37533
37534
37535
37536
37537
37538
37539
37540
37541
37542
37543
37544
37545
37546
37547
37548
37549
37550
37551
37552
37553
37554
37555
37556
37557
37558
37559
37560
37561
37562
37563
37564
37565
37566
37567
37568
37569
37570
37571
37572
37573
37574
37575
37576
37577
37578
37579
37580
37581
37582
37583
37584
37585
37586
37587
37588
37589
37590
37591
37592
37593
37594
37595
37596
37597
37598
37599
37600
37601
37602
37603
37604
37605
37606
37607
37608
37609
37610
37611
37612
37613
37614
37615
37616
37617
37618
37619
37620
37621
37622
37623
37624
37625
37626
37627
37628
37629
37630
37631
37632
37633
37634
37635
37636
37637
37638
37639
37640
37641
37642
37643
37644
37645
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658
37659
37660
37661
37662
37663
37664
37665
37666
37667
37668
37669
37670
37671
37672
37673
37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704
37705
37706
37707
37708
37709
37710
37711
37712
37713
37714
37715
37716
37717
37718
37719
37720
37721
37722
37723
37724
37725
37726
37727
37728
37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
37739
37740
37741
37742
37743
37744
37745
37746
37747
37748
37749
37750
37751
37752
37753
37754
37755
37756
37757
37758
37759
37760
37761
37762
37763
37764
37765
37766
37767
37768
37769
37770
37771
37772
37773
37774
37775
37776
37777
37778
37779
37780
37781
37782
37783
37784
37785
37786
37787
37788
37789
37790
37791
37792
37793
37794
37795
37796
37797
37798
37799
37800
37801
37802
37803
37804
37805
37806
37807
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37822
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850
37851
37852
37853
37854
37855
37856
37857
37858
37859
37860
37861
37862
37863
37864
37865
37866
37867
37868
37869
37870
37871
37872
37873
37874
37875
37876
37877
37878
37879
37880
37881
37882
37883
37884
37885
37886
37887
37888
37889
37890
37891
37892
37893
37894
37895
37896
37897
37898
37899
37900
37901
37902
37903
37904
37905
37906
37907
37908
37909
37910
37911
37912
37913
37914
37915
37916
37917
37918
37919
37920
37921
37922
37923
37924
37925
37926
37927
37928
37929
37930
37931
37932
37933
37934
37935
37936
37937
37938
37939
37940
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991
37992
37993
37994
37995
37996
37997
37998
37999
38000
38001
38002
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012
38013
38014
38015
38016
38017
38018
38019
38020
38021
38022
38023
38024
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
38037
38038
38039
38040
38041
38042
38043
38044
38045
38046
38047
38048
38049
38050
38051
38052
38053
38054
38055
38056
38057
38058
38059
38060
38061
38062
38063
38064
38065
38066
38067
38068
38069
38070
38071
38072
38073
38074
38075
38076
38077
38078
38079
38080
38081
38082
38083
38084
38085
38086
38087
38088
38089
38090
38091
38092
38093
38094
38095
38096
38097
38098
38099
38100
38101
38102
38103
38104
38105
38106
38107
38108
38109
38110
38111
38112
38113
38114
38115
38116
38117
38118
38119
38120
38121
38122
38123
38124
38125
38126
38127
38128
38129
38130
38131
38132
38133
38134
38135
38136
38137
38138
38139
38140
38141
38142
38143
38144
38145
38146
38147
38148
38149
38150
38151
38152
38153
38154
38155
38156
38157
38158
38159
38160
38161
38162
38163
38164
38165
38166
38167
38168
38169
38170
38171
38172
38173
38174
38175
38176
38177
38178
38179
38180
38181
38182
38183
38184
38185
38186
38187
38188
38189
38190
38191
38192
38193
38194
38195
38196
38197
38198
38199
38200
38201
38202
38203
38204
38205
38206
38207
38208
38209
38210
38211
38212
38213
38214
38215
38216
38217
38218
38219
38220
38221
38222
38223
38224
38225
38226
38227
38228
38229
38230
38231
38232
38233
38234
38235
38236
38237
38238
38239
38240
38241
38242
38243
38244
38245
38246
38247
38248
38249
38250
38251
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261
38262
38263
38264
38265
38266
38267
38268
38269
38270
38271
38272
38273
38274
38275
38276
38277
38278
38279
38280
38281
38282
38283
38284
38285
38286
38287
38288
38289
38290
38291
38292
38293
38294
38295
38296
38297
38298
38299
38300
38301
38302
38303
38304
38305
38306
38307
38308
38309
38310
38311
38312
38313
38314
38315
38316
38317
38318
38319
38320
38321
38322
38323
38324
38325
38326
38327
38328
38329
38330
38331
38332
38333
38334
38335
38336
38337
38338
38339
38340
38341
38342
38343
38344
38345
38346
38347
38348
38349
38350
38351
38352
38353
38354
38355
38356
38357
38358
38359
38360
38361
38362
38363
38364
38365
38366
38367
38368
38369
38370
38371
38372
38373
38374
38375
38376
38377
38378
38379
38380
38381
38382
38383
38384
38385
38386
38387
38388
38389
38390
38391
38392
38393
38394
38395
38396
38397
38398
38399
38400
38401
38402
38403
38404
38405
38406
38407
38408
38409
38410
38411
38412
38413
38414
38415
38416
38417
38418
38419
38420
38421
38422
38423
38424
38425
38426
38427
38428
38429
38430
38431
38432
38433
38434
38435
38436
38437
38438
38439
38440
38441
38442
38443
38444
38445
38446
38447
38448
38449
38450
38451
38452
38453
38454
38455
38456
38457
38458
38459
38460
38461
38462
38463
38464
38465
38466
38467
38468
38469
38470
38471
38472
38473
38474
38475
38476
38477
38478
38479
38480
38481
38482
38483
38484
38485
38486
38487
38488
38489
38490
38491
38492
38493
38494
38495
38496
38497
38498
38499
38500
38501
38502
38503
38504
38505
38506
38507
38508
38509
38510
38511
38512
38513
38514
38515
38516
38517
38518
38519
38520
38521
38522
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
38534
38535
38536
38537
38538
38539
38540
38541
38542
38543
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555
38556
38557
38558
38559
38560
38561
38562
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572
38573
38574
38575
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586
38587
38588
38589
38590
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602
38603
38604
38605
38606
38607
38608
38609
38610
38611
38612
38613
38614
38615
38616
38617
38618
38619
38620
38621
38622
38623
38624
38625
38626
38627
38628
38629
38630
38631
38632
38633
38634
38635
38636
38637
38638
38639
38640
38641
38642
38643
38644
38645
38646
38647
38648
38649
38650
38651
38652
38653
38654
38655
38656
38657
38658
38659
38660
38661
38662
38663
38664
38665
38666
38667
38668
38669
38670
38671
38672
38673
38674
38675
38676
38677
38678
38679
38680
38681
38682
38683
38684
38685
38686
38687
38688
38689
38690
38691
38692
38693
38694
38695
38696
38697
38698
38699
38700
38701
38702
38703
38704
38705
38706
38707
38708
38709
38710
38711
38712
38713
38714
38715
38716
38717
38718
38719
38720
38721
38722
38723
38724
38725
38726
38727
38728
38729
38730
38731
38732
38733
38734
38735
38736
38737
38738
38739
38740
38741
38742
38743
38744
38745
38746
38747
38748
38749
38750
38751
38752
38753
38754
38755
38756
38757
38758
38759
38760
38761
38762
38763
38764
38765
38766
38767
38768
38769
38770
38771
38772
38773
38774
38775
38776
38777
38778
38779
38780
38781
38782
38783
38784
38785
38786
38787
38788
38789
38790
38791
38792
38793
38794
38795
38796
38797
38798
38799
38800
38801
38802
38803
38804
38805
38806
38807
38808
38809
38810
38811
38812
38813
38814
38815
38816
38817
38818
38819
38820
38821
38822
38823
38824
38825
38826
38827
38828
38829
38830
38831
38832
38833
38834
38835
38836
38837
38838
38839
38840
38841
38842
38843
38844
38845
38846
38847
38848
38849
38850
38851
38852
38853
38854
38855
38856
38857
38858
38859
38860
38861
38862
38863
38864
38865
38866
38867
38868
38869
38870
38871
38872
38873
38874
38875
38876
38877
38878
38879
38880
38881
38882
38883
38884
38885
38886
38887
38888
38889
38890
38891
38892
38893
38894
38895
38896
38897
38898
38899
38900
38901
38902
38903
38904
38905
38906
38907
38908
38909
38910
38911
38912
38913
38914
38915
38916
38917
38918
38919
38920
38921
38922
38923
38924
38925
38926
38927
38928
38929
38930
38931
38932
38933
38934
38935
38936
38937
38938
38939
38940
38941
38942
38943
38944
38945
38946
38947
38948
38949
38950
38951
38952
38953
38954
38955
38956
38957
38958
38959
38960
38961
38962
38963
38964
38965
38966
38967
38968
38969
38970
38971
38972
38973
38974
38975
38976
38977
38978
38979
38980
38981
38982
38983
38984
38985
38986
38987
38988
38989
38990
38991
38992
38993
38994
38995
38996
38997
38998
38999
39000
39001
39002
39003
39004
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014
39015
39016
39017
39018
39019
39020
39021
39022
39023
39024
39025
39026
39027
39028
39029
39030
39031
39032
39033
39034
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044
39045
39046
39047
39048
39049
39050
39051
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061
39062
39063
39064
39065
39066
39067
39068
39069
39070
39071
39072
39073
39074
39075
39076
39077
39078
39079
39080
39081
39082
39083
39084
39085
39086
39087
39088
39089
39090
39091
39092
39093
39094
39095
39096
39097
39098
39099
39100
39101
39102
39103
39104
39105
39106
39107
39108
39109
39110
39111
39112
39113
39114
39115
39116
39117
39118
39119
39120
39121
39122
39123
39124
39125
39126
39127
39128
39129
39130
39131
39132
39133
39134
39135
39136
39137
39138
39139
39140
39141
39142
39143
39144
39145
39146
39147
39148
39149
39150
39151
39152
39153
39154
39155
39156
39157
39158
39159
39160
39161
39162
39163
39164
39165
39166
39167
39168
39169
39170
39171
39172
39173
39174
39175
39176
39177
39178
39179
39180
39181
39182
39183
39184
39185
39186
39187
39188
39189
39190
39191
39192
39193
39194
39195
39196
39197
39198
39199
39200
39201
39202
39203
39204
39205
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215
39216
39217
39218
39219
39220
39221
39222
39223
39224
39225
39226
39227
39228
39229
39230
39231
39232
39233
39234
39235
39236
39237
39238
39239
39240
39241
39242
39243
39244
39245
39246
39247
39248
39249
39250
39251
39252
39253
39254
39255
39256
39257
39258
39259
39260
39261
39262
39263
39264
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277
39278
39279
39280
39281
39282
39283
39284
39285
39286
39287
39288
39289
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303
39304
39305
39306
39307
39308
39309
39310
39311
39312
39313
39314
39315
39316
39317
39318
39319
39320
39321
39322
39323
39324
39325
39326
39327
39328
39329
39330
39331
39332
39333
39334
39335
39336
39337
39338
39339
39340
39341
39342
39343
39344
39345
39346
39347
39348
39349
39350
39351
39352
39353
39354
39355
39356
39357
39358
39359
39360
39361
39362
39363
39364
39365
39366
39367
39368
39369
39370
39371
39372
39373
39374
39375
39376
39377
39378
39379
39380
39381
39382
39383
39384
39385
39386
39387
39388
39389
39390
39391
39392
39393
39394
39395
39396
39397
39398
39399
39400
39401
39402
39403
39404
39405
39406
39407
39408
39409
39410
39411
39412
39413
39414
39415
39416
39417
39418
39419
39420
39421
39422
39423
39424
39425
39426
39427
39428
39429
39430
39431
39432
39433
39434
39435
39436
39437
39438
39439
39440
39441
39442
39443
39444
39445
39446
39447
39448
39449
39450
39451
39452
39453
39454
39455
39456
39457
39458
39459
39460
39461
39462
39463
39464
39465
39466
39467
39468
39469
39470
39471
39472
39473
39474
39475
39476
39477
39478
39479
39480
39481
39482
39483
39484
39485
39486
39487
39488
39489
39490
39491
39492
39493
39494
39495
39496
39497
39498
39499
39500
39501
39502
39503
39504
39505
39506
39507
39508
39509
39510
39511
39512
39513
39514
39515
39516
39517
39518
39519
39520
39521
39522
39523
39524
39525
39526
39527
39528
39529
39530
39531
39532
39533
39534
39535
39536
39537
39538
39539
39540
39541
39542
39543
39544
39545
39546
39547
39548
39549
39550
39551
39552
39553
39554
39555
39556
39557
39558
39559
39560
39561
39562
39563
39564
39565
39566
39567
39568
39569
39570
39571
39572
39573
39574
39575
39576
39577
39578
39579
39580
39581
39582
39583
39584
39585
39586
39587
39588
39589
39590
39591
39592
39593
39594
39595
39596
39597
39598
39599
39600
39601
39602
39603
39604
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636
39637
39638
39639
39640
39641
39642
39643
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653
39654
39655
39656
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668
39669
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680
39681
39682
39683
39684
39685
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702
39703
39704
39705
39706
39707
39708
39709
39710
39711
39712
39713
39714
39715
39716
39717
39718
39719
39720
39721
39722
39723
39724
39725
39726
39727
39728
39729
39730
39731
39732
39733
39734
39735
39736
39737
39738
39739
39740
39741
39742
39743
39744
39745
39746
39747
39748
39749
39750
39751
39752
39753
39754
39755
39756
39757
39758
39759
39760
39761
39762
39763
39764
39765
39766
39767
39768
39769
39770
39771
39772
39773
39774
39775
39776
39777
39778
39779
39780
39781
39782
39783
39784
39785
39786
39787
39788
39789
39790
39791
39792
39793
39794
39795
39796
39797
39798
39799
39800
39801
39802
39803
39804
39805
39806
39807
39808
39809
39810
39811
39812
39813
39814
39815
39816
39817
39818
39819
39820
39821
39822
39823
39824
39825
39826
39827
39828
39829
39830
39831
39832
39833
39834
39835
39836
39837
39838
39839
39840
39841
39842
39843
39844
39845
39846
39847
39848
39849
39850
39851
39852
39853
39854
39855
39856
39857
39858
39859
39860
39861
39862
39863
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875
39876
39877
39878
39879
39880
39881
39882
39883
39884
39885
39886
39887
39888
39889
39890
39891
39892
39893
39894
39895
39896
39897
39898
39899
39900
39901
39902
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912
39913
39914
39915
39916
39917
39918
39919
39920
39921
39922
39923
39924
39925
39926
39927
39928
39929
39930
39931
39932
39933
39934
39935
39936
39937
39938
39939
39940
39941
39942
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952
39953
39954
39955
39956
39957
39958
39959
39960
39961
39962
39963
39964
39965
39966
39967
39968
39969
39970
39971
39972
39973
39974
39975
39976
39977
39978
39979
39980
39981
39982
39983
39984
39985
39986
39987
39988
39989
39990
39991
39992
39993
39994
39995
39996
39997
39998
39999
40000
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
40021
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043
40044
40045
40046
40047
40048
40049
40050
40051
40052
40053
40054
40055
40056
40057
40058
40059
40060
40061
40062
40063
40064
40065
40066
40067
40068
40069
40070
40073 if (
proj.type == 175)
40074 {
40076 }
40077 if (
proj.type == 392)
40078 {
40080 }
40081 if (
proj.type == 499)
40082 {
40084 }
40085 if (
proj.type == 765)
40086 {
40089 }
40090 if (
proj.type == 966)
40091 {
40094 }
40096 {
40098 }
40099 if (
proj.type == 519)
40100 {
40103 }
40104 if (
proj.type == 520)
40105 {
40107 }
40108 if (
proj.type == 492)
40109 {
40112 }
40113 if (
proj.type == 498)
40114 {
40116 }
40117 if (
proj.type == 489)
40118 {
40120 }
40121 if (
proj.type == 486)
40122 {
40124 }
40125 if (
proj.type == 525)
40126 {
40128 }
40129 if (
proj.type == 488)
40130 {
40132 }
40133 if (
proj.type == 373)
40134 {
40137 }
40138 if (
proj.type == 375)
40139 {
40142 }
40143 if (
proj.type == 423)
40144 {
40146 }
40147 if (
proj.type == 346)
40148 {
40150 }
40151 if (
proj.type == 331)
40152 {
40154 }
40155 if (
proj.type == 254)
40156 {
40158 }
40159 if (
proj.type == 273)
40160 {
40162 }
40163 if (
proj.type == 335)
40164 {
40166 }
40167 if (
proj.type == 162)
40168 {
40171 }
40172 if (
proj.type == 377)
40173 {
40175 }
40176 if (
proj.type == 353)
40177 {
40180 }
40181 if (
proj.type == 324)
40182 {
40185 }
40186 if (
proj.type == 266)
40187 {
40190 }
40191 if (
proj.type == 319)
40192 {
40195 }
40196 if (
proj.type == 315)
40197 {
40200 }
40201 if (
proj.type == 313 &&
proj.height != 54)
40202 {
40205 }
40206 if (
proj.type == 314)
40207 {
40210 }
40211 if (
proj.type == 269)
40212 {
40215 }
40216 if (
proj.type == 268)
40217 {
40220 }
40221 if (
proj.type == 18)
40222 {
40225 }
40226 if (
proj.type == 16)
40227 {
40229 }
40230 if (
proj.type == 17 ||
proj.type == 31)
40231 {
40233 }
40234 if (
proj.type == 25 ||
proj.type == 26 ||
proj.type == 35 ||
proj.type == 63 ||
proj.type == 154)
40235 {
40238 }
40239 if (
proj.type == 947 ||
proj.type == 948)
40240 {
40243 }
40244 if (
proj.type == 28 ||
proj.type == 37 ||
proj.type == 75)
40245 {
40247 }
40248 if (
proj.type == 29 ||
proj.type == 470 ||
proj.type == 637)
40249 {
40251 }
40252 if (
proj.type == 43)
40253 {
40255 }
40256 if (
proj.type == 208)
40257 {
40260 }
40261 if (
proj.type == 209)
40262 {
40265 }
40266 if (
proj.type == 210)
40267 {
40270 }
40271 if (
proj.type == 251)
40272 {
40275 }
40276 if (
proj.type == 163 ||
proj.type == 310 ||
proj.type == 1009 ||
proj.type == 1010 ||
proj.type == 1011 ||
proj.type == 1008)
40277 {
40279 }
40280 if (
proj.type == 69 ||
proj.type == 70)
40281 {
40284 }
40286 if (
proj.type == 50 ||
proj.type == 53 ||
proj.type == 515 ||
proj.type == 870)
40287 {
40289 }
40290 if (
proj.type == 473)
40291 {
40294 }
40295 if (
proj.type == 72 ||
proj.type == 86 ||
proj.type == 87)
40296 {
40299 }
40300 if (
proj.type == 74)
40301 {
40303 }
40304 if (
proj.type == 99 ||
proj.type == 727 ||
proj.type == 1013 ||
proj.type == 1014)
40305 {
40307 }
40308 if (
proj.type == 655)
40309 {
40311 }
40312 if (
proj.type == 111)
40313 {
40316 }
40317 if (
proj.type == 875)
40318 {
40321 }
40322 if (
proj.type == 881)
40323 {
40326 }
40327 if (
proj.type == 934)
40328 {
40331 }
40332 if (
proj.type == 934)
40333 {
40336 }
40337 if (
proj.type == 884)
40338 {
40341 }
40342 if (
proj.type == 890)
40343 {
40346 }
40347 if (
proj.type == 891)
40348 {
40351 }
40352 if (
proj.type == 897)
40353 {
40356 }
40357 if (
proj.type == 899)
40358 {
40361 }
40362 if (
proj.type == 900)
40363 {
40366 }
40367 if (
proj.type == 334)
40368 {
40371 }
40372 if (
proj.type == 816)
40373 {
40376 }
40377 if (
proj.type == 821)
40378 {
40381 }
40382 if (
proj.type == 825)
40383 {
40386 }
40387 if (
proj.type == 854)
40388 {
40391 }
40392 if (
proj.type == 858)
40393 {
40396 }
40397 if (
proj.type == 859)
40398 {
40401 }
40402 if (
proj.type == 860)
40403 {
40406 }
40407 if (
proj.type == 958)
40408 {
40411 }
40412 if (
proj.type == 960)
40413 {
40416 }
40417 if (
proj.type == 956)
40418 {
40421 }
40422 if (
proj.type == 959)
40423 {
40424 num137 = -14 + ((proj.spriteDirection == -1) ? (-8) : 0);
40426 }
40427 if (
proj.type == 994)
40428 {
40431 }
40432 if (
proj.type == 998)
40433 {
40436 }
40437 if (
proj.type == 1003)
40438 {
40439 num137 = -18 + ((proj.spriteDirection == 1) ? 8 : 0);
40441 }
40442 if (
proj.type == 1004)
40443 {
40444 num137 = -18 + ((proj.spriteDirection == 1) ? 6 : 0);
40446 }
40447 if (
proj.type == 200)
40448 {
40451 }
40452 if (
proj.type == 211)
40453 {
40456 }
40457 if (
proj.type == 236)
40458 {
40461 }
40462 if (
proj.type >= 191 &&
proj.type <= 194)
40463 {
40465 num137 = ((proj.direction != 1) ? (-22) : (-10));
40466 }
40467 if (
proj.type >= 390 &&
proj.type <= 392)
40468 {
40470 }
40471 if (
proj.type == 112)
40472 {
40475 }
40477 if (
proj.type == 517 ||
proj.type == 681)
40478 {
40480 }
40481 if (
proj.type == 516)
40482 {
40484 }
40485 if (
proj.type == 127)
40486 {
40488 }
40489 if (
proj.type == 155)
40490 {
40493 }
40494 if (
proj.type == 397)
40495 {
40499 }
40500 if (
proj.type == 398)
40501 {
40503 }
40505 SpriteEffects
dir = (SpriteEffects)0;
40506 if (
proj.spriteDirection == -1)
40507 {
40508 dir = (SpriteEffects)1;
40509 }
40510 if (
proj.type == 681 &&
proj.velocity.X > 0
f)
40511 {
40512 dir = (SpriteEffects)(
dir ^ 1);
40513 }
40514 if (
proj.type == 221)
40515 {
40517 {
40523 {
40525 }
40527 {
40529 }
40531 {
40533 }
40535 {
40537 }
40539 {
40541 }
40543 {
40545 }
40547 {
40549 }
40551 {
40553 }
40555 {
40557 }
40564 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137 -
num140,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY -
num141), (Rectangle?)
new Rectangle(0,
y11,
TextureAssets.
Projectile[
proj.type].Width(),
num143), alpha,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
40565 }
40566 }
40567 Color
val2 =
default(Color);
40568 Vector2
val5 =
default(Vector2);
40570 {
40577 Vector2
zero = Vector2.Zero;
40579 if (
proj.type == 503)
40580 {
40582 }
40583 if (
proj.type == 686 ||
proj.type == 711)
40584 {
40585 origin30.Y = rectangle23.Height - 70;
40586 }
40587 if (
proj.type == 438)
40588 {
40589 rectangle23.Y = 0;
40590 }
40591 if (
proj.type == 452)
40592 {
40593 rectangle23.Y = 0;
40594 }
40595 if (
proj.type == 408)
40596 {
40598 }
40599 if (
proj.type == 636)
40600 {
40602 }
40603 if (
proj.type == 638)
40604 {
40606 }
40607 if (
proj.type == 640 ||
proj.type == 639 ||
proj.type == 710)
40608 {
40610 }
40611 if (
proj.type == 700)
40612 {
40613 origin30.X = ((proj.spriteDirection == 1) ? (
rectangle23.Width - 20) : 20);
40614 }
40615 if (
proj.type == 965 ||
proj.type == 964)
40616 {
40617 origin30.X = ((proj.spriteDirection == 1) ? (
rectangle23.Width - 20) : 20);
40618 }
40619 if (
proj.type == 872)
40620 {
40621 rectangle23.Width /= 2;
40623 }
40624 if (
proj.type == 933)
40625 {
40628 {
40634 }
40635 }
40636 if (
proj.type == 833 &&
proj.frame != 8)
40637 {
40638 zero.Y += proj.height / 2;
40641 origin30.X -= 7 * ((
Enum)
dir).HasFlag((
Enum)(object)(SpriteEffects)1).ToDirectionInt();
40642 }
40643 if ((
proj.type == 834 ||
proj.type == 835) && proj.frame != 10)
40644 {
40645 zero.Y += proj.height / 2;
40648 origin30.X -= 2 * ((
Enum)
dir).HasFlag((
Enum)(object)(SpriteEffects)1).ToDirectionInt();
40649 }
40658 if (
proj.type == 909)
40659 {
40663 }
40664 else if (
proj.type == 503)
40665 {
40669 }
40670 else if (
proj.type == 261)
40671 {
40676 }
40677 else if (
proj.type == 833 ||
proj.type == 834 ||
proj.type == 835)
40678 {
40683 }
40684 else if (
proj.type == 818)
40685 {
40690 }
40691 else if (
proj.type == 729)
40692 {
40697 }
40698 else if (
proj.type == 977)
40699 {
40704 }
40705 else if (
proj.type == 1001)
40706 {
40711 dir = (SpriteEffects)((
proj.spriteDirection != 1) ? 2 : 0);
40712 }
40713 else if (
proj.type == 976)
40714 {
40722 }
40723 else if (
proj.type == 686 ||
proj.type == 711)
40724 {
40729 }
40731 {
40736 }
40737 else if (
proj.type == 671)
40738 {
40743 }
40744 else if (
proj.type == 811)
40745 {
40751 }
40752 else if (
proj.type == 814)
40753 {
40759 }
40760 else if (
proj.type == 755)
40761 {
40766 }
40767 else if (
proj.type == 700)
40768 {
40772 }
40773 else if (
proj.type == 965 ||
proj.type == 964)
40774 {
40778 }
40779 else if (
proj.type == 731)
40780 {
40785 }
40786 else if (
proj.type == 864)
40787 {
40793 }
40794 else if (
proj.type == 916)
40795 {
40803 }
40804 else if (
proj.type == 873)
40805 {
40811 }
40812 else if (
proj.type == 931)
40813 {
40819 }
40820 else if (
proj.type == 933)
40821 {
40827 }
40828 else if (
proj.type == 872)
40829 {
40836 }
40837 else if (
proj.type == 664 ||
proj.type == 666 ||
proj.type == 668)
40838 {
40842 }
40843 else if (
proj.type == 582 ||
proj.type == 902)
40844 {
40845 if (
proj.ai[2] == 1
f)
40846 {
40848 }
40853 }
40854 else if (
proj.type == 675)
40855 {
40859 }
40860 else if (
proj.type == 638)
40861 {
40865 }
40866 else if (
proj.type == 660)
40867 {
40874 }
40875 else if (
proj.type == 684)
40876 {
40880 }
40881 else if (
proj.type == 639)
40882 {
40886 }
40887 else if (
proj.type == 710)
40888 {
40893 }
40894 else if (
proj.type == 640)
40895 {
40899 }
40900 else if (
proj.type == 436)
40901 {
40904 }
40905 else if (
proj.type == 424 ||
proj.type == 425 ||
proj.type == 426)
40906 {
40910 }
40911 else if (
proj.type == 438)
40912 {
40916 }
40917 else if (
proj.type == 452)
40918 {
40922 }
40923 else if (
proj.type == 454)
40924 {
40928 }
40929 else if (
proj.type == 462)
40930 {
40934 }
40935 else if (
proj.type == 661)
40936 {
40940 }
40941 else if (
proj.type == 706)
40942 {
40947 }
40948 else if (
proj.type == 585)
40949 {
40953 }
40954 else if (
proj.type == 459)
40955 {
40959 {
40961 }
40963 }
40964 else if (
proj.type == 709)
40965 {
40969 {
40971 }
40973 }
40974 else if (
proj.type == 532)
40975 {
40980 }
40981 else if (
proj.type == 592)
40982 {
40986 }
40987 else if (
proj.type == 601)
40988 {
40992 }
40993 else if (
proj.type == 636)
40994 {
40998 }
40999 else if (
proj.type == 680)
41000 {
41004 }
41005 else if (
proj.type == 533)
41006 {
41008 {
41011 if (
proj.ai[0] != 7
f)
41012 {
41014 }
41015 }
41016 else
41017 {
41019 }
41020 }
41024 {
41026 {
41027 continue;
41028 }
41030 if (
proj.type == 408 ||
proj.type == 435 ||
proj.type == 682 ||
proj.type == 732 ||
proj.type == 731)
41031 {
41033 }
41034 else if (
proj.type == 436)
41035 {
41037 }
41038 else if (
proj.type >= 424 &&
proj.type <= 426)
41039 {
41041 }
41042 else if (
proj.type == 640 ||
proj.type == 639)
41043 {
41045 }
41046 else if (
proj.type == 671)
41047 {
41049 }
41050 else if (
proj.type == 811)
41051 {
41053 }
41054 else if (
proj.type == 814)
41055 {
41057 }
41058 else if (
proj.type == 261)
41059 {
41061 }
41063 {
41065 }
41067 if (
proj.type == 438)
41068 {
41071 }
41072 else if (
proj.type == 755)
41073 {
41075 }
41076 else if (
proj.type == 873)
41077 {
41081 }
41082 else if (
proj.type == 931)
41083 {
41086 }
41087 else if (
proj.type == 872)
41088 {
41093 {
41095 }
41096 }
41097 else if (
proj.type == 864)
41098 {
41101 }
41102 else if (
proj.type == 682)
41103 {
41105 }
41106 else if (
proj.type == 686)
41107 {
41109 {
41110 continue;
41111 }
41114 }
41115 else if (
proj.type == 711)
41116 {
41118 {
41119 continue;
41120 }
41122 color108 = ((!(
num154 < 0.5f)) ? Color.Lerp(
new Color(128, 0, 255, 180), Color.Black, Utils.GetLerpValue(0.5
f, 1
f,
num154)) : Color.Lerp(
color108,
new Color(128, 0, 255, 180), Utils.GetLerpValue(0
f, 0.5
f,
num154)));
41123 }
41124 else if (
proj.type == 684)
41125 {
41127 {
41131 }
41135 }
41136 else if (
proj.type == 706 ||
proj.type == 710)
41137 {
41141 }
41142 else if (
proj.type == 818)
41143 {
41153 }
41154 else if (
proj.type == 833 ||
proj.type == 834 ||
proj.type == 835)
41155 {
41160 }
41161 else if (
proj.type == 592)
41162 {
41165 }
41166 else if (
proj.type == 640)
41167 {
41170 }
41171 else if (
proj.type >= 424 &&
proj.type <= 426)
41172 {
41176 }
41177 else if (
proj.type == 964 ||
proj.type == 965)
41178 {
41180 }
41183 {
41185 }
41191 {
41194 }
41196 {
41197 continue;
41198 }
41199 if (
proj.type == 916)
41200 {
41207 {
41209 }
41215 }
41216 if (
proj.type == 976)
41217 {
41218 int num161 = value116.Height + 2;
41220 value116.Y %=
num161 * 7;
41225 }
41226 if (
proj.type == 933)
41227 {
41232 }
41235 }
41236 if (
proj.type == 661)
41237 {
41241 {
41246 val5 =
default(Vector2);
41248 }
41249 }
41250 if (
proj.type == 864)
41251 {
41257 {
41262 val5 =
default(Vector2);
41264 }
41265 }
41266 if (
proj.type == 873 ||
proj.type == 931)
41267 {
41270 if (
proj.type == 931)
41271 {
41273 }
41287 if (
proj.type == 931)
41288 {
41291 }
41296 }
41297 if (
proj.type == 755)
41298 {
41302 {
41307 val5 =
default(Vector2);
41309 }
41310 }
41311 else if (
proj.type == 684)
41312 {
41313 float x12 = (
proj.localAI[0] * ((float)
Math.PI * 2
f) / 30
f).ToRotationVector2().X;
41318 {
41323 val5 =
default(Vector2);
41325 }
41326 }
41328 {
41333 {
41334 flag28 |=
player2.ownedProjectileCounts[722] > 0 && player2.itemAnimation >=
player2.itemAnimationMax;
41335 flag28 |= player2.itemAnimation == 0;
41336 flag28 &= player2.velocity.Y == 0
f;
41337 }
41340 {
41344 {
41347 {
41349 break;
41350 }
41351 }
41353 {
41357 {
41359 }
41360 }
41361 }
41363 {
41367 {
41369 }
41371 if (
proj.oldPos[4] != Vector2.Zero)
41372 {
41375 {
41376 EntitySpriteDraw(
value109, Vector2.Lerp(
proj.oldPos[4],
proj.position,
num171) +
proj.Size / 2
f -
screenPosition +
new Vector2(0
f,
proj.gfxOffY),
rectangle23,
golfTrailColor *
num171,
proj.rotation,
origin30,
proj.scale *
MathHelper.Lerp(0.7f, 1.5f,
num171),
dir);
41377 }
41378 }
41380 }
41381 }
41382 if (
proj.type == 964 ||
proj.type == 965)
41383 {
41385 if (
proj.type == 965)
41386 {
41387 color116 = Color.Lerp(Color.Red, Color.White, 0.5f);
41388 }
41390 float num172 = ((proj.type == 964) ? 60 : 30);
41392 {
41397 val5 =
default(Vector2);
41399 }
41400 }
41404 if (
proj.type == 640)
41405 {
41407 }
41408 if (
proj.type == 684)
41409 {
41411 }
41412 if (
proj.type == 873)
41413 {
41415 }
41416 if (
proj.type == 931)
41417 {
41419 }
41420 if (
proj.type == 872)
41421 {
41424 }
41425 if (
proj.type == 818)
41426 {
41428 }
41429 if (
proj.type == 916)
41430 {
41432 }
41433 if (
proj.type == 964 ||
proj.type == 965)
41434 {
41436 }
41437 if (
proj.type == 933)
41438 {
41439 float t2 =
proj.localAI[0];
41442 }
41444 if (
proj.type == 894)
41445 {
41449 }
41450 if (
proj.type == 503)
41451 {
41453 }
41454 else if (
proj.type == 533)
41455 {
41457 }
41458 else if (
proj.type == 261)
41459 {
41463 {
41465 }
41467 }
41468 else if (
proj.type == 601)
41469 {
41470 Color
white2 = Color.White;
41473 }
41475 {
41477 }
41478 if (
proj.type == 933)
41479 {
41480 float t3 =
proj.localAI[0];
41482 EntitySpriteDraw(
value109,
proj.Center +
zero -
screenPosition +
new Vector2(0
f,
proj.gfxOffY),
rectangle23,
new Color(255, 255, 255, 127) *
proj.Opacity *
num179,
rotation23,
origin30,
num174 * 1.25f,
dir);
41486 DrawPrettyStarSparkle(
proj.Opacity,
dir,
proj.Center +
zero -
screenPosition +
new Vector2(0
f,
proj.gfxOffY) + (
proj.rotation - (
float)
Math.PI / 2
f).ToRotationVector2() *
finalFractalProfile.trailWidth, Color.White *
num179, trailColor *
num179,
proj.localAI[0], 15
f, 30
f, 30
f, 45
f, 0
f,
new Vector2(5
f, 2
f), Vector2.One);
41487 }
41488 }
41489 else if (
proj.type == 672)
41490 {
41492 if (
proj.localAI[1] == 0
f)
41493 {
41494 position29.Y += 60
f;
41497 {
41501 EntitySpriteDraw(
TextureAssets.
MagicPixel.Value,
position29,
null,
new Color(0.4
f, 0.17
f, 0.4
f, 0
f) * (
value119 *
num182) * 1.3
f, 0
f,
new Vector2((
float)
TextureAssets.
MagicPixel.Width() / 2
f, (
float)
TextureAssets.
MagicPixel.Height()),
new Vector2((
float)
Math.Sqrt(
value119) * 100
f,
value119 * 2
f), (SpriteEffects)0);
41502 }
41503 }
41504 else if (
proj.localAI[1] == 1
f)
41505 {
41506 _ =
proj.localAI[0] / 300
f;
41511 }
41512 else if (
proj.localAI[1] == 2
f)
41513 {
41517 }
41518 }
41519 else
41520 {
41521 if (
proj.type == 713)
41522 {
41523 return;
41524 }
41525 if (
proj.type == 754)
41526 {
41529 rectangle24.Width -= 2;
41530 rectangle24.Height -= 2;
41531 Vector2
origin32 =
default(Vector2);
41536 Vector2 top =
proj.Top;
41537 if (
proj.ai[1] == 2
f)
41538 {
41540 rectangle24.Width -= 2;
41541 rectangle24.Height -= 2;
41545 return;
41546 }
41548 {
41554 {
41555 value121.Height = (int)
num188;
41556 }
41557 alpha12 =
proj.GetAlpha(Lighting.GetColor((
int)(vector121.X + (float)(
value121.Width / 2)) / 16, (
int)((vector121.Y + (float)(
value121.Height / 2)) / 16
f)));
41560 {
41561 rectangle24.Y += rectangle24.Height + 2;
41562 }
41563 }
41565 rectangle24.Width -= 2;
41566 rectangle24.Height -= 2;
41570 return;
41571 }
41572 if (
proj.type == 12 ||
proj.type == 728 ||
proj.type == 955)
41573 {
41581 Vector2
origin10 =
default(Vector2);
41589 Color
color119 = Color.Blue * 0.2f;
41590 Color
color120 = Color.White * 0.5f;
41594 {
41599 }
41600 if (
proj.type == 728)
41601 {
41606 }
41616 val5 =
default(Vector2);
41621 val5 =
default(Vector2);
41626 val5 =
default(Vector2);
41628 Vector2
vector124 = proj.Center - proj.velocity * 0.5f;
41630 {
41635 {
41637 }
41639 }
41641 return;
41642 }
41643 if (
proj.type == 756)
41644 {
41647 Vector2
origin11 =
default(Vector2);
41650 Vector2
scale16 =
default(Vector2);
41658 EntitySpriteDraw(
TextureAssets.
Extra[98].Value,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY) -
proj.velocity *
proj.scale * 0.5f,
null,
proj.GetAlpha(
new Color(
vector126.X,
vector126.Y,
vector126.Z,
vector126.W)) * 1
f,
proj.rotation + (
float)
Math.PI / 2
f,
TextureAssets.
Extra[98].Value.Size() / 2
f,
proj.scale * 0.9f,
dir);
41660 return;
41661 }
41662 if (
proj.type == 961)
41663 {
41666 Vector2
origin12 =
default(Vector2);
41677 EntitySpriteDraw(
TextureAssets.
Extra[98].Value,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY) -
proj.velocity *
proj.scale * 0.5f,
null,
proj.GetAlpha(
new Color(
vector129.X,
vector129.Y,
vector129.Z,
vector129.W)) * 1
f,
proj.rotation + (
float)
Math.PI / 2
f,
TextureAssets.
Extra[98].Value.Size() / 2
f,
proj.scale * 0.9f,
dir);
41678 Color
color124 =
proj.GetAlpha(Color.White) * Utils.Remap(
proj.ai[0], 0
f, 20
f, 0.5f, 0
f);
41681 {
41685 val5 =
default(Vector2);
41687 }
41689 return;
41690 }
41691 if (
proj.type == 723 ||
proj.type == 726 ||
proj.type == 725 ||
proj.type == 724 ||
proj.type == 9)
41692 {
41700 Vector2
origin14 =
default(Vector2);
41702 _ = Color.White * 0.2f;
41712 Color
color126 = Color.Blue * 0.1f;
41713 Color
color127 = Color.White * 0.3f;
41718 float num200 = proj.scale + 0.1f;
41719 if (
proj.type == 726)
41720 {
41729 }
41730 if (
proj.type == 725)
41731 {
41742 }
41743 if (
proj.type == 724)
41744 {
41745 Color.Lerp(Color.Black, Color.Orange, 0.75f);
41746 Color
color128 = Color.Lerp(Color.Black, Color.Yellow, 0.5f);
41747 Color
val16 = Color.Orange * 0.75f;
41756 }
41757 if (
proj.type == 9)
41758 {
41771 Color
value133 = Color.Lerp(Color.Gold, Color.White, 0.5f);
41775 Color gold = Color.Gold;
41780 Color
value136 =
new Color(255, 255, 255, 0) * 0.5f * 0.3f;
41784 {
41786 }
41794 }
41799 {
41803 }
41807 val5 =
default(Vector2);
41812 val5 =
default(Vector2);
41817 val5 =
default(Vector2);
41819 Vector2
vector132 = proj.Center - proj.velocity * 0.5f;
41821 {
41826 {
41828 }
41830 }
41832 return;
41833 }
41834 if (
proj.type == 674)
41835 {
41837 Vector2
origin15 =
default(Vector2);
41840 Vector2
one = Vector2.One;
41841 one =
new Vector2(4
f, 1
f) * 1.4f;
41847 if (
proj.ai[0] < 30
f)
41848 {
41850 }
41851 else if (
proj.ai[0] < 40
f)
41852 {
41854 }
41860 {
41862 }
41865 {
41868 }
41870 {
41874 }
41881 return;
41882 }
41883 if (
proj.type == 440 ||
proj.type == 449 ||
proj.type == 606)
41884 {
41885 Rectangle
value137 =
default(Rectangle);
41889 {
41894 if (
proj.type == 606)
41895 {
41898 }
41899 if (
proj.ai[1] == 1
f)
41900 {
41902 }
41904 {
41910 }
41911 }
41912 return;
41913 }
41914 if (
proj.type == 85)
41915 {
41917 return;
41918 }
41919 if (
proj.type == 687)
41920 {
41936 {
41937 float num219 = Utils.RandomFloat(
ref seed) * 0.25f - 0.125f;
41944 {
41945 transparent = ((
num220 < 0.1f) ? Color.Lerp(Color.Transparent,
color134, Utils.GetLerpValue(0
f, 0.1f,
num220,
clamped:
true)) : ((
num220 < 0.35
f) ?
color134 : ((
num220 < 0.7
f) ? Color.Lerp(
color134,
color135, Utils.GetLerpValue(0.35
f, 0.7
f,
num220,
clamped:
true)) : ((
num220 < 0.9
f) ? Color.Lerp(
color135,
color136, Utils.GetLerpValue(0.7
f, 0.9
f,
num220,
clamped:
true)) : ((!(
num220 < 1
f)) ? Color.Transparent : Color.Lerp(
color136, Color.Transparent, Utils.GetLerpValue(0.9
f, 1
f,
num220,
clamped:
true)))))));
41952 }
41953 }
41954 return;
41955 }
41956 if (
proj.type == 651)
41957 {
41959 {
41960 return;
41961 }
41963 Point point = Utils.ToPoint(
new Vector2(
proj.ai[0],
proj.ai[1]));
41964 Point
point2 =
proj.Center.ToTileCoordinates();
41974 {
41977 }
41979 {
41982 }
41984 {
41987 }
41989 {
41992 }
41994 {
41996 }
41999 {
42001 Rectangle
value140 =
default(Rectangle);
42004 {
42006 }
42008 value140.Y = 18;
42010 return;
42011 }
42012 if (point.X ==
point2.X)
42013 {
42014 int num225 = point2.Y - point.Y;
42017 Rectangle
value141 =
default(Rectangle);
42020 {
42022 }
42024 value141.Y = 18;
42027 {
42029 value141.Y = 0;
42030 value141.X = 90;
42032 {
42034 }
42036 value141.Y = 18;
42038 }
42042 {
42044 }
42046 value141.Y = 18;
42048 return;
42049 }
42050 if (point.Y ==
point2.Y)
42051 {
42052 int num228 = point2.X - point.X;
42055 Rectangle
value142 =
default(Rectangle);
42058 {
42060 }
42062 value142.Y = 18;
42065 {
42067 value142.Y = 0;
42068 value142.X = 180;
42070 {
42072 }
42074 value142.Y = 18;
42076 }
42080 {
42082 }
42084 value142.Y = 18;
42086 return;
42087 }
42092 Point
p =
default(Point);
42094 bool flag32 = player3.direction == 1;
42099 {
42100 p.X = point.X;
42104 }
42105 else
42106 {
42107 p.Y = point.Y;
42111 }
42113 Rectangle
value143 =
default(Rectangle);
42116 {
42117 value143.X = ((
num235 > 0) ? 36 : 144);
42118 }
42119 else
42120 {
42121 value143.X = ((
num235 > 0) ? 72 : 18);
42122 }
42124 {
42126 }
42128 value143.Y = 18;
42131 {
42133 {
42134 break;
42135 }
42137 {
42139 }
42140 else
42141 {
42143 }
42145 {
42147 value143.Y = 0;
42149 {
42150 value143.X = 180;
42151 }
42152 else
42153 {
42154 value143.X = 90;
42155 }
42157 {
42159 }
42161 value143.Y = 18;
42163 }
42164 }
42166 {
42171 }
42172 else
42173 {
42178 }
42182 {
42183 value143.X += ((
num231 > 0) ? 144 : 36);
42185 }
42186 else
42187 {
42188 value143.X += ((
num231 > 0) ? 36 : 144);
42190 }
42192 {
42194 }
42196 value143.Y = 18;
42199 {
42201 {
42202 break;
42203 }
42205 {
42207 }
42208 else
42209 {
42211 }
42213 {
42215 value143.Y = 0;
42217 {
42218 value143.X = 90;
42219 }
42220 else
42221 {
42222 value143.X = 180;
42223 }
42225 {
42227 }
42229 value143.Y = 18;
42231 }
42232 }
42236 {
42238 }
42239 else
42240 {
42241 value143.X += ((
num231 > 0) ? 144 : 36);
42242 }
42244 {
42246 }
42248 value143.Y = 18;
42250 return;
42251 }
42252 if (
proj.type == 586)
42253 {
42255 if (
proj.ai[0] >= 100
f)
42256 {
42258 }
42260 {
42262 }
42263 if (
proj.ai[0] >= 500
f)
42264 {
42266 }
42273 {
42278 val5 =
default(Vector2);
42283 }
42285 {
42291 val5 =
default(Vector2);
42296 }
42297 return;
42298 }
42299 if (
proj.type == 536 ||
proj.type == 607)
42300 {
42305 return;
42306 }
42307 if (
proj.type == 591)
42308 {
42311 Vector2
scale17 =
default(Vector2);
42315 bool num451 = proj.velocity.X >= 0
f;
42328 return;
42329 }
42330 if (
proj.type == 688 ||
proj.type == 689 ||
proj.type == 690)
42331 {
42342 {
42343 case 688:
42346 break;
42347 case 689:
42350 break;
42351 case 690:
42354 break;
42355 }
42358 {
42360 }
42362 {
42368 }
42369 return;
42370 }
42371 if (
proj.type == 694 ||
proj.type == 695 ||
proj.type == 696)
42372 {
42378 if ((uint)(
proj.type - 694) <= 1
u)
42379 {
42381 }
42385 return;
42386 }
42387 if (
proj.type == 409)
42388 {
42396 {
42402 EntitySpriteDraw(
value149,
proj.oldPos[
num248] +
new Vector2((
float)
proj.width, (
float)
proj.height) / 2
f -
screenPosition +
new Vector2(0
f,
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y14,
value149.Width,
num245),
newColor,
proj.rotation,
new Vector2((
float)
value149.Width / 2
f, (
float)
num245 / 2
f),
MathHelper.Lerp(
proj.scale,
value150, (
float)
num248 / 15
f),
dir, 0
f);
42403 }
42404 EntitySpriteDraw(
value149,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y14,
value149.Width,
num245),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)
value149.Width / 2
f, (
float)
num245 / 2
f),
proj.scale,
dir, 0
f);
42405 return;
42406 }
42407 if (
proj.type == 437)
42408 {
42416 {
42422 EntitySpriteDraw(
value151,
proj.oldPos[
num252] +
new Vector2((
float)
proj.width, (
float)
proj.height) / 2
f -
screenPosition +
new Vector2(0
f,
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y15,
value151.Width,
num249),
newColor2,
proj.rotation,
new Vector2((
float)
value151.Width / 2
f, (
float)
num249 / 2
f),
MathHelper.Lerp(
proj.scale,
value152, (
float)
num252 / 15
f),
dir, 0
f);
42423 }
42424 EntitySpriteDraw(
value151,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y15,
value151.Width,
num249), Color.White,
proj.rotation,
new Vector2((
float)
value151.Width / 2
f, (
float)
num249 / 2
f),
proj.scale + 0.2f,
dir, 0
f);
42425 EntitySpriteDraw(
value151,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y15,
value151.Width,
num249),
proj.GetAlpha(Color.White),
proj.rotation,
new Vector2((
float)
value151.Width / 2
f, (
float)
num249 / 2
f),
proj.scale + 0.2f,
dir, 0
f);
42426 return;
42427 }
42428 if (
proj.type == 384 ||
proj.type == 386)
42429 {
42433 EntitySpriteDraw(
value153,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y16,
value153.Width,
num253),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)
value153.Width / 2
f, (
float)
num253 / 2
f),
proj.scale,
dir, 0
f);
42434 return;
42435 }
42436 if (
proj.type == 439 ||
proj.type == 460 ||
proj.type == 600 ||
proj.type == 615 ||
proj.type == 630 ||
proj.type == 633 ||
proj.type == 705 ||
proj.type == 714)
42437 {
42440 {
42441 if (
proj.type == 705)
42442 {
42443 dir = (SpriteEffects)(
dir | 2);
42444 }
42445 if (
proj.type == 615 ||
proj.type == 714)
42446 {
42448 {
42449 dir = (SpriteEffects)2;
42450 }
42451 else if (
player[
proj.owner].direction == -1)
42452 {
42453 dir = (SpriteEffects)3;
42454 }
42455 }
42456 else if (
proj.type == 600 ||
proj.type == 439)
42457 {
42459 {
42460 dir = (SpriteEffects)1;
42461 }
42462 else if (
player[
proj.owner].direction == -1)
42463 {
42464 dir = (SpriteEffects)0;
42465 }
42466 }
42467 }
42473 {
42475 if ((
double)
num256 < 0.03)
42476 {
42478 }
42482 }
42484 {
42486 if ((
double)
num257 < 0.03)
42487 {
42489 }
42493 }
42494 if (
proj.type == 714)
42495 {
42499 }
42500 EntitySpriteDraw(
value154,
vector140, (Rectangle?)
new Rectangle(0,
y17,
value154.Width,
num254),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)
value154.Width / 2
f, (
float)
num254 / 2
f),
proj.scale,
dir, 0
f);
42501 if (
proj.type == 439)
42502 {
42503 EntitySpriteDraw(
TextureAssets.
GlowMask[35].Value,
vector140, (Rectangle?)
new Rectangle(0,
y17,
value154.Width,
num254),
new Color(255, 255, 255, 0) *
num255,
proj.rotation,
new Vector2((
float)
value154.Width / 2
f, (
float)
num254 / 2
f),
proj.scale,
dir, 0
f);
42504 }
42505 else if (
proj.type == 714)
42506 {
42510 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
vector140, (Rectangle?)
new Rectangle(0,
y17,
value154.Width,
num254),
color144 *
num255,
proj.rotation,
new Vector2((
float)
value154.Width / 2
f, (
float)
num254 / 2
f),
proj.scale,
dir, 0
f);
42511 }
42512 else if (
proj.type == 615)
42513 {
42514 EntitySpriteDraw(
TextureAssets.
GlowMask[192].Value,
vector140, (Rectangle?)
new Rectangle(0,
y17,
value154.Width,
num254),
new Color(255, 255, 255, 127) *
num255,
proj.rotation,
new Vector2((
float)
value154.Width / 2
f, (
float)
num254 / 2
f),
proj.scale,
dir, 0
f);
42515 }
42516 else if (
proj.type == 630)
42517 {
42518 EntitySpriteDraw(
TextureAssets.
GlowMask[200].Value,
vector140, (Rectangle?)
new Rectangle(0,
y17,
value154.Width,
num254),
new Color(255, 255, 255, 127) *
num255,
proj.rotation,
new Vector2((
float)
value154.Width / 2
f, (
float)
num254 / 2
f),
proj.scale,
dir, 0
f);
42519 if (
proj.localAI[0] > 0
f)
42520 {
42521 int frameY = 6 - (int)(
proj.localAI[0] / 1
f);
42523 EntitySpriteDraw(
value154,
vector140 + Vector2.Normalize(
proj.velocity) * 2
f,
value154.Frame(1, 6, 0, frameY),
new Color(255, 255, 255, 127) *
num255,
proj.rotation,
new Vector2((
float)(((
Enum)
dir).
HasFlag((
Enum)(
object)(SpriteEffects)1) ?
value154.Width : 0), (float)
num254 / 2
f - 2
f),
proj.scale,
dir);
42524 }
42525 }
42526 else if (
proj.type == 600)
42527 {
42530 EntitySpriteDraw(
TextureAssets.
GlowMask[173].Value,
vector140, (Rectangle?)
new Rectangle(0,
y17,
value154.Width,
num254),
portalColor,
proj.rotation,
new Vector2((
float)
value154.Width / 2
f, (
float)
num254 / 2
f),
proj.scale,
dir, 0
f);
42531 }
42532 else if (
proj.type == 460)
42533 {
42535 {
42536 dir = (SpriteEffects)(
dir | 2);
42537 }
42538 EntitySpriteDraw(
TextureAssets.
GlowMask[102].Value,
vector140, (Rectangle?)
new Rectangle(0,
y17,
value154.Width,
num254),
new Color(255, 255, 255, 0),
proj.rotation - (
float)
Math.PI / 2
f,
new Vector2((
float)
value154.Width / 2
f, (
float)
num254 / 2
f),
proj.scale,
dir, 0
f);
42539 if (
proj.ai[0] > 180
f &&
Main.projectile[(
int)
proj.ai[1]].type == 461)
42540 {
42542 }
42543 }
42544 else if (
proj.type == 633)
42545 {
42547 if (
proj.ai[0] > 120
f)
42548 {
42550 }
42552 {
42554 Vector2
unitY = Vector2.UnitY;
42556 val5 =
default(Vector2);
42557 EntitySpriteDraw(
texture5,
vector140 +
unitY.RotatedBy(
radians15,
val5) *
num258, (Rectangle?)
new Rectangle(0,
y17,
value154.Width,
num254),
proj.GetAlpha(
projectileColor).MultiplyRGBA(
new Color(255, 255, 255, 0)) * 0.03
f,
proj.rotation,
new Vector2((
float)
value154.Width / 2
f, (
float)
num254 / 2
f),
proj.scale,
dir, 0
f);
42558 }
42559 }
42560 return;
42561 }
42562 if (
proj.type == 442)
42563 {
42568 EntitySpriteDraw(
value155,
position17, (Rectangle?)
new Rectangle(0,
y18,
value155.Width,
num260),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)
value155.Width / 2
f, (
float)
num260 / 2
f),
proj.scale,
dir, 0
f);
42569 EntitySpriteDraw(
TextureAssets.
GlowMask[37].Value,
position17, (Rectangle?)
new Rectangle(0,
y18,
value155.Width,
num260),
new Color(255, 255, 255, 0) * (1
f - (
float)
proj.alpha / 255
f),
proj.rotation,
new Vector2((
float)
value155.Width / 2
f, (
float)
num260 / 2
f),
proj.scale,
dir, 0
f);
42570 return;
42571 }
42572 if (
proj.type == 447)
42573 {
42580 Rectangle
value158 =
default(Rectangle);
42586 {
42588 }
42590 {
42592 {
42594 }
42595 EntitySpriteDraw(
TextureAssets.
Extra[4].Value,
vector141 + Vector2.UnitY * (
float)(
num262 - 1), (Rectangle?)
new Rectangle(0,
num263 +
num262 - 1,
value157.Width, 1),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)(
value157.Width / 2), 0
f),
new Vector2(1
f, (
float)
num264),
dir, 0
f);
42596 }
42600 return;
42601 }
42602 if (
proj.type == 455)
42603 {
42604 if (
proj.velocity == Vector2.Zero)
42605 {
42606 return;
42607 }
42618 {
42620 Rectangle
value162 =
default(Rectangle);
42623 {
42625 {
42627 }
42631 value162.Y += 16;
42633 {
42634 value162.Y = 0;
42635 }
42636 }
42637 }
42639 return;
42640 }
42641 if (
proj.type == 461)
42642 {
42643 if (
proj.velocity == Vector2.Zero)
42644 {
42645 return;
42646 }
42657 vector143 += proj.velocity * proj.scale * 10.5f;
42660 {
42663 {
42665 {
42667 }
42671 }
42672 }
42673 EntitySpriteDraw(
sourceRectangle: (Rectangle?)
new Rectangle(0, 56,
value163.Width, 22), texture:
value163, position:
vector143 -
screenPosition +
vector142, color:
color146, rotation:
proj.rotation, origin:
value163.Frame().Top(), scale:
proj.scale, effects: (SpriteEffects)0,
worthless: 0
f);
42674 return;
42675 }
42676 if (
proj.type == 632)
42677 {
42678 if (!(
proj.velocity == Vector2.Zero))
42679 {
42687 vector144 += proj.velocity * proj.scale * 10.5f;
42691 DelegateMethods.f_1 = 1
f;
42692 DelegateMethods.c_1 =
color147 * 0.75f *
proj.Opacity;
42695 DelegateMethods.c_1 =
new Color(255, 255, 255, 127) * 0.75f *
proj.Opacity;
42697 }
42698 return;
42699 }
42700 if (
proj.type == 642)
42701 {
42702 if (!(
proj.velocity == Vector2.Zero))
42703 {
42706 Color
c_ =
new Color(255, 255, 255, 127);
42708 num270 -= proj.scale * 10.5f;
42711 DelegateMethods.f_1 = 1
f;
42712 DelegateMethods.c_1 =
c_;
42713 DelegateMethods.i_1 = 54000 - (int)
time / 2;
42716 DelegateMethods.c_1 =
new Color(255, 255, 255, 127) * 0.75f *
proj.Opacity;
42718 }
42719 return;
42720 }
42721 if (
proj.type == 611)
42722 {
42723 _ = proj.position +
new Vector2((
float)
proj.width, (
float)
proj.height) / 2
f + Vector2.UnitY * proj.gfxOffY -
screenPosition;
42726 if (
proj.velocity == Vector2.Zero)
42727 {
42728 return;
42729 }
42744 {
42747 {
42749 {
42751 }
42755 }
42756 }
42763 {
42765 }
42768 {
42774 {
42777 {
42779 }
42783 }
42784 }
42785 EntitySpriteDraw(
sourceRectangle: (Rectangle?)
new Rectangle(0, 90,
value166.Width, 48), texture:
value166, position:
vector151 -
screenPosition +
vector149, color:
alpha19, rotation:
rotation26, origin:
value166.Frame().Top(), scale:
proj.scale, effects: (SpriteEffects)0,
worthless: 0
f);
42786 return;
42787 }
42788 if (
proj.type == 537)
42789 {
42790 if (
proj.velocity == Vector2.Zero)
42791 {
42792 return;
42793 }
42797 float toMax = 1.5f;
42810 {
42813 {
42815 {
42817 }
42821 }
42822 }
42823 EntitySpriteDraw(
sourceRectangle: (Rectangle?)
new Rectangle(0, 56,
value167.Width, 22), texture:
value167, position:
vector153 -
screenPosition +
vector152, color:
color148, rotation:
proj.rotation, origin:
value167.Frame().Top(), scale:
num280, effects: (SpriteEffects)0,
worthless: 0
f);
42824 return;
42825 }
42826 if (
proj.type == 456)
42827 {
42837 rectangle17.Height /= 4;
42838 rectangle17.Y += proj.frame *
rectangle17.Height;
42845 {
42850 {
42852 {
42854 }
42861 }
42862 }
42868 {
42869 value171.Height += (int)
num282;
42870 }
42872 return;
42873 }
42874 if (
proj.type == 443)
42875 {
42881 Vector2
unitY2 = Vector2.UnitY;
42883 val5 =
default(Vector2);
42885 float scale18 = 0.75f + vector156.Y * 0.25f;
42886 float scale19 = 0.8f - vector156.Y * 0.2f;
42890 EntitySpriteDraw(
value172,
position18, (Rectangle?)
new Rectangle(0,
y20,
value172.Width,
num288),
proj.GetAlpha(
projectileColor),
proj.rotation +
num287,
new Vector2((
float)
value172.Width / 2
f, (
float)
num288 / 2
f),
scale18,
dir, 0
f);
42891 EntitySpriteDraw(
value172,
position18, (Rectangle?)
new Rectangle(0,
y20,
value172.Width,
num288),
proj.GetAlpha(
projectileColor),
proj.rotation + ((
float)
Math.PI * 2
f -
num287),
new Vector2((
float)
value172.Width / 2
f, (
float)
num288 / 2
f),
scale19,
dir, 0
f);
42892 return;
42893 }
42894 if (
proj.type == 656 ||
proj.type == 657)
42895 {
42897 if (
proj.type == 657)
42898 {
42900 }
42906 {
42908 }
42909 Point
point5 =
proj.Center.ToTileCoordinates();
42919 vector157.X = vector157.Y *
num294;
42925 Vector2
unitY3 = Vector2.UnitY;
42927 val5 =
default(Vector2);
42935 {
42941 val5 =
default(Vector2);
42944 vector158.X = vector158.Y *
num294;
42947 {
42949 }
42957 }
42958 return;
42959 }
42960 if (
proj.type == 704)
42961 {
42966 {
42968 }
42971 Vector2 bottom =
proj.Bottom;
42972 Vector2.Lerp(
top2, bottom, 0.5
f);
42975 vector159.X = vector159.Y *
num305;
42980 float num306 = -(float)
Math.PI / 20
f *
num303 * (
float)((!(proj.velocity.X > 0
f)) ? 1 : (-1));
42981 SpriteEffects
effects4 = (SpriteEffects)((
proj.velocity.X > 0
f) ? 2 : 0);
42982 bool flag34 = proj.velocity.X > 0
f;
42983 Vector2
unitY4 = Vector2.UnitY;
42985 val5 =
default(Vector2);
42990 {
42992 }
43002 {
43007 {
43009 }
43012 val5 =
default(Vector2);
43015 vector160.X = vector160.Y *
num305;
43018 {
43020 }
43028 {
43031 {
43033 }
43037 }
43039 }
43040 return;
43041 }
43042 if (
proj.type == 444 ||
proj.type == 446 ||
proj.type == 490 ||
proj.type == 464 ||
proj.type == 502 ||
proj.type == 538 ||
proj.type == 540 ||
proj.type == 579 ||
proj.type == 578 ||
proj.type == 813 ||
proj.type == 583 ||
proj.type == 584 ||
proj.type == 616 ||
proj.type == 617 ||
proj.type == 618 ||
proj.type == 641 || (
proj.type >= 646 &&
proj.type <= 649) ||
proj.type == 653 ||
proj.type == 186 ||
proj.type == 662 ||
proj.type == 685 ||
proj.type == 673 ||
proj.type == 676 ||
proj.type == 697 ||
proj.type == 699 ||
proj.type == 707 ||
proj.type == 708 ||
proj.type == 719 ||
proj.type == 761 ||
proj.type == 762 ||
proj.type == 763 ||
proj.type == 772 ||
proj.type == 802 ||
proj.type == 842 ||
proj.type == 865 ||
proj.type == 921 ||
proj.type == 926 ||
proj.type == 757 ||
proj.type == 25 ||
proj.type == 35 ||
proj.type == 63 ||
proj.type == 154 ||
proj.type == 247 ||
proj.type == 26 ||
proj.type == 928 ||
proj.type == 16 ||
proj.type == 34 ||
proj.type == 79 ||
proj.type == 936 ||
proj.type == 937 ||
proj.type == 938 ||
proj.type == 939 ||
proj.type == 940 ||
proj.type == 941 ||
proj.type == 942 ||
proj.type == 943 ||
proj.type == 944 ||
proj.type == 945 ||
proj.type == 971 ||
proj.type == 975 ||
proj.type == 1000 ||
proj.type == 1012 ||
proj.type == 1018 ||
proj.type == 1020 || (((
proj.type >= 776 &&
proj.type <= 801) || (
proj.type >= 803 &&
proj.type <= 810)) &&
proj.type != 779 &&
proj.type != 783 &&
proj.type != 862 &&
proj.type != 863))
43043 {
43051 if (
proj.type == 446)
43052 {
43054 }
43055 if (
proj.type == 1020)
43056 {
43058 }
43059 if (
proj.type == 865)
43060 {
43062 dir = (SpriteEffects)(
proj.DirectionFrom(
player[
proj.owner].Center).SafeNormalize(Vector2.Zero).X > 0
f);
43063 }
43064 if (
proj.type == 16)
43065 {
43071 }
43072 if (
proj.type == 34)
43073 {
43082 }
43083 if (
proj.type == 79)
43084 {
43088 }
43089 if (
proj.type == 761 ||
proj.type == 762)
43090 {
43091 dir = (SpriteEffects)((
proj.spriteDirection <= 0) ? 2 : 0);
43092 }
43093 if (
proj.type == 662 ||
proj.type == 685)
43094 {
43096 }
43097 if (
proj.type == 699 ||
proj.type == 708)
43098 {
43102 {
43103 dir = (SpriteEffects)(
dir | 2);
43105 }
43106 }
43107 if (
proj.type == 938 ||
proj.type == 939 ||
proj.type == 940 ||
proj.type == 941 ||
proj.type == 942 ||
proj.type == 943 ||
proj.type == 944 ||
proj.type == 945)
43108 {
43110 }
43111 if (
proj.type == 502)
43112 {
43115 Vector2
origin22 =
default(Vector2);
43118 Color
white3 = Color.White;
43120 Vector2
scale20 =
default(Vector2);
43122 {
43125 {
43131 }
43132 }
43133 }
43134 else if (
proj.type == 540 &&
proj.velocity != Vector2.Zero)
43135 {
43137 if (
proj.ai[0] >= 10
f)
43138 {
43140 }
43141 if (
proj.ai[0] >= 20
f)
43142 {
43144 }
43146 {
43148 }
43150 {
43152 }
43154 {
43156 Vector2
origin23 =
default(Vector2);
43164 Vector2
scale21 =
default(Vector2);
43167 }
43168 }
43169 if (
proj.type == 578 ||
proj.type == 579 ||
proj.type == 641 ||
proj.type == 813)
43170 {
43175 float num317 = 0.95f + (proj.rotation * 0.75f).ToRotationVector2().Y * 0.1f;
43180 if (
proj.type == 813)
43181 {
43184 }
43189 {
43191 }
43194 if (
proj.type == 813)
43195 {
43197 }
43198 }
43199 if (
proj.type == 617)
43200 {
43205 float num318 = 0.95f + (proj.rotation * 0.75f).ToRotationVector2().Y * 0.1f;
43213 }
43214 if (
proj.type == 757 ||
proj.type == 25 ||
proj.type == 35 ||
proj.type == 63 ||
proj.type == 154 ||
proj.type == 247 ||
proj.type == 26)
43215 {
43216 if (
proj.ai[0] == 1
f)
43217 {
43223 {
43225 }
43227 {
43231 }
43232 }
43233 }
43234 else if (
proj.type == 79)
43235 {
43239 val5 =
default(Vector2);
43242 {
43248 val5 =
default(Vector2);
43250 }
43252 }
43253 if ((0 | ((
proj.type == 464 &&
proj.ai[1] != 1
f) ? 1 : 0)) == 0)
43254 {
43256 }
43257 if (
proj.type == 464 &&
proj.ai[1] != 1
f)
43258 {
43264 val5 =
default(Vector2);
43269 {
43273 val5 =
default(Vector2);
43278 {
43279 rectangle21.Y = 0;
43280 }
43281 }
43282 }
43283 else if (
proj.type == 490)
43284 {
43288 }
43289 else if (
proj.type == 616)
43290 {
43292 EntitySpriteDraw(
value179,
vector161,
null,
new Color(127, 127, 127, 0),
proj.rotation,
origin21,
proj.scale,
dir);
43293 }
43294 else if (
proj.type >= 646 &&
proj.type <= 649)
43295 {
43297 EntitySpriteDraw(
value179,
vector161,
null,
new Color(255, 255, 255, 127),
proj.rotation,
origin21,
proj.scale,
dir);
43298 }
43299 else if (
proj.type == 699)
43300 {
43302 EntitySpriteDraw(
value179,
vector161,
null,
new Color(255, 255, 255, 127),
num314,
origin21,
proj.scale,
dir);
43303 }
43304 else if (
proj.type == 707 ||
proj.type == 708)
43305 {
43309 if (
proj.type == 708)
43310 {
43313 }
43317 val5 =
default(Vector2);
43320 {
43324 val5 =
default(Vector2);
43326 }
43328 }
43329 else if (
proj.type == 719)
43330 {
43333 float num329 = proj.scale * 1.5f;
43336 val5 =
default(Vector2);
43339 {
43341 }
43343 {
43347 val5 =
default(Vector2);
43349 }
43351 }
43352 else if (
proj.type == 16)
43353 {
43359 val5 =
default(Vector2);
43362 {
43366 val5 =
default(Vector2);
43368 }
43370 }
43371 else if (
proj.type == 34)
43372 {
43375 Vector2
scale13 =
default(Vector2);
43379 val5 =
default(Vector2);
43382 {
43386 val5 =
default(Vector2);
43388 }
43389 }
43390 return;
43391 }
43392 if (
proj.type == 465 ||
proj.type == 467 ||
proj.type == 468 ||
proj.type == 500 ||
proj.type == 518 ||
proj.type == 535 ||
proj.type == 539 ||
proj.type == 575 ||
proj.type == 574 ||
proj.type == 589 ||
proj.type == 590 ||
proj.type == 593 ||
proj.type == 602 ||
proj.type == 596 ||
proj.type == 612 ||
proj.type == 953 ||
proj.type == 613 ||
proj.type == 614 ||
proj.type == 623 ||
proj.type == 625 ||
proj.type == 626 ||
proj.type == 627 ||
proj.type == 628 ||
proj.type == 634 ||
proj.type == 635 ||
proj.type == 643 ||
proj.type == 644 ||
proj.type == 645 ||
proj.type == 650 ||
proj.type == 652 ||
proj.type == 658 ||
proj.type == 659 ||
proj.type == 663 ||
proj.type == 665 ||
proj.type == 667 ||
proj.type == 677 ||
proj.type == 678 ||
proj.type == 679 ||
proj.type == 691 ||
proj.type == 692 ||
proj.type == 693 ||
proj.type == 702 ||
proj.type == 703 ||
proj.type == 701 ||
proj.type == 712 ||
proj.type == 715 ||
proj.type == 716 ||
proj.type == 717 ||
proj.type == 718 ||
proj.type == 758 ||
proj.type == 759 ||
proj.type == 764 ||
proj.type == 779 ||
proj.type == 783 ||
proj.type == 773 ||
proj.type == 820 ||
proj.type == 831 ||
proj.type == 970 ||
proj.type == 836 ||
proj.type == 851 ||
proj.type == 855 ||
proj.type == 856 ||
proj.type == 857 ||
proj.type == 861 ||
proj.type == 862 ||
proj.type == 863 ||
proj.type == 866 ||
proj.type == 870 ||
proj.type == 882 ||
proj.type == 885 ||
proj.type == 889 ||
proj.type == 895 ||
proj.type == 896 ||
proj.type == 898 ||
proj.type == 903 ||
proj.type == 904 ||
proj.type == 905 ||
proj.type == 906 ||
proj.type == 908 ||
proj.type == 910 ||
proj.type == 911 ||
proj.type == 951 ||
proj.type == 957 ||
proj.type == 962 ||
proj.type == 963 ||
proj.type == 967 ||
proj.type == 968 ||
proj.type == 978 ||
proj.type == 995 ||
proj.type == 886 ||
proj.type == 892)
43393 {
43397 if (
proj.type == 963)
43398 {
43400 }
43401 if (
proj.type == 957)
43402 {
43407 }
43408 if (
proj.type == 962)
43409 {
43414 }
43417 {
43419 }
43420 if (
proj.type == 995)
43421 {
43424 vector169.Y +=
fall;
43427 }
43429 if (
proj.type == 703)
43430 {
43431 rectangle22.Height -= 2;
43432 }
43433 if (
proj.type == 957)
43434 {
43439 {
43441 {
43442 case 5:
43443 case 11:
43445 break;
43446 case 6:
43447 case 10:
43449 break;
43450 case 7:
43452 break;
43453 case 8:
43454 case 9:
43456 break;
43457 }
43458 }
43460 }
43461 if (
proj.type == 895 ||
proj.type == 896 ||
proj.type == 898 ||
proj.type == 963)
43462 {
43464 if (
proj.isAPreviewDummy)
43465 {
43467 }
43469 }
43470 if (
proj.type == 963 &&
proj.localAI[1] >= 0
f)
43471 {
43482 if (((Vector2)(
ref proj.velocity)).Length() < 0.1f)
43483 {
43485 }
43488 {
43496 val5 =
default(Vector2);
43498 }
43499 }
43500 if (
proj.type == 962)
43501 {
43506 {
43511 val5 =
default(Vector2);
43513 }
43514 }
43515 if (
proj.type == 855)
43516 {
43521 {
43525 {
43526 case 0:
43528 break;
43529 case 1:
43531 break;
43532 case 2:
43534 break;
43535 case 3:
43537 break;
43538 }
43541 val5 =
default(Vector2);
43544 }
43545 }
43546 else if (
proj.type == 908)
43547 {
43552 {
43554 }
43557 }
43558 else if (
proj.type == 764)
43559 {
43561 }
43562 else if (
proj.type == 856)
43563 {
43565 }
43566 else if (
proj.type == 857)
43567 {
43569 color168 = Color.White * proj.Opacity * 0.9f;
43573 DrawPrettyStarSparkle(
proj.Opacity,
dir,
vector169,
color168,
proj.GetFirstFractalColor(),
proj.localAI[0], 15
f, 30
f, 30
f, 45
f, 0
f,
new Vector2(5
f, 2
f), Vector2.One);
43574 }
43575 else if (
proj.type == 539)
43576 {
43577 if (
proj.ai[0] >= 210
f)
43578 {
43582 {
43584 }
43585 EntitySpriteDraw(
TextureAssets.
Extra[46].Value,
vector169,
null,
new Color(255, 255, 255, 128) *
num351,
proj.rotation,
new Vector2(17
f, 22
f),
proj.scale,
dir);
43586 }
43587 }
43588 else if (
proj.type == 773)
43589 {
43590 origin25.Y = rectangle22.Height - 12;
43591 }
43592 else if (
proj.type == 866)
43593 {
43595 }
43596 else if (
proj.type == 759)
43597 {
43598 origin25.Y = rectangle22.Height - 2;
43599 origin25.X += (((
Enum)
dir).HasFlag((
Enum)(object)(SpriteEffects)1) ? 1 : (-1));
43600 }
43601 else if (
proj.type == 758)
43602 {
43603 vector169.Y += proj.height / 2;
43606 }
43607 else if (
proj.type == 951)
43608 {
43609 vector169.Y += proj.height / 2;
43613 }
43614 else if (
proj.type == 833)
43615 {
43616 if (
proj.frame != 8)
43617 {
43618 vector169.Y += proj.height / 2;
43621 origin25.X -= 7 * ((
Enum)
dir).HasFlag((
Enum)(object)(SpriteEffects)1).ToDirectionInt();
43622 }
43623 }
43624 else if (
proj.type == 834 ||
proj.type == 835)
43625 {
43626 if (
proj.frame != 10)
43627 {
43628 vector169.Y += proj.height / 2;
43631 origin25.X -= 2 * ((
Enum)
dir).HasFlag((
Enum)(object)(SpriteEffects)1).ToDirectionInt();
43632 }
43633 }
43634 else if (
proj.type == 715 ||
proj.type == 716 ||
proj.type == 717 ||
proj.type == 718)
43635 {
43639 Vector2
origin27 =
default(Vector2);
43646 value186.X += value186.Width * 2;
43647 Vector2
scale14 =
default(Vector2);
43649 {
43652 {
43658 {
43659 case 2:
43660 {
43664 {
43666 }
43671 {
43672 case 1:
43674 break;
43675 case 2:
43677 break;
43678 case 3:
43680 break;
43681 case 4:
43683 break;
43684 case 5:
43686 break;
43687 case 7:
43689 break;
43690 case 8:
43692 break;
43693 case 9:
43695 break;
43696 case 10:
43698 break;
43699 case 11:
43701 break;
43702 }
43704 break;
43705 }
43706 case 5:
43708 break;
43709 }
43711 }
43712 }
43713 }
43714 else if (
proj.type == 663 ||
proj.type == 665 ||
proj.type == 667)
43715 {
43720 }
43721 else if (
proj.type == 691 ||
proj.type == 692 ||
proj.type == 693)
43722 {
43727 }
43728 else if (
proj.type == 677 ||
proj.type == 678 ||
proj.type == 679)
43729 {
43730 if (
proj.spriteDirection == -1)
43731 {
43732 dir = (SpriteEffects)(
dir ^ 3);
43733 }
43735 if (
proj.type == 678)
43736 {
43738 }
43739 if (
proj.type == 679)
43740 {
43742 }
43747 origin25.X += ((
Enum)
dir).HasFlag((
Enum)(object)(SpriteEffects)1).ToDirectionInt();
43750 if (
proj.type == 678)
43751 {
43752 vector169.Y += -4
f;
43753 }
43754 if (
proj.type == 679)
43755 {
43758 {
43760 }
43761 else
43762 {
43764 }
43765 origin25.X += ((
Enum)
dir).HasFlag((
Enum)(object)(SpriteEffects)1).ToDirectionInt() * 4;
43766 }
43767 }
43768 else if (
proj.type == 602)
43769 {
43770 origin25.X = rectangle22.Width - 6;
43772 rectangle22.Height -= 2;
43773 }
43774 else if (
proj.type == 589)
43775 {
43778 }
43779 else if (
proj.type == 590)
43780 {
43781 if (
proj.ai[2] == 1
f &&
proj.frame < 3)
43782 {
43783 proj.frame = 3;
43784 }
43787 }
43788 else if (
proj.type == 836)
43789 {
43792 }
43793 else if (
proj.type == 650 ||
proj.type == 882 ||
proj.type == 888 ||
proj.type == 894 ||
proj.type == 895 ||
proj.type == 896 ||
proj.type == 898 ||
proj.type == 901 ||
proj.type == 957)
43794 {
43796 }
43797 else if (
proj.type == 623)
43798 {
43800 {
43802 }
43804 {
43806 }
43807 }
43808 else if (
proj.type >= 625 &&
proj.type <= 628)
43809 {
43811 }
43812 else if (
proj.type == 644)
43813 {
43817 if (
proj.ai[1] != -1
f &&
proj.Opacity > 0.3f)
43818 {
43826 {
43829 }
43830 }
43831 }
43832 else if (
proj.type == 658)
43833 {
43836 }
43838 if (
proj.type == 896)
43839 {
43844 {
43847 }
43849 }
43850 if (
proj.type == 889)
43851 {
43855 if (!
proj.isAPreviewDummy)
43856 {
43858 {
43866 SpriteEffects
effects5 = (SpriteEffects)0;
43870 {
43871 case 1:
43873 break;
43874 case 2:
43876 break;
43877 case 3:
43879 break;
43880 }
43885 {
43888 {
43890 }
43891 continue;
43892 }
43893 Vector2
vector177 =
new Vector2((
float)
num359, -16
f) + proj.velocity * 1.5f;
43897 {
43898 case 1:
43899 vector177.X *= -1
f;
43903 break;
43904 case 2:
43908 break;
43909 case 3:
43910 vector177.X *= -1
f;
43915 break;
43916 }
43924 {
43926 }
43927 }
43928 }
43929 }
43930 if (
proj.type == 885 && !
proj.isAPreviewDummy)
43931 {
43933 {
43934 SpriteEffects
effects6 = (SpriteEffects)0;
43937 {
43940 }
43942 if (
proj.frame == 6)
43943 {
43945 }
43947 {
43949 }
43958 }
43959 }
43960 if (
proj.type == 535)
43961 {
43963 {
43965 {
43967 }
43968 }
43969 }
43970 else if (
proj.type == 715 ||
proj.type == 716 ||
proj.type == 717 ||
proj.type == 718)
43971 {
43976 }
43977 else if (
proj.type == 702)
43978 {
43983 val5 =
default(Vector2);
43985 ulong
seed2 = (ulong)(
proj.localAI[0] / 4
f);
43988 {
43990 float x14 = (float)Utils.RandomInt(
ref seed2, -10, 11) * 0.15f;
43991 float y23 = (float)Utils.RandomInt(
ref seed2, -10, 1) * 0.35f;
43993 }
43994 }
43995 else if (
proj.type == 663 ||
proj.type == 665 ||
proj.type == 667)
43996 {
43999 {
44000 case 665:
44002 break;
44003 case 667:
44005 break;
44006 }
44007 float num372 = (
proj.localAI[0] / 100
f * ((float)
Math.PI * 2
f)).ToRotationVector2().X * 1
f + 1
f;
44010 {
44012 }
44013 }
44014 else if (
proj.type == 644)
44015 {
44017 }
44018 else if (
proj.type == 963)
44019 {
44026 {
44028 vector181.Z += 0.1f;
44029 vector181.X -= 0.05f;
44030 }
44031 vector181.X = (vector181.X - (float)
num375 * 0.13
f + 1
f) % 1
f;
44034 rectangle22.X += rectangle22.Width * (1 +
num374);
44036 }
44037 else if (
proj.type == 773 && ((Vector2)(
ref proj.velocity)).Length() == 0
f)
44038 {
44042 }
44043 else if (
proj.type == 658)
44044 {
44046 }
44047 else if (
proj.type == 602)
44048 {
44061 }
44062 else if (
proj.type == 539)
44063 {
44064 EntitySpriteDraw(
TextureAssets.
GlowMask[140].Value,
vector169,
rectangle22,
new Color(255, 255, 255, 0),
proj.rotation,
origin25,
proj.scale,
dir);
44065 }
44066 else if (
proj.type == 613)
44067 {
44068 EntitySpriteDraw(
TextureAssets.
GlowMask[189].Value,
vector169,
rectangle22,
new Color(128 -
proj.alpha / 2, 128 -
proj.alpha / 2, 128 -
proj.alpha / 2, 0),
proj.rotation,
origin25,
proj.scale,
dir);
44069 }
44070 else if (
proj.type == 614)
44071 {
44072 EntitySpriteDraw(
TextureAssets.
GlowMask[190].Value,
vector169,
rectangle22,
new Color(128 -
proj.alpha / 2, 128 -
proj.alpha / 2, 128 -
proj.alpha / 2, 0),
proj.rotation,
origin25,
proj.scale,
dir);
44073 }
44074 else if (
proj.type == 574)
44075 {
44076 EntitySpriteDraw(
TextureAssets.
GlowMask[148].Value,
vector169,
rectangle22,
new Color(255, 255, 255, 0),
proj.rotation,
origin25,
proj.scale,
dir);
44077 }
44078 else if (
proj.type == 691 ||
proj.type == 692 ||
proj.type == 693)
44079 {
44082 {
44083 case 692:
44085 break;
44086 case 693:
44088 break;
44089 }
44090 EntitySpriteDraw(
value101,
vector169,
rectangle22,
new Color(255, 255, 255, 127),
proj.rotation,
origin25,
proj.scale,
dir);
44091 }
44092 else if (
proj.type == 590)
44093 {
44094 EntitySpriteDraw(
TextureAssets.
GlowMask[168].Value,
vector169,
rectangle22,
new Color(127 -
proj.alpha / 2, 127 -
proj.alpha / 2, 127 -
proj.alpha / 2, 0),
proj.rotation,
origin25,
proj.scale,
dir);
44095 }
44096 else if (
proj.type == 623 || (
proj.type >= 625 &&
proj.type <= 628))
44097 {
44099 {
44102 {
44105 Vector2
unitY5 = Vector2.UnitY;
44107 val5 =
default(Vector2);
44109 }
44110 }
44111 if (
proj.type == 623 &&
proj.ai[0] == 2
f &&
proj.frame >= 14)
44112 {
44114 }
44115 }
44116 else if (
proj.type == 643)
44117 {
44118 float num378 = (float)
Math.Cos((
float)Math.PI * 2
f * (
proj.localAI[0] / 60
f)) + 3
f + 3
f;
44120 {
44123 Vector2
unitY6 = Vector2.UnitY;
44125 val5 =
default(Vector2);
44127 }
44128 }
44129 else if (
proj.type == 650)
44130 {
44132 float f =
proj.localAI[0] % ((float)
Math.PI * 2
f) - (float)
Math.PI;
44135 {
44137 }
44143 {
44145 }
44149 }
44150 return;
44151 }
44152 if (
proj.type == 466)
44153 {
44154 Vector2
end = proj.position +
new Vector2((
float)
proj.width, (
float)
proj.height) / 2
f + Vector2.UnitY * proj.gfxOffY -
screenPosition;
44159 {
44161 {
44162 case 0:
44164 DelegateMethods.c_1 =
new Color(115, 204, 219, 0) * 0.5f;
44165 break;
44166 case 1:
44168 DelegateMethods.c_1 =
new Color(113, 251, 255, 0) * 0.5f;
44169 break;
44170 default:
44172 DelegateMethods.c_1 =
new Color(255, 255, 255, 0) * 0.5f;
44173 break;
44174 }
44175 DelegateMethods.f_1 = 1
f;
44177 {
44179 {
44183 }
44184 }
44185 if (
proj.oldPos[0] != Vector2.Zero)
44186 {
44187 DelegateMethods.f_1 = 1
f;
44190 }
44191 }
44192 return;
44193 }
44194 if (
proj.type == 580)
44195 {
44196 Vector2
end3 = proj.position +
new Vector2((
float)
proj.width, (
float)
proj.height) / 2
f + Vector2.UnitY * proj.gfxOffY -
screenPosition;
44201 {
44204 {
44206 DelegateMethods.c_1 =
new Color(115, 244, 219, 0) * 0.5f;
44207 }
44208 else
44209 {
44211 DelegateMethods.c_1 =
new Color(255, 255, 255, 0) * 0.5f;
44212 }
44213 DelegateMethods.f_1 = 1
f;
44215 {
44217 {
44221 }
44222 }
44223 if (
proj.oldPos[0] != Vector2.Zero)
44224 {
44225 DelegateMethods.f_1 = 1
f;
44228 }
44229 }
44230 return;
44231 }
44232 if (
proj.type == 445)
44233 {
44235 {
44236 dir = (SpriteEffects)(
dir | 2);
44237 }
44250 Vector2
unitY7 = Vector2.UnitY;
44252 val5 =
default(Vector2);
44254 Vector2[]
obj =
new Vector2[4]
44255 {
44257 default(Vector2),
44258 default(Vector2),
44259 default(Vector2)
44260 };
44261 val5 =
default(Vector2);
44263 val5 =
default(Vector2);
44265 val5 =
default(Vector2);
44267 Vector2[]
array7 = (Vector2[])(
object)
obj;
44269 {
44271 {
44272 Color
white4 = Color.White;
44274 {
44275 white4 = Color.LimeGreen;
44278 }
44279 else
44280 {
44281 white4 = Color.CornflowerBlue;
44284 }
44287 val5 =
default(Vector2);
44289 EntitySpriteDraw(
TextureAssets.
MagicPixel.Value,
vector102 -
screenPosition +
vector104, (Rectangle?)
new Rectangle(0, 0, 1, 1),
white4,
num390, Vector2.One / 2
f,
new Vector2(2
f,
num389 -
num392),
dir, 0
f);
44290 }
44291 }
44297 EntitySpriteDraw(
TextureAssets.
GlowMask[39].Value,
vector186 -
screenPosition +
vector101 *
num391,
null,
new Color(255, 255, 255, 0),
proj.rotation + (
float)
Math.PI / 2
f + (((
int)
dir == 0 || (
int)
dir == 2) ? ((
float)
Math.PI) : 0
f),
new Vector2((float)(((int)
dir != 0 && (int)
dir != 2) ?
value105.Width : 0), (float)
value105.Height / 2
f) + Vector2.
UnitY * 1
f,
player[
proj.owner].inventory[
player[
proj.owner].selectedItem].scale,
dir);
44299 {
44301 {
44302 Color
white5 = Color.White;
44304 {
44305 white5 = Color.LimeGreen;
44308 }
44309 else
44310 {
44311 white5 = Color.CornflowerBlue;
44314 }
44317 val5 =
default(Vector2);
44319 EntitySpriteDraw(
TextureAssets.
MagicPixel.Value,
vector102 -
screenPosition +
vector105, (Rectangle?)
new Rectangle(0, 0, 1, 1),
white5,
num390, Vector2.One / 2
f,
new Vector2(2
f,
num389 -
num392),
dir, 0
f);
44320 }
44321 }
44324 {
44326 }
44329 return;
44330 }
44331 if ((
proj.type >= 393 &&
proj.type <= 395) ||
proj.type == 398 ||
proj.type == 423 ||
proj.type == 450)
44332 {
44336 EntitySpriteDraw(
value106,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY - 2
f), (Rectangle?)
new Rectangle(0,
y24,
value106.Width,
num396),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)
value106.Width / 2
f, (
float)
num396 / 2
f),
proj.scale,
dir, 0
f);
44337 if (
proj.type == 398)
44338 {
44340 EntitySpriteDraw(
value106,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY - 2
f), (Rectangle?)
new Rectangle(0,
y24,
value106.Width,
num396),
new Color(250, 250, 250,
proj.alpha),
proj.rotation,
new Vector2((
float)
value106.Width / 2
f, (
float)
num396 / 2
f),
proj.scale,
dir, 0
f);
44341 }
44342 if (
proj.type == 423)
44343 {
44345 EntitySpriteDraw(
value106,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY - 2
f), (Rectangle?)
new Rectangle(0,
y24,
value106.Width,
num396),
new Color(250, 250, 250,
proj.alpha),
proj.rotation,
new Vector2((
float)
value106.Width / 2
f, (
float)
num396 / 2
f),
proj.scale,
dir, 0
f);
44346 }
44347 return;
44348 }
44349 if (
proj.type == 385)
44350 {
44358 {
44365 EntitySpriteDraw(
value107,
proj.oldPos[
num400] +
new Vector2((
float)
proj.width, (
float)
proj.height) / 2
f -
screenPosition +
new Vector2(0
f,
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y25,
value107.Width,
num397), Color.Lerp(
alpha3,
newColor3, 0.3f),
proj.rotation,
new Vector2((
float)
value107.Width / 2
f, (
float)
num397 / 2
f),
MathHelper.Lerp(
proj.scale,
value108, (
float)
num400 / 15
f),
dir, 0
f);
44366 }
44367 EntitySpriteDraw(
value107,
proj.Center -
screenPosition +
new Vector2(0
f,
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y25,
value107.Width,
num397),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)
value107.Width / 2
f, (
float)
num397 / 2
f),
proj.scale,
dir, 0
f);
44368 return;
44369 }
44370 if (
proj.type == 388)
44371 {
44377 if (
proj.ai[0] == 2
f)
44378 {
44381 }
44382 else
44383 {
44386 }
44388 {
44394 EntitySpriteDraw(
value110,
position25, (Rectangle?)
new Rectangle(0,
y26,
value110.Width,
num401),
newColor4,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44395 }
44396 EntitySpriteDraw(
value110,
proj.position -
screenPosition +
new Vector2(
num138 + (
float)
num137, (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y26,
value110.Width,
num401),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44397 return;
44398 }
44400 {
44403 if (
proj.type == 111)
44404 {
44409 projectileColor = Lighting.GetColor((
int)((double)
proj.position.X + (
double)proj.width * 0.5) / 16, (int)(((
double)proj.position.Y + (double)
proj.height * 0.5) / 16.0),
val2);
44410 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44411 return;
44412 }
44415 {
44417 }
44418 if (
proj.type == 344)
44419 {
44422 {
44424 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY) -
vector106, (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1),
alpha4 * (1
f -
num407) * 0.75f,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale * (0.4f + (1
f -
num407) * 0.6f),
dir, 0
f);
44425 }
44426 }
44427 if (
proj.type == 920 ||
proj.type == 921)
44428 {
44430 {
44432 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY) -
vector107, (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1),
alpha4 * (1
f -
num408) * 0.75f,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44433 }
44434 }
44435 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1),
alpha4,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44436 if (
proj.type == 966)
44437 {
44440 vector108.Y += -1
f + (float)(
Math.Cos((
float)(int)
mouseTextColor / 255
f * ((
float)Math.PI * 2
f) * 2
f) * 2.0);
44448 {
44450 {
44452 }
44453 else
44454 {
44456 }
44457 }
44459 {
44462 }
44464 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY) +
vector108, (Rectangle?)
new Rectangle(0,
num405,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1),
alpha4,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44465 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY) +
vector108 +
vector109, (Rectangle?)
new Rectangle(0,
num405 * 2,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1),
alpha4,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44466 }
44469 {
44470 EntitySpriteDraw(
glowTexture2.Value,
proj.position +
screenPosition +
new Vector2(
num138 + (
float)
num137, (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1),
new Color(250, 250, 250,
proj.alpha),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44471 }
44472 if (
proj.type == 335)
44473 {
44474 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1),
new Color(100, 100, 100, 0),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44475 }
44476 if (
proj.type == 897 ||
proj.type == 899)
44477 {
44479 if (
proj.type == 899)
44480 {
44482 }
44483 EntitySpriteDraw(
TextureAssets.
GlowMask[
num411].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1), Color.White,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44484 }
44485 if (
proj.type == 891)
44486 {
44489 EntitySpriteDraw(
TextureAssets.
GlowMask[277].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1),
val2,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44490 }
44491 if (
proj.type == 595)
44492 {
44495 {
44497 {
44498 Color underShirtColor =
player6.underShirtColor;
44500 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1), underShirtColor,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale *
MathHelper.Lerp(0.8f, 1.3f,
num413),
dir, 0
f);
44501 }
44502 }
44503 }
44504 if (
proj.type == 387)
44505 {
44506 EntitySpriteDraw(
TextureAssets.
EyeLaserSmall.Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405),
new Color(255, 255, 255, 0),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44507 }
44508 if (
proj.type != 525 &&
proj.type != 960)
44509 {
44510 return;
44511 }
44514 {
44515 return;
44516 }
44519 {
44521 if (
proj.type == 960)
44522 {
44524 }
44526 EntitySpriteDraw(
TextureAssets.
Extra[
num416].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0,
y27,
TextureAssets.
Projectile[
proj.type].Width(),
num405 - 1), selectionGlowColor,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)), 1
f,
dir, 0
f);
44527 }
44528 return;
44529 }
44530 if (
proj.type == 383 ||
proj.type == 399)
44531 {
44534 return;
44535 }
44536 if (
proj.type == 157 ||
proj.type == 378)
44537 {
44538 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X + (
float)(
proj.width / 2),
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2)), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)(
TextureAssets.
Projectile[
proj.type].Width() / 2), (
float)(
TextureAssets.
Projectile[
proj.type].Height() / 2)),
proj.scale,
dir, 0
f);
44539 return;
44540 }
44541 if (
proj.type == 306)
44542 {
44543 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X + (
float)(
proj.width / 2),
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2)), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)(
TextureAssets.
Projectile[
proj.type].Width() / 2), (
float)(
TextureAssets.
Projectile[
proj.type].Height() / 2)),
proj.scale,
dir, 0
f);
44544 return;
44545 }
44546 if (
proj.type == 256)
44547 {
44548 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X + (
float)(
proj.width / 2),
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2)), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)(
TextureAssets.
Projectile[
proj.type].Width() / 2), (
float)(
TextureAssets.
Projectile[
proj.type].Height() / 2)),
proj.scale,
dir, 0
f);
44549 return;
44550 }
44551 if (
proj.aiStyle == 27)
44552 {
44553 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X + (
float)(
proj.width / 2),
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2)), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2((
float)
TextureAssets.
Projectile[
proj.type].Width(), 0
f),
proj.scale,
dir, 0
f);
44554 return;
44555 }
44556 if (
proj.aiStyle == 19)
44557 {
44559 return;
44560 }
44561 if (
proj.type == 451)
44562 {
44564 return;
44565 }
44566 if (
proj.type == 434)
44567 {
44571 float num417 = (float)
Math.Sqrt(v.X * v.X + v.Y * v.Y);
44575 Color
red = Color.Red;
44577 Color
white6 = Color.White;
44581 EntitySpriteDraw(
TextureAssets.
MagicPixel.Value,
vector113 -
screenPosition, (Rectangle?)
new Rectangle(0, 0, 1, 1),
red,
rotation30, Vector2.One / 2
f,
new Vector2(2
f *
num418,
num417 + 8
f),
dir, 0
f);
44582 EntitySpriteDraw(
TextureAssets.
MagicPixel.Value,
vector113 -
screenPosition, (Rectangle?)
new Rectangle(0, 0, 1, 1),
red,
rotation30, Vector2.One / 2
f,
new Vector2(4
f *
num418,
num417),
dir, 0
f);
44583 EntitySpriteDraw(
TextureAssets.
MagicPixel.Value,
vector113 -
screenPosition, (Rectangle?)
new Rectangle(0, 0, 1, 1),
white6,
rotation30, Vector2.One / 2
f,
new Vector2(2
f *
num418,
num417),
dir, 0
f);
44584 return;
44585 }
44586 if (
proj.type == 94 &&
proj.ai[1] > 6
f)
44587 {
44589 {
44597 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.oldPos[
num419].X -
screenPosition.X +
num138 + (
float)
num137,
proj.oldPos[
num419].Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
alpha5,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
num421 *
proj.scale,
dir, 0
f);
44598 }
44599 }
44600 if (
proj.type == 301)
44601 {
44603 {
44611 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.oldPos[
num422].X -
screenPosition.X +
num138 + (
float)
num137,
proj.oldPos[
num422].Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
alpha6,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
num424 *
proj.scale,
dir, 0
f);
44612 }
44613 }
44614 if (
proj.type == 323 &&
proj.alpha == 0)
44615 {
44617 {
44623 {
44625 }
44627 {
44629 }
44631 {
44633 }
44635 {
44637 }
44639 {
44641 }
44643 {
44645 }
44647 {
44649 }
44654 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137 -
num426,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY -
num427), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
alpha7,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
num428 + 0.2f,
dir, 0
f);
44655 }
44656 }
44657 if (
proj.type == 117 &&
proj.ai[0] > 3
f)
44658 {
44660 {
44666 {
44668 }
44670 {
44672 }
44674 {
44676 }
44678 {
44680 }
44685 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137 -
num430,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY -
num431), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
alpha8,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44686 }
44687 }
44689 {
44691 {
44699 if (
proj.velocity.X > 0
f)
44700 {
44701 dir = (SpriteEffects)0;
44704 if (
proj.ai[1] == 2342
f)
44705 {
44707 }
44708 }
44709 else
44710 {
44711 dir = (SpriteEffects)1;
44714 if (
proj.ai[1] == 2342
f)
44715 {
44717 }
44718 }
44723 {
44725 }
44727 }
44728 else if (
proj.ai[0] <= 1
f)
44729 {
44730 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44731 if (
proj.glowMask != -1)
44732 {
44735 if (
proj.type == 993)
44736 {
44738 }
44739 EntitySpriteDraw(
value114,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0, 0,
value114.Width,
value114.Height),
proj.GetAlpha(
newColor5),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44740 }
44741 }
44742 }
44743 else
44744 {
44746 {
44748 {
44749 dir = (SpriteEffects)1;
44750 }
44751 else if (
player[
proj.owner].direction == -1)
44752 {
44753 dir = (SpriteEffects)0;
44754 }
44755 }
44756 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
proj.GetAlpha(
projectileColor),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44757 if (
proj.glowMask != -1)
44758 {
44759 EntitySpriteDraw(
TextureAssets.
GlowMask[
proj.glowMask].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
new Color(250, 250, 250,
proj.alpha),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44760 }
44761 if (
proj.type == 473)
44762 {
44763 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
new Color(255, 255, 0, 0),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44764 }
44765 if (
proj.type >= 511 &&
proj.type <= 513)
44766 {
44767 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
proj.GetAlpha(
projectileColor) * 0.25f,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale * (1
f +
proj.Opacity * 1.75f),
dir, 0
f);
44768 }
44771 {
44772 EntitySpriteDraw(glowTexture.Value,
proj.position -
screenPosition +
new Vector2(
num138 + (
float)
num137, (
float)(
proj.height / 2) +
proj.gfxOffY), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
new Color(250, 250, 250,
proj.alpha),
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44773 }
44774 if (
proj.type == 312)
44775 {
44779 {
44781 EntitySpriteDraw(
TextureAssets.
GlowMask[
proj.glowMask].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY) +
vector115, (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
new Color(255, 255, 255, 255) * 0.2
f,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44782 }
44783 }
44784 }
44785 if (
proj.type == 106)
44786 {
44790 EntitySpriteDraw(
sourceRectangle:
value203.Frame(), texture:
value203, position:
position26, color:
new Color(200, 200, 200, 0), rotation:
proj.rotation, origin:
new Vector2(
num138, (float)(
proj.height / 2 +
num136)), scale:
proj.scale, effects:
dir);
44791 }
44792 if (
proj.type >= 326 &&
proj.type <= 328)
44793 {
44797 {
44799 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2)) +
vector116 -
proj.velocity * 0.25f * (
float)
num437, (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
new Color(120, 120, 120, 60) * 1
f,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale - (
float)
num437 * 0.2f,
dir, 0
f);
44800 }
44801 }
44802 if (
proj.type == 554 ||
proj.type == 603)
44803 {
44805 {
44811 {
44813 }
44815 {
44817 }
44819 {
44821 }
44823 {
44825 }
44830 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137 -
num439,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY -
num440), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
alpha9,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44831 }
44832 }
44833 else if (
proj.type == 604)
44834 {
44837 {
44839 }
44841 {
44847 {
44849 }
44851 {
44853 }
44855 {
44857 }
44859 {
44861 }
44870 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137 -
num444,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY -
num445), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
alpha10,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
scale15,
dir, 0
f);
44871 }
44872 }
44873 else
44874 {
44875 if (
proj.type != 553)
44876 {
44877 return;
44878 }
44880 {
44886 {
44888 }
44890 {
44892 }
44894 {
44896 }
44898 {
44900 }
44905 EntitySpriteDraw(
TextureAssets.
Projectile[
proj.type].Value,
new Vector2(
proj.position.X -
screenPosition.X +
num138 + (
float)
num137 -
num448,
proj.position.Y -
screenPosition.Y + (
float)(
proj.height / 2) +
proj.gfxOffY -
num449), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Projectile[
proj.type].Width(),
TextureAssets.
Projectile[
proj.type].Height()),
alpha11,
proj.rotation,
new Vector2(
num138, (
float)(
proj.height / 2 +
num136)),
proj.scale,
dir, 0
f);
44906 }
44907 }
44908 }
44909 }
static bool ValidateShot(Entity golfBall, Player player, ref Vector2 shotVector)
static ShotStrength CalculateShotStrength(Vector2 shotVector, ClubProperties clubProperties)
static void DrawPredictionLine(Entity golfBall, Vector2 impactVelocity, float chargeProgress, float roughLandResistance)
static bool IsGolfBallResting(Projectile golfBall)
static bool IsGolfShotValid(Entity golfBall, Player player)
static bool IsPlayerHoldingClub(Player player)
static Color GetPortalColor(int colorIndex)
static PlayerTitaniumStormBuffTextureContent PlayerTitaniumStormBuff
static Asset< Texture2D >[] Npc
static Asset< Texture2D >[] Projectile
static Asset< Texture2D > MiniMinotaur
static Asset< Texture2D >[] GlowMask
static Asset< Texture2D > EyeLaserSmall
static Asset< Texture2D >[] Item
static Asset< Texture2D >[] Extra
static Asset< Texture2D > LightDisc
static Asset< Texture2D >[] Flames
static Asset< Texture2D > GolfBallOutline
static Asset< Texture2D >[] WireUi
static Asset< Texture2D > MagicPixel
static MultiToolMode ToolMode
static Color GetSelectionGlowColor(bool isTileSelected, int averageTileLighting)
static bool[] IsFood
If true for a given item type (F:Terraria.Item.type), then that item is food. Food items can be pla...
static int[] TrailingMode
Determines what data will be remembered for projectile trails. Each projectile type defaults to -1,...
static int[] TrailCacheLength
The length of the trail to store. Each projectile type defaults to 10. Use for drawing trails....
static bool[] IsAGolfBall
If true for a given projectile type (F:Terraria.Projectile.type), then that projectile is a kind of g...
void DrawProj_StardustGuardianPunching(Projectile proj)
static Vector3 rgbToHsl(Color newColor)
void DrawElderEye(SpriteBatch spriteBatch, Vector2 worldPosition, float opacity, float scale, int frameNumber, Color passedColor)
static double time
The time that has passed since it last became day/night. Increased by F:Terraria....
static Color hslToRgb(Vector3 hslVector)
static void EntitySpriteDraw(Texture2D texture, Vector2 position, Rectangle? sourceRectangle, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float worthless=0f)
void LoadProjectile(int i)
static SpriteBatch spriteBatch
static int myPlayer
The index in F:Terraria.Main.player of this client's Player. If this is 255, this client is the ser...
static void DrawProj_Flamethrower(Projectile proj)
static DrawAnimation[] itemAnimations
static int TryInteractingWithMoneyTrough(Projectile proj)
static int[] projFrames
Indicates how many frames of animation are in each projectile type spritesheet. Use F:Terraria....
static double timeForVisualEffects
static Vector2 MouseWorld
Fetches the position of the mouse cursor in the world. Useful for making things functionally happen ...
static Vector2 screenPosition
The position of the top left corner of the screen in world coordinates. Modify in M:Terraria....
static int CurrentDrawnEntityShader
static byte mouseTextColor
A value that oscillates between 190 and 255. It is used to drive the slight pulsing color effect seen...
static ulong TileFrameSeed
static Color OurFavoriteColor
static Projectile[] projectile
static void DrawProj_Spear(Projectile proj, ref Color projectileColor, ref SpriteEffects dir)
static UnifiedRandom rand
static void DrawPrettyStarSparkle(float opacity, SpriteEffects dir, Vector2 drawpos, Color drawColor, Color shineColor, float flareCounter, float fadeInStart, float fadeInEnd, float fadeOutStart, float fadeOutEnd, float rotation, Vector2 scale, Vector2 fatness)
static UnifiedRandom _tempSeededRandom
static bool tenthAnniversaryWorld
void DrawProjWithStarryTrail(Projectile proj, Color projectileColor, SpriteEffects dir)
static Player LocalPlayer
Retrieves the T:Terraria.Player object for the local user. Shorthand for F:Terraria....
static float GlobalTimeWrappedHourly
Manages content added by mods. Liasons between mod content and Terraria's arrays and oversees the Loa...
This class serves as a place for you to place all your properties and hooks for each projectile....
static void DrawOffset(Projectile projectile, ref int offsetX, ref int offsetY, ref float originX)
This serves as the central class from which projectile-related functions are carried out....
static FinalFractalProfile GetFinalFractalProfile(int usedSwordId)