-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.noi
356 lines (356 loc) · 6.82 KB
/
main.noi
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
DEF .__.ABS. 0x0
DEF l__CABS 0x0
DEF l__CODE_0 0x0
DEF l__DABS 0x0
DEF l__HEADER 0x0
DEF l__HEAP 0x0
DEF l__HRAM 0x0
DEF l__LIT 0x0
DEF l__SFR 0x0
DEF s__CABS 0x0
DEF s__DABS 0x0
DEF s__HEADER 0x0
DEF s__HEADER0 0x0
DEF s__HEADER1 0x0
DEF s__HEADER10 0x0
DEF s__HEADER11 0x0
DEF s__HEADER2 0x0
DEF s__HEADER3 0x0
DEF s__HEADER4 0x0
DEF s__HEADER5 0x0
DEF s__HEADER6 0x0
DEF s__HEADER7 0x0
DEF s__HEADER8 0x0
DEF s__HEADER9 0x0
DEF s__HEADERa 0x0
DEF s__HEADERb 0x0
DEF s__HEADERc 0x0
DEF s__HEADERd 0x0
DEF s__HEADERe 0x0
DEF s__HEADERf 0x0
DEF s__HRAM 0x0
DEF s__HRAM12 0x0
DEF s__SFR 0x0
DEF s__SFR0 0x0
DEF s__SFR1 0x0
DEF s__SFR10 0x0
DEF s__SFR11 0x0
DEF s__SFR12 0x0
DEF s__SFR13 0x0
DEF s__SFR14 0x0
DEF s__SFR15 0x0
DEF s__SFR16 0x0
DEF s__SFR17 0x0
DEF s__SFR18 0x0
DEF s__SFR19 0x0
DEF s__SFR1a 0x0
DEF s__SFR1b 0x0
DEF s__SFR1c 0x0
DEF s__SFR1d 0x0
DEF s__SFR1e 0x0
DEF s__SFR1f 0x0
DEF s__SFR2 0x0
DEF s__SFR20 0x0
DEF s__SFR21 0x0
DEF s__SFR22 0x0
DEF s__SFR23 0x0
DEF s__SFR24 0x0
DEF s__SFR25 0x0
DEF s__SFR26 0x0
DEF s__SFR27 0x0
DEF s__SFR28 0x0
DEF s__SFR29 0x0
DEF s__SFR2a 0x0
DEF s__SFR2b 0x0
DEF s__SFR2c 0x0
DEF s__SFR2d 0x0
DEF s__SFR2e 0x0
DEF s__SFR2f 0x0
DEF s__SFR3 0x0
DEF s__SFR30 0x0
DEF s__SFR31 0x0
DEF s__SFR32 0x0
DEF s__SFR33 0x0
DEF s__SFR34 0x0
DEF s__SFR35 0x0
DEF s__SFR36 0x0
DEF s__SFR4 0x0
DEF s__SFR5 0x0
DEF s__SFR6 0x0
DEF s__SFR7 0x0
DEF s__SFR8 0x0
DEF s__SFR9 0x0
DEF s__SFRa 0x0
DEF s__SFRb 0x0
DEF s__SFRc 0x0
DEF s__SFRd 0x0
DEF s__SFRe 0x0
DEF s__SFRf 0x0
DEF l__GSFINAL 0x1
DEF l__HEADER0 0x1
DEF l__HEADER11 0x1
DEF l__HEADER9 0x1
DEF l__HEADERa 0x1
DEF l__HEADERb 0x1
DEF l__HEADERd 0x1
DEF l__HEADERe 0x1
DEF l__SFR0 0x1
DEF l__SFR1 0x1
DEF l__SFR10 0x1
DEF l__SFR11 0x1
DEF l__SFR12 0x1
DEF l__SFR13 0x1
DEF l__SFR14 0x1
DEF l__SFR15 0x1
DEF l__SFR16 0x1
DEF l__SFR17 0x1
DEF l__SFR18 0x1
DEF l__SFR19 0x1
DEF l__SFR1a 0x1
DEF l__SFR1b 0x1
DEF l__SFR1c 0x1
DEF l__SFR1d 0x1
DEF l__SFR1e 0x1
DEF l__SFR1f 0x1
DEF l__SFR2 0x1
DEF l__SFR20 0x1
DEF l__SFR21 0x1
DEF l__SFR22 0x1
DEF l__SFR23 0x1
DEF l__SFR24 0x1
DEF l__SFR25 0x1
DEF l__SFR26 0x1
DEF l__SFR27 0x1
DEF l__SFR28 0x1
DEF l__SFR29 0x1
DEF l__SFR2a 0x1
DEF l__SFR2b 0x1
DEF l__SFR2c 0x1
DEF l__SFR2d 0x1
DEF l__SFR2e 0x1
DEF l__SFR2f 0x1
DEF l__SFR3 0x1
DEF l__SFR30 0x1
DEF l__SFR31 0x1
DEF l__SFR32 0x1
DEF l__SFR33 0x1
DEF l__SFR34 0x1
DEF l__SFR35 0x1
DEF l__SFR36 0x1
DEF l__SFR4 0x1
DEF l__SFR5 0x1
DEF l__SFR6 0x1
DEF l__SFR7 0x1
DEF l__SFR8 0x1
DEF l__SFR9 0x1
DEF l__SFRa 0x1
DEF l__SFRb 0x1
DEF l__SFRc 0x1
DEF l__SFRd 0x1
DEF l__SFRe 0x1
DEF l__SFRf 0x1
DEF l__HEADER5 0x2
DEF l__HEADERc 0x2
DEF l__HEADERf 0x2
DEF l__HEADER8 0x3
DEF l__HRAM12 0x3
DEF l__HEADER1 0x5
DEF l__HEADER7 0x6
DEF l__HEADER2 0x7
DEF l__HEADER3 0x8
DEF l__BSS 0x18
DEF l__INITIALIZED 0x1B
DEF l__INITIALIZER 0x1B
DEF l__GSINIT 0x26
DEF l__HEADER4 0x2C
DEF l__DATA 0x2D
DEF l__HEADER6 0x30
DEF l__HOME 0x6A
DEF l__HEADER10 0x83
DEF l__BASE 0xE9
DEF s__CODE 0x200
DEF l__CODE 0x4924
DEF s__HOME 0x4B24
DEF s__BASE 0x4B8E
DEF s__CODE_0 0x4C77
DEF s__INITIALIZER 0x4C77
DEF s__LIT 0x4C77
DEF s__GSINIT 0x4C92
DEF s__GSFINAL 0x4CB8
DEF _shadow_OAM 0xC000
DEF s__DATA 0xC0A0
DEF s__BSS 0xC0CD
DEF s__INITIALIZED 0xC0E5
DEF s__HEAP 0xC100
DEF .STACK 0xE000
DEF .refresh_OAM 0xFF80
DEF _performantdelay 0x200
DEF _car_light 0x20D
DEF _car_dark 0x60D
DEF _map 0xA0D
DEF _ball_sprite 0xCAD
DEF _bkg_tiles 0xCED
DEF _pocket_league_data 0xFAD
DEF _pocket_league_map 0x19DD
DEF _goal_screen_game_data 0x1B45
DEF _goal_screen_game_map 0x2645
DEF _ball_sprite2 0x27AD
DEF _load_ball_sprite 0x28AD
DEF _check_collision 0x2905
DEF _is_goal 0x2AF4
DEF _y_barrier 0x2BEC
DEF _goal 0x2C34
DEF _x_barrier 0x2CA1
DEF _load_car_sprite 0x2CE9
DEF _load_ai_sprite 0x2D21
DEF _movegamecharacter 0x2D5B
DEF _setup_ball 0x2DE2
DEF _setupcar_light 0x2E2B
DEF _setupcar_dark 0x2E79
DEF _move_car 0x2ED1
DEF _move_ball 0x34E8
DEF _move_ai 0x3CE9
DEF _control_ai 0x44F3
DEF _reset1 0x45CC
DEF _reflectx 0x4609
DEF _reflecty 0x4625
DEF _hit_ball 0x4639
DEF _hit_ball_ai 0x46C7
DEF _main 0x4755
DEF _abs 0x49EE
DEF __divsuchar 0x49FD
DEF __modsuchar 0x4A0A
DEF __divuschar 0x4A14
DEF __moduschar 0x4A26
DEF __divschar 0x4A36
DEF __modschar 0x4A42
DEF __divsint 0x4A4C
DEF __modsint 0x4A5D
DEF __divuchar 0x4A6C
DEF __moduchar 0x4A78
DEF __divuint 0x4A82
DEF __moduint 0x4A93
DEF .div8 0x4AA2
DEF .mod8 0x4AA2
DEF .div16 0x4AAA
DEF .mod16 0x4AAA
DEF .divu8 0x4AE0
DEF .modu8 0x4AE0
DEF .divu16 0x4AE3
DEF .modu16 0x4AE3
DEF .call_hl 0x20
DEF .MemsetSmall 0x28
DEF .MemcpySmall 0x30
DEF .int 0x80
DEF _wait_int_handler 0x8F
DEF __standard_VBL_handler 0x9C
DEF .reset 0x150
DEF _reset 0x150
DEF .code_start 0x153
DEF _exit 0x1B4
DEF _enable_interrupts 0x1B8
DEF _disable_interrupts 0x1BA
DEF _set_interrupts 0x1BC
DEF .remove_VBL 0x4B24
DEF .remove_int 0x4B27
DEF .add_VBL 0x4B44
DEF .add_int 0x4B47
DEF .wait_vbl_done 0x4B52
DEF _wait_vbl_done 0x4B52
DEF .display_off 0x4B61
DEF _display_off 0x4B61
DEF _remove_VBL 0x4B78
DEF _add_VBL 0x4B83
DEF _set_tile_data 0x4B8E
DEF _set_bkg_data 0x4B93
DEF _set_win_data 0x4B93
DEF _set_sprite_data 0x4B9B
DEF .padup 0x4BCB
DEF _waitpadup 0x4BCB
DEF .jpad 0x4BDB
DEF _joypad 0x4BDB
DEF _waitpad 0x4C03
DEF .wait_pad 0x4C06
DEF _set_bkg_tiles 0x4C0D
DEF .set_xy_wtt 0x4C21
DEF .set_xy_btt 0x4C2A
DEF .set_xy_tt 0x4C39
DEF gsinit 0x4C92
DEF _car1 0xC0A0
DEF _car2 0xC0AF
DEF _ball 0xC0BE
DEF __cpu 0xC0CD
DEF .mode 0xC0CE
DEF .sys_time 0xC0CF
DEF _sys_time 0xC0CF
DEF .int_0x40 0xC0D1
DEF _barrier_size 0xC0E5
DEF _goal_size 0xC0E6
DEF _player_goals 0xC0E7
DEF _enemy_goals 0xC0E8
DEF _barriers 0xC0E9
DEF _player_goal_square 0xC0EB
DEF _enemy_goal_square 0xC0F1
DEF _was_hitting 0xC0F7
DEF _was_hitting_ai 0xC0F8
DEF _windowmap 0xC0F9
DEF _max_vel 0xC0FE
DEF _spritesize 0xC0FF
DEF __current_bank 0xFF90
DEF __shadow_OAM_base 0xFF92
DEF _P1_REG 0xFF00
DEF _SB_REG 0xFF01
DEF _SC_REG 0xFF02
DEF _DIV_REG 0xFF04
DEF _TIMA_REG 0xFF05
DEF _TMA_REG 0xFF06
DEF _TAC_REG 0xFF07
DEF _IF_REG 0xFF0F
DEF _NR10_REG 0xFF10
DEF _NR11_REG 0xFF11
DEF _NR12_REG 0xFF12
DEF _NR13_REG 0xFF13
DEF _NR14_REG 0xFF14
DEF _NR21_REG 0xFF16
DEF _NR22_REG 0xFF17
DEF _NR23_REG 0xFF18
DEF _NR24_REG 0xFF19
DEF _NR30_REG 0xFF1A
DEF _NR31_REG 0xFF1B
DEF _NR32_REG 0xFF1C
DEF _NR33_REG 0xFF1D
DEF _NR34_REG 0xFF1E
DEF _NR41_REG 0xFF20
DEF _NR42_REG 0xFF21
DEF _NR43_REG 0xFF22
DEF _NR44_REG 0xFF23
DEF _NR50_REG 0xFF24
DEF _NR51_REG 0xFF25
DEF _NR52_REG 0xFF26
DEF _LCDC_REG 0xFF40
DEF _STAT_REG 0xFF41
DEF _SCY_REG 0xFF42
DEF _SCX_REG 0xFF43
DEF _LY_REG 0xFF44
DEF _LYC_REG 0xFF45
DEF _DMA_REG 0xFF46
DEF _BGP_REG 0xFF47
DEF _OBP0_REG 0xFF48
DEF _OBP1_REG 0xFF49
DEF _WY_REG 0xFF4A
DEF _WX_REG 0xFF4B
DEF _KEY1_REG 0xFF4D
DEF _VBK_REG 0xFF4F
DEF _HDMA1_REG 0xFF51
DEF _HDMA2_REG 0xFF52
DEF _HDMA3_REG 0xFF53
DEF _HDMA4_REG 0xFF54
DEF _HDMA5_REG 0xFF55
DEF _RP_REG 0xFF56
DEF _BCPS_REG 0xFF68
DEF _BCPD_REG 0xFF69
DEF _OCPS_REG 0xFF6A
DEF _OCPD_REG 0xFF6B
DEF _SVBK_REG 0xFF70
DEF _IE_REG 0xFFFF
LOAD main.ihx