forked from originalgrego/FinalFightAE-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathffight_ae_score.asm
257 lines (174 loc) · 4.89 KB
/
ffight_ae_score.asm
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
org $004D5E
jmp hijack_level_init
org $001A9E
jmp hijack_score_calc
org $0019E8
jmp hijack_score_updates
org 0x001AB6
lea $908F8C.l, A2 ; p2 score position
org $001AC2
andi.w #$3f, D1 ; Take off player 2/3 bit if there
; Bonus
org $002114
jmp hijack_bonus_score_draw
org $00211E
movea.l #$908514, A0 ; P1 bonus score position
org $002136
movea.l #$908C94, A0 ; P2 bonus score position
org $01FF86
jmp hijack_bonus_perfect_select_player
org $0050B8 ; Don't subtract 1 from player id....
nop
nop
org $0050E2
jmp hijack_determine_bonus_stage_winner
org $01FD54
jmp bonus_draw_winner_text
org $01FD86
jmp bonus_hide_winner_text
org $01FDA4
jmp bonus_draw_winner_text
org $01FDB6
jmp bonus_draw_winner_score
org $01FEB4
jmp hijack_hide_all_winner_text
org $01FDDA
jmp hijack_winner_score_countdown
org $01FDFA
movea.l #$908524, A0 ; P1 winner score countdown position
org $01FE1E
movea.l #$908CA4, A0 ; P2 winner score countdown position
org $01FE5E ; Don't redecide winner after adding up winner bonus points
bra $01FE74
org $01FC62
jmp hijack_draw_final_bonus_scores_check_winner
org $01FCB4 ; Don't draw the 1p indicator when drawing final bonus scores
nop
nop
org $01FCE0 ; Don't draw the 2p indicator when drawing final bonus scores
nop
nop
org $01FCB8
movea.l #$908514, A0 ; P1 final bonus score position
org $01FCCA
movea.l #$908714, A0 ; P1 final bonus score position 2
org $01FCE4
movea.l #$908C94, A0 ; P2 final bonus score position
org $01FCF6
movea.l #$908E94, A0 ; P2 final bonus score position 2
org $0200C0
jmp hijack_bonus_time_points
; Bonus
; Car
org $004F8A
jmp hijack_bonus_stage_win_condition_checks
org $054352
jmp hijack_car_assign_points
org $054524
jmp hijack_car_assign_points
org $0546C2
jmp hijack_car_assign_points
org $054346
jmp hijack_add_destroyed_bonus_item_count ; Car left
org $054518
jmp hijack_add_destroyed_bonus_item_count ; Car right
org $0546B6
jmp hijack_add_destroyed_bonus_item_count ; Car front
; Car
; Glass
org $004FFA
jmp hijack_bonus_stage_win_condition_checks
org $0530C4
jmp hijack_glass_assign_points
org $05304A
jmp hijack_glass_assign_points
org $053106
jmp hijack_add_destroyed_bonus_item_count
; Glass
; Items, hit detection, etc
org $009C26
jmp score_assign_player_a6 ; Item pickup
org $0066A2
jmp score_assign_all_players
org $006A54
jmp score_assign_player_a0
org $007B66
jmp score_assign_player_a0
org $00CF14
jmp score_assign_player_a6
org $00D142
jmp score_assign_player_a6
org $00D3A2
jmp score_assign_player_a6
org $00D81C
jmp score_assign_player_a6
org $00E942
jmp score_assign_player_a6
org $03CEAE
jmp score_assign_enemy ; Hollywood's molotov
; Items, hit detection, etc
; Enemies
org $021F56
jmp check_score_assign_enemy_81 ; Bred and subtypes
org $0282C0
jmp check_score_assign_enemy_81 ; J and subtype
org $02A4A6
jmp check_score_assign_enemy_81 ; Axel and subtype
org $02CE58
jmp check_score_assign_enemy_b0 ; Andores
org $0327CA ; Oriber and subtypes, need to nop out the assign all players points check, handled later
nop
nop
nop
org $0327DA
jmp check_score_assign_enemy_a3 ; Oriber and subtypes
org $036346
jmp score_assign_enemy ; Hollywood and subtype
org $03A18E ; Roxy and Poison, need to nop out the assign all players points check, handled later
nop
nop
nop
org $03A19E
jmp check_score_assign_enemy_a2 ; Roxy and Poison
; Enemies
; Bosses
org $03ECD0
jmp score_assign_enemy_no_minus_check ; Damned
org $0426A6
jmp score_assign_enemy_no_minus_check ; Sodom
org $04777A
jmp score_assign_enemy_no_minus_check ; Edi E
org $04A0A2
jmp score_assign_enemy ; Rolento
org $04D4F6
jsr score_assign_enemy_no_minus_check ; Abigail
jmp $1b3e4.l ; Copied from $04D504
org $04FA10
jsr score_assign_enemy_no_minus_check ; Belgar
jmp $bda.w ; Copied from $04FA1E
; Bosses
; Breakable Objects
org $05170A
jmp score_assign_enemy_no_minus_check ; Doors
org $051978
jsr score_assign_enemy ; Metal Barrel
bra $051988
org $0520BE
jmp score_assign_enemy_no_minus_check ; Unknown, method handled minus before this
org $052390
jmp score_assign_enemy_no_minus_check ; Wood Crate
org $05254C
jmp score_assign_enemy_no_minus_check ; Trash Can
org $0527CE
jmp score_assign_enemy_no_minus_check ; Wood Barrel
org $052A98
jmp score_assign_enemy_no_minus_check ; Tires
org $052E1E
jmp score_assign_enemy_no_minus_check ; Telephone Booth
org $05396C
jmp score_assign_enemy_no_minus_check ; Metal Barrels 2
org $0552B6
jmp score_assign_enemy_no_minus_check ; Belgars Chair
org $05971C
jmp score_assign_enemy_no_minus_check ; Unknown 2
; Breakable Objects