-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathth19.eclm
More file actions
1062 lines (1023 loc) · 18.3 KB
/
th19.eclm
File metadata and controls
1062 lines (1023 loc) · 18.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
!eclmap
# mappings from zero318
!ins_names
## Section A
0 nop
1 enemy_delete
10 ret
11 call
12 jump
13 jump_equ
14 jump_neq
15 async_call
16 async_call_id
17 async_stop_id
18 __async_unknown_flag_set
19 __async_unknown_flag_clear
20 __async_unknown_value
21 async_stop_all
22 __debug_unknown_A
23 ecl_time_sub
24 ecl_time_sub_float
30 debug_print
31 __debug_unknown_B
40 frame_enter
41 frame_leave
42 push_int
43 pop_int
44 push_float
45 pop_float
50 math_int_add
51 math_float_add
52 math_int_sub
53 math_float_sub
54 math_int_mul
55 math_float_mul
56 math_int_div
57 math_float_div
58 math_int_mod
59 cmp_int_equ
60 cmp_float_equ
61 cmp_int_neq
62 cmp_float_neq
63 cmp_int_les
64 cmp_float_les
65 cmp_int_leq
66 cmp_float_leq
67 cmp_int_gre
68 cmp_float_gre
69 cmp_int_geq
70 cmp_float_geq
71 cmp_int_not
72 cmp_float_not
73 cmp_or
74 cmp_and
75 math_bit_xor
76 math_bit_or
77 math_bit_and
78 math_post_dec
79 math_sin
80 math_cos
81 math_circle_pos
82 math_reduce_angle
83 math_int_neg
84 math_float_neg
85 math_hypot_squared
86 math_hypot
87 math_line_angle
88 math_sqrt
89 math_angle_diff
90 math_point_rotate
91 math_float_interp
92 math_float_interp_bezier
93 math_circle_pos_rand
94 math_ellipse_pos
95 __math_angle_95
96 __math_angle_direction_x ## BROKEN
97 __math_angle_direction_y
# ZECL
98 debug_breakpoint
99 thcrap_expr
100 math_shl
101 math_shr
102 math_sar
103 math_rol
104 math_ror
105 math_udiv
106 math_umod
#107 thcrap_print
## Section B
300 enemy_create_rel
301 enemy_create_abs
302 anm_source
303 anm_set_slot
304 enemy_create_rel_mirror
305 enemy_create_abs_mirror
306 anm_set_slot_main
307 anm_create_front
308 anm_create_zero_front
309 enemy_create_rel_stage
310 enemy_create_abs_stage
311 enemy_create_rel_stage_mirror
312 enemy_create_abs_stage_mirror
313 anm_play_attack
314 anm_create_back
315 anm_create_front_rotated
316 anm_play_attack_ex
317 anm_interrupt_slot
318 anm_play_main
319 anm_rotate_slot
320 anm_move_position_slot
321 __enemy_create_rel_2
322 __anm_set_slot_anchor_index
323 anm_death_effects
324 enemy_id_get_position
325 anm_color_slot
326 anm_color_slot_interp
327 anm_alpha_slot
328 anm_alpha_slot_interp
329 anm_scale_slot
330 anm_scale_slot_interp
331 anm_alpha2_slot
332 anm_alpha2_slot_interp
333 anm_move_position_slot_interp
334 effect_create_special
335 anm_scale2_slot
336 anm_layer_slot
337 anm_blend_mode_slot
338 anm_create_rel_front_rotated
339 effect_create
340 enemy_id_delete
## Section C
400 move_position_abs
401 move_position_abs_interp
402 move_position_rel
403 move_position_rel_interp
404 move_velocity_abs
405 move_velocity_abs_interp
406 move_velocity_rel
407 move_velocity_rel_interp
408 move_orbit_abs
409 move_orbit_abs_interp
410 move_orbit_rel
411 move_orbit_rel_interp
412 move_rand_interp_abs
413 move_rand_interp_rel
414 move_to_boss0_abs
415 move_to_boss0_rel
416 move_position_add_abs
417 move_position_add_rel
418 move_origin_abs
419 move_origin_rel
420 move_ellipse_abs
421 move_ellipse_abs_interp
422 move_ellipse_rel
423 move_ellipse_rel_interp
424 enemy_flag_mirror
425 move_bezier_abs
426 move_bezier_rel
427 move_stop
428 move_velocity_no_mirror_abs
429 move_velocity_no_mirror_abs_interp
430 move_velocity_no_mirror_rel
431 move_velocity_no_mirror_rel_interp
432 move_to_enemy_id_abs
433 move_to_enemy_id_rel
434 move_axis_interp_abs
435 move_axis_interp_rel
436 __move_position_abs_interp_2
437 __move_position_rel_interp_2
438 __move_axis_offset_abs_interp
439 __move_axis_offset_rel_interp
440 move_angle_abs
441 move_angle_abs_interp
442 move_angle_rel
443 move_angle_rel_interp
444 move_speed_abs
445 move_speed_abs_interp
446 move_speed_rel
447 move_speed_rel_interp
## Section D
500 enemy_set_hitbox
501 enemy_set_collision
502 enemy_flags_set
503 enemy_flags_clear
504 move_bounds_set
505 move_bounds_disable
506 item_bonus_count_reset
507 item_bonus_count_set
508 item_drop_area
509 drop_item_rewards
510 item_reward_set
511 enemy_life_set
512 boss_set
513 phase_timer_clear
514 callback_ex
515 enemy_invincible_timer
516 effect_sound
517 effect_screen_shake
518 msg_read
519 msg_wait
520 boss_wait ## Waits on bosses 0, 1, and/or 2
521 timer_callback_sub
522 spellcard_start
523 spellcard_end
524 chapter_set
525 enemy_kill_all
526 player_protect_range
527 enemy_lifebar_color
528 spellcard_start_2
529 set_int_difficulty
530 set_float_difficulty
531 spellcard_start_difficulty
532 spellcard_start_difficulty_1
533 spellcard_start_difficulty_2
534 boss_set_life_count
535 enemy_no_collision_timer
536 spellcard_flag_timeout_set
537 __spellcard_flag_anm_unknown
538 enemy_flag_homing_disable
539 laser_clear_all
540 enemy_bomb_shield
541 game_speed_set
542 ecl_time_sub_difficulty
543 __enemy_flag_unknown_A
544 enemy_set_kill_id
545 enemy_kill_all_id
546 anm_layer_base
547 enemy_damage_sound
548 nop548
549 enemy_id_exists
550 death_callback_sub
551 std_fog_interp
552 enemy_flag_mirror2
553 enemy_limit_set
554 bullet_bounce_bounds_set
555 __enemy_kill_effect_create
556 drop_item_rewards_force
557 enemy_flag_hitbox_shape
558 enemy_set_hitbox_rotation
559 enemy_bomb_shield_multiplier
560 enemy_kill
561 __spellcard_flag_unknown_A
562 __enemy_flag_armored
563 __enemy_set_chapter_spawn_weight ## TODO: Better name
564 __enemy_add_spawn_weight_to_destroy ## TODO: Better name
565 enemy_kill_all_no_callbacks
566 __enemy_life_set_current
567 item_timed_bonus_count_set
568 item_timed_bonus_duration
569 __math_unknown_A
570 set_int_difficulty_ex
571 set_float_difficulty_ex
## Section E
600 shooter_reset
601 shoot_now
602 bullet_sprite
603 shoot_offset
604 shoot_angle
605 bullet_speed
606 bullet_count
607 shoot_aim_mode
608 bullet_sound
609 bullet_effects
610 bullet_effects_ex
611 bullet_effects_add
612 bullet_effects_add_ex
613 bullet_cancel
614 shooter_copy
615 bullet_cancel_radius
616 bullet_clear_radius
617 set_float_angle_to_player_from_point
618 shoot_offset_circle
619 shoot_spawn_distance
620 __shoot_origin
621 enemy_fog_spawn
622 std_interrupt
623 boss_flag_hide_hud
624 ex_ins_repeat
625 enemy_damage_ex
626 enemy_hitbox_ex
627 bullet_cancel_weak_radius ## Not removed, but same as 628
628 bullet_clear_weak_radius
629 ex_ins_call
630 score_add
631 __ex_ins_repeat2
632 bullet_effects_set_string
633 __bullet_effects_prev
## Section F
700 laser_size_data
701 laser_timing_data
702 laser_line_create
703 laser_infinite_create
704 laser_offset
705 laser_target
706 laser_speed
707 laser_width
708 laser_angle
709 laser_rotate
710 laser_clear
711 laser_curve_create
712 __bullet_cancel_weak_rectangle
713 laser_beam_create
714 __laser_beam_flag_unknown_A
## Section G
800 enemy_id_change_sub
801 enemy_id_get_position_crash ## Use 324 instead!
802 boss_callback
## Section H
901 __debug_skip_start
902 __debug_skip_stop
## Section I
1002 __ins_1002
1004 __wave_number_set
1005 __wave_number_inc
1007 difficulty_set
1008 difficulty_reset
1009 __wave_reset_unknown_A
1010 __wave_reset_unknown_B
1011 __wave_weight_set
1012 __wave_spawn
1013 __write_int_array
1014 __write_float_array
1015 __read_int_array_by_difficulty
1016 __read_float_array_by_difficulty
1017 __clear_story
1018 __enemy_manager_set_unknown_timer_A
1019 __pause_unknown_A
1020 __set_enemy_manager_unknown_D_var
1021 __wave_set_enemy_manager_unknown_D_var
1022 music
1023 __item_manager_unknown_int_A_set
1026 __item_manager_unknown_int_A_average
1027 __ghost_flags_unknown_A
1028 __ghost_set_unknown_A
1029 __ghost_set_unknown_B
1030 __ghost_set_unknown_C
1031 __ghost_set_unknown_D
1032 __ghost_set_unknown_E
1033 __ghost_set_unknown_F
1034 difficulty_set_to_opposite_ex_attack_level
1035 difficulty_set_to_opposite_boss_attack_level
1036 __opposite_player_game_over
1037 __opposite_spawn_unknown_A
1038 __enemy_flag_unknown_C
1039 __enemy_flag_unknown_D
1040 __ghost_flags_unknown_B
1041 __enemy_flag_unknown_E
!ins_signatures
0
1
10
#11 P(bs=4)v(rep="G")
12 ot
13 ot
14 ot
#15 P(bs=4)v(rep="G")
#16 P(bs=4)Sv(rep="G")
17 S
18 S
19 S
20 SS
21
#30 p(bs=4)v(rep="g")
40 S
41
42 S
43 S
44 f
45 f
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78 S
79
80
81 ffff
82 f
83 S
84
85
86 fff
87 fffff
88
89 fff
90 fffff
## TODO: Add modes
91 SfSSff
92 SfSSffff
93 ffff
94 ffffff
95 fff
96 ff
97 ff
# ZECL
98
99 Sz(bs=4)
100
101
102
103
104
105
106
#107 p(bs=4)v(rep="g")
256 P(bs=4)ffSSS(enum="ItemID")
257 P(bs=4)ffSSS(enum="ItemID")
258 S(enum="AnmSource")
259 S(enum="AnmSlotIndex")N
260 P(bs=4)ffSSS(enum="ItemID")
261 P(bs=4)ffSSS(enum="ItemID")
262 S(enum="AnmSlotIndex")N
263 S(enum="AnmSource")N
264 S(enum="AnmSource")N
265 P(bs=4)ffSSS(enum="ItemID")
266 P(bs=4)ffSSS(enum="ItemID")
267 P(bs=4)ffSSS(enum="ItemID")
268 P(bs=4)ffSSS(enum="ItemID")
269 S(enum="AnmSlotIndex")
270 P(bs=4)fffSSS(enum="ItemID")
271 P(bs=4)fffSSS(enum="ItemID")
272 S(enum="AnmSource")N
273 S(enum="AnmSource")Nf
274 S(enum="AnmSlotIndex")N
275 S(enum="AnmSlotIndex")S
276
277 S(enum="AnmSlotIndex")f
278 S(enum="AnmSlotIndex")ff
279 S(enum="AnmSlotIndex")ff
280 P(bs=4)ffSSS(enum="ItemID")
281 S(enum="AnmSlotIndex")S(enum="AnmSlotIndirectIndex")
300 ff
301 SS(enum="InterpMode")ff
302 ff
303 SS(enum="InterpMode")ff
304 ff
305 SS(enum="InterpMode")ff
306 ff
307 SS(enum="InterpMode")ff
308 ffff
309 SS(enum="InterpMode")fff
310 ffff
311 SS(enum="InterpMode")fff
312 SSf
313 SSf
314
315
316 fff
317 fff
318 ff
319 ff
320 ffffff
321 SS(enum="InterpMode")fffff
322 ffffff
323 SS(enum="InterpMode")fffff
324 S(enum="bool") ## S(enum="BitBool")
325 Sffffff
326 Sffffff
327
328 ff
329 SS(enum="InterpMode")ff
330 ff
331 SS(enum="InterpMode")ff
400 ff
401 ff
402 S(hex;enum="EnemyFlagsSet")
403 S(hex;enum="EnemyFlagsClear")
404 ffff
405
406
407 S(enum="BonusDropIndex")S(enum="ItemID")
408 ff
409
410 S(enum="ItemID")
411 S
412 S(enum="BossIndex")
413
414 S(enum="CallbackSlotIndex")SSP(bs=4)
415 S
416 S(enum="SoundID")
417 SSS
418 S(enum="MsgScript")
419
420
421 S(enum="CallbackSlotIndex")P(bs=4)
422 SSSp(bs=4;mask=0x77,7,16)
423
424 S
425
426 f
427 S(enum="LifeSlotIndex")fC
428 SSSp(bs=4;mask=0x77,7,16)
429 ffff
430 fffff
431 fff
432 SSSS
433 SSSSS
434 SSS
435 SSSSS
436 fffff
437 SSSp(bs=4;mask=0x77,7,16)
438 SSSp(bs=4;mask=0x77,7,16)
439 SSSp(bs=4;mask=0x77,7,16)
440 S
441 S
442
443
444 S(enum="bool") ## S(enum="BitBool")
445
446 S(enum="bool")N ## S(enum="BitBool")N
447 f
448 SSSS
449 S(enum="bool") ## S(enum="BitBool")
450 S
451 S
452 S(enum="AnmLayerIndex")
453 S(enum="SoundID")
454
455 SS
456 ffS
500 S(enum="ShooterIndex")
501 S(enum="ShooterIndex")
502 S(enum="ShooterIndex")S(enum="BulletSprite")S(enum="BulletColor")
503 S(enum="ShooterIndex")ff
504 S(enum="ShooterIndex")ff
505 S(enum="ShooterIndex")ff
506 S(enum="ShooterIndex")SS
507 S(enum="ShooterIndex")S(enum="BulletAim")
508 S(enum="ShooterIndex")S(enum="SoundID")S(enum="SoundID")
509 S(enum="ShooterIndex")S(enum="BulletEffectIndex")S(enum="bool")S(enum="BulletEffectID")SSff
510
511 S(enum="ShooterIndex")S(enum="ShooterIndex")
512 f
513 f
514 S(enum="ShooterIndex")ffffff
515 S(enum="ShooterIndex")ffffffffff
516 S(enum="ShooterIndex")ffff
517 S(enum="ShooterIndex")SSSSSS
518 S(enum="ShooterIndex")SSSSSSSSSS
519 S(enum="ShooterIndex")SSSS
520 fff
521 S(enum="ShooterIndex")ffffffff
522 S(enum="ShooterIndex")SSSSSSSS
523 S(enum="ShooterIndex")ff
524 S(enum="ShooterIndex")f
525 S(enum="ShooterIndex")ff
526 fC
527 S
528 S(enum="bool") ## S(enum="BitBool")
529 S(enum="ExIns")
530 S(enum="ExDamage")
531 S(enum="ExHitbox")
532 f
533 f
534 S(enum="ExIns")
535 S
600 S(enum="ShooterIndex")ffff
601 S(enum="ShooterIndex")SSSSS(hex;enum="LaserFlags")
602 S(enum="ShooterIndex")
603 S(enum="ShooterIndex")S
604 Sff
605 Sff
606 Sf
607 Sf
608 Sf
609 Sf
610 S
611 S(enum="ShooterIndex")
700 S
!gvar_names
-10000 RAND_INT
-9999 RAND_FLOAT
-9998 RAND_ANGLE
-9997 SELF_X
-9996 SELF_Y
-9995 SELF_X_ABS
-9994 SELF_Y_ABS
-9993 SELF_X_REL
-9992 SELF_Y_REL
-9991 PLAYER_X
-9990 PLAYER_Y
-9989 PLAYER_ANGLE
-9988 PHASE_TIMER
-9987 RAND_FLOAT_SIGNED
-9986 SPELL_TIMEOUT
-9985 EI0
-9984 EI1
-9983 EI2
-9982 EI3
-9981 EF0
-9980 EF1
-9979 EF2
-9978 EF3
-9977 LAST_FRAME_X_DELTA
-9976 LAST_FRAME_Y_DELTA
-9975 SELF_ORIGIN_X_ABS
-9974 SELF_ORIGIN_Y_ABS
-9973 SELF_ORIGIN_X_REL
-9972 SELF_ORIGIN_Y_REL
-9971 SELF_ANGLE_ABS
-9970 SELF_ANGLE_REL
-9969 SELF_SPEED_ABS
-9968 SELF_SPEED_REL
-9967 SELF_ORBIT_RADIUS_ABS
-9966 SELF_ORBIT_RADIUS_REL
-9965 PLAYER_X2
-9964 PLAYER_Y2
-9963 BOSS0_X
-9962 BOSS0_Y
-9961 ANM_SLOT0_SCRIPT_ID
-9960 RANK
-9959 DIFFICULTY
-9958 SELF_ORBIT
-9957 TRUE_VAR
-9956 PLAYER_ANGLE_ABS
-9955 PLAYER_ANGLE_REL
-9954 SELF_LIFE
-9953 EASY
-9952 NORMAL
-9951 HARD
-9950 LUNATIC
-9949 PLAYER_DEATHS
-9948 PLAYER_BOMBS_USED
-9947 SPELL_CAPTURE
-9946 ENEMY_COUNT
-9945 PLAYER_SHOT
-9944 PLAYER_DISTANCE
-9943 BOSS0_EI0
-9942 BOSS0_EI1
-9941 BOSS0_EI2
-9940 BOSS0_EI3
-9939 BOSS0_EF0
-9938 BOSS0_EF1
-9937 BOSS0_EF2
-9936 BOSS0_EF3
-9935 EF4
-9934 EF5
-9933 EF6
-9932 EF7
-9931 PREV_ENEMY_ID
-9930 PLAYER_POWER
#-9929 __PLAYER_UNKNOWN_A
#-9928 __PLAYER_UNKNOWN_B
-9927 __REPLAY_UNKNOWN_A
-9926 GI0
-9925 GI1
-9924 GI2
-9923 GI3
-9922 GF0
-9921 GF1
-9920 GF2
-9919 GF3
-9918 GF2
-9917 GF3
-9916 GF4
-9915 GF5
-9916 GF6
-9915 GF7
-9914 SELF_ENEMY_ID
#-9913 PHOTOS_TAKEN
#-9912 __PLAYER_UNKNOWN_C
-9911 BOSS0_ORBIT
-9910 BOSS0_SPEED_ABS
-9909 PARENT_ENEMY_ID
-9908 ENEMY_COUNT_KILLABLE
-9907 SPELL_PRACTICE_ID
-9906 SELF_MIRROR
-9905 CHAPTER
-9904 PLAYER_DEATHS_GLOBAL
#-9903
#-9902
#-9901
#-9900
-9899 ACHIEVEMENT_MODE
-9898 __BULLET_MANAGER_UNKNOWN_A
#-9897
-9896 __ENEMY_MANAGER_UNKNOWN_D
-9895 __WAVE_UNKNOWN_A
-9894 __WAVE_UNKNOWN_B
-9893 __WAVE_UNKNOWN_C
-9892 __WAVE_UNKNOWN_D
#-9891
#-9890
-9889 __ENEMY_MANAGER_UNKNOWN_C
-9888 __GLOBAL_SIDE_UNKNOWN_A
-9987 __ENEMY_MANAGER_UNKNOWN_D
-9986 __ENEMY_MANAGER_UNKNOWN_E
-9885 DIFFICULTY_GLOBAL
-9884 OPPOSITE_PLAYER_X
-9883 OPPOSITE_PLAYER_Y
-9882 SELF_GAME_SIDE
!gvar_types
-10000 $
-9999 %
-9998 %
-9997 %
-9996 %
-9995 %
-9994 %
-9993 %
-9992 %
-9991 %
-9990 %
-9989 %
-9988 $
-9987 %
-9986 $
-9985 $
-9984 $
-9983 $
-9982 $
-9981 %
-9980 %
-9979 %
-9978 %
-9977 %
-9976 %
-9975 %
-9974 %
-9973 %
-9972 %
-9971 %
-9970 %
-9969 %
-9968 %
-9967 %
-9966 %
-9965 %
-9964 %
-9963 %
-9962 %
-9961 $
-9960 $
-9959 $
-9958 %
-9957 $
-9956 %
-9955 %
-9954 $
-9953 $
-9952 $
-9951 $
-9950 $
-9949 $
-9948 $
-9947 $
-9946 $
-9945 $
-9944 %
-9943 $
-9942 $
-9941 $
-9940 $
-9939 %
-9938 %
-9937 %
-9936 %
-9935 %
-9934 %
-9933 %
-9932 %
-9931 $
-9930 $
#-9929
#-9928
-9927 $
-9926 $
-9925 $
-9924 $
-9923 $
-9922 %
-9921 %
-9920 %
-9919 %
-9918 %
-9917 %
-9916 %
-9915 %
-9914 $
#-9913 $
#-9912 $
-9911 %
-9910 %
-9909 $
-9908 $
-9907 $
-9906 $
-9905 $
-9904 $
#-9903
#-9902
#-9901
#-9900
-9899 $
-9898 $
#-9897
-9896 $
-9895 $
-9894 $
-9893 $
-9892 $
#-9891
#-9890
-9889 $
-9888 %
-9887 $
-9886 $
-9885 $
-9884 %
-9883 %
-9882 $
!ins_intrinsics
#10 RetStack() ## Internally calls FrameLeave()
#11 CallStack()
12 Jmp()
#13 StackJmp(op="==")
#14 StackJmp(op="!=")
#15 CallStackAsync()
#16 CallStackAsyncId()
#40 FrameEnter()
#41 FrameLeave()
#42 StackPush(type="int")
#43 StackPop(type="int")
#44 StackPush(type="float")
#45 StackPop(type="float")
## All Binary Ops/Cmps pop the right argument first, then the left, perform the op, then push the result.
## All Unary Ops pop the argument then push the result.
## All Binary/Unary Ops push a value of the type matching their arguments.
## All Binary/Unary Cmps push an int value regardless of their arguments.
#50 StackBinOp(op="+";type="int")
#51 StackBinOp(op="+";type="float")
#52 StackBinOp(op="-";type="int")
#53 StackBinOp(op="-";type="float")
#54 StackBinOp(op="*";type="int")
#55 StackBinOp(op="*";type="float")
#56 StackBinOp(op="/";type="int")
#57 StackBinOp(op="/";type="float")
#58 StackBinOp(op="%";type="int")
#59 StackBinCmp(op="==";type="int")
#60 StackBinCmp(op="==";type="float")
#61 StackBinCmp(op="!=";type="int")
#62 StackBinCmp(op="!=";type="float")
#63 StackBinCmp(op="<";type="int")
#64 StackBinCmp(op="<";type="float")
#65 StackBinCmp(op="<=";type="int")
#66 StackBinCmp(op="<=";type="float")
#67 StackBinCmp(op=">";type="int")
#68 StackBinCmp(op=">";type="float")
#69 StackBinCmp(op=">=";type="int")
#70 StackBinCmp(op=">=";type="float")
#71 StackUnCmp(op="!";type="int") # Internally pushes (val==0)
#72 StackUnCmp(op="!";type="float") # Internally pushes (val==0.0f), which is relevant for NaN handling
#73 StackBinCmp(op="|||";type="int")
#74 StackBinCmp(op="&&&";type="int")
#75 StackBinOp(op="^";type="int")
#76 StackBinOp(op="|";type="int")
#77 StackBinOp(op="&";type="int")
#78 PushDec()
#79 StackUnOp(op="sin";type="float")
#80 StackUnOp(op="cos";type="float")
#84 StackUnOp(op="-";type="int")
##85 StackUnOp(op="-";type="float") # Instruction is broken until later games, uncomment if a patch fixes it
#88 StackUnOp(op="sqrt";type="float")
!enum(name="BonusDropIndex")
0 MainDrop
1 BonusDrop0
2 BonusDrop1
3 BonusDrop2
4 BonusDrop3
5 BonusDrop4
6 BonusDrop5
7 BonusDrop6
8 BonusDrop7
9 BonusDrop8
10 BonusDrop9
11 BonusDrop10
12 BonusDrop11
13 BonusDrop12
14 BonusDrop13
15 BonusDrop14
16 BonusDrop15
17 BonusDrop16
18 BonusDrop17
19 BonusDrop18
!enum(name="ItemID")
-1 NoItem
0 Item0
1 Item1
2 Item2
3 Item3
4 Item4
5 Item5
6 Item6
7 Item7
8 Item8
9 Item9
10 Item10
11 Item11
!enum(name="AnmSource")
0 BulletAnm
!enum(name="AnmSlotIndex")
0 AnmSlot0
1 AnmSlot1
2 AnmSlot2
3 AnmSlot3
4 AnmSlot4
5 AnmSlot5
6 AnmSlot6
7 AnmSlot7
8 AnmSlot8
9 AnmSlot9
10 AnmSlot10
11 AnmSlot11
12 AnmSlot12
13 AnmSlot13
14 AnmSlot14
15 AnmSlot15
!enum(name="AnmSlotIndirectIndex")
-1 DisableIndirect
0 AnmSlot0
1 AnmSlot1
2 AnmSlot2
3 AnmSlot3
4 AnmSlot4
5 AnmSlot5
6 AnmSlot6
7 AnmSlot7
8 AnmSlot8
9 AnmSlot9
10 AnmSlot10
11 AnmSlot11
12 AnmSlot12
13 AnmSlot13
14 AnmSlot14
15 AnmSlot15
!enum(name="AnmLayerIndex")
!enum(name="InterpMode")
0 Linear
1 AccelerateSlow
2 Accelerate
3 AccelerateFast
4 DecelerateSlow
5 Decelerate
6 DecelerateFast
7 ConstantVelocity
8 Bezier
9 AccelDecelSlow
10 AccelDecel
11 AccelDecelFast
12 DecelAccelSlow
13 DecelAccel
14 DecelAccelFast
15 Initial
16 Final