Browse Source

restore files

SBird1337 7 years ago
parent
commit
336eaa5c23

+ 6147
- 0
data/overworld/overworld_data.s
File diff suppressed because it is too large
View File


+ 16537
- 0
data/overworld/overworld_frames.s
File diff suppressed because it is too large
View File


+ 1546
- 0
data/overworld/overworld_pal_table.s
File diff suppressed because it is too large
View File


+ 790
- 0
data/overworld/overworld_tables.s View File

@@ -0,0 +1,790 @@
1
+.section .rodata
2
+.thumb
3
+
4
+.global ow_main_table
5
+.global ow_second_table
6
+.global ow_third_table
7
+
8
+ow_main_table:
9
+    .word ow_maintable_1
10
+ow_second_table:
11
+    .word ow_maintable_2
12
+ow_third_table:
13
+    .word ow_maintable_3
14
+
15
+.align 2
16
+ow_maintable_1: 
17
+.word ow_data_0
18
+.word ow_data_1
19
+.word ow_data_2
20
+.word ow_data_3
21
+.word ow_data_4
22
+.word ow_data_5
23
+.word ow_data_6
24
+.word ow_data_7
25
+.word ow_data_8
26
+.word ow_data_9
27
+.word ow_data_10
28
+.word ow_data_11
29
+.word ow_data_12
30
+.word ow_data_13
31
+.word ow_data_14
32
+.word ow_data_15
33
+.word ow_data_16
34
+.word ow_data_17
35
+.word ow_data_18
36
+.word ow_data_19
37
+.word ow_data_20
38
+.word ow_data_21
39
+.word ow_data_22
40
+.word ow_data_23
41
+.word ow_data_24
42
+.word ow_data_25
43
+.word ow_data_26
44
+.word ow_data_27
45
+.word ow_data_28
46
+.word ow_data_29
47
+.word ow_data_30
48
+.word ow_data_31
49
+.word ow_data_32
50
+.word ow_data_33
51
+.word ow_data_34
52
+.word ow_data_35
53
+.word ow_data_36
54
+.word ow_data_37
55
+.word ow_data_38
56
+.word ow_data_39
57
+.word ow_data_40
58
+.word ow_data_41
59
+.word ow_data_42
60
+.word ow_data_43
61
+.word ow_data_44
62
+.word ow_data_45
63
+.word ow_data_46
64
+.word ow_data_47
65
+.word ow_data_48
66
+.word ow_data_49
67
+.word ow_data_50
68
+.word ow_data_51
69
+.word ow_data_52
70
+.word ow_data_53
71
+.word ow_data_54
72
+.word ow_data_55
73
+.word ow_data_56
74
+.word ow_data_57
75
+.word ow_data_58
76
+.word ow_data_59
77
+.word ow_data_60
78
+.word ow_data_61
79
+.word ow_data_62
80
+.word ow_data_63
81
+.word ow_data_64
82
+.word ow_data_65
83
+.word ow_data_66
84
+.word ow_data_67
85
+.word ow_data_68
86
+.word ow_data_69
87
+.word ow_data_70
88
+.word ow_data_71
89
+.word ow_data_72
90
+.word ow_data_73
91
+.word ow_data_74
92
+.word ow_data_75
93
+.word ow_data_76
94
+.word ow_data_77
95
+.word ow_data_78
96
+.word ow_data_79
97
+.word ow_data_80
98
+.word ow_data_81
99
+.word ow_data_82
100
+.word ow_data_83
101
+.word ow_data_84
102
+.word ow_data_85
103
+.word ow_data_86
104
+.word ow_data_87
105
+.word ow_data_88
106
+.word ow_data_89
107
+.word ow_data_90
108
+.word ow_data_91
109
+.word ow_data_92
110
+.word ow_data_93
111
+.word ow_data_94
112
+.word ow_data_95
113
+.word ow_data_96
114
+.word ow_data_97
115
+.word ow_data_98
116
+.word ow_data_99
117
+.word ow_data_100
118
+.word ow_data_101
119
+.word ow_data_102
120
+.word ow_data_103
121
+.word ow_data_104
122
+.word ow_data_105
123
+.word ow_data_106
124
+.word ow_data_107
125
+.word ow_data_108
126
+.word ow_data_109
127
+.word ow_data_110
128
+.word ow_data_111
129
+.word ow_data_112
130
+.word ow_data_113
131
+.word ow_data_114
132
+.word ow_data_115
133
+.word ow_data_116
134
+.word ow_data_117
135
+.word ow_data_118
136
+.word ow_data_119
137
+.word ow_data_120
138
+.word ow_data_121
139
+.word ow_data_122
140
+.word ow_data_123
141
+.word ow_data_124
142
+.word ow_data_125
143
+.word ow_data_126
144
+.word ow_data_127
145
+.word ow_data_128
146
+.word ow_data_129
147
+.word ow_data_130
148
+.word ow_data_131
149
+.word ow_data_132
150
+.word ow_data_133
151
+.word ow_data_134
152
+.word ow_data_135
153
+.word ow_data_136
154
+.word ow_data_137
155
+.word ow_data_138
156
+.word ow_data_139
157
+.word ow_data_140
158
+.word ow_data_141
159
+.word ow_data_142
160
+.word ow_data_143
161
+.word ow_data_144
162
+.word ow_data_145
163
+.word ow_data_146
164
+.word ow_data_147
165
+.word ow_data_148
166
+.word ow_data_149
167
+.word ow_data_150
168
+.word ow_data_151
169
+.word ow_data_152
170
+.word ow_data_153
171
+.word ow_data_154
172
+.word ow_data_155
173
+.word ow_data_156
174
+.word ow_data_157
175
+.word ow_data_158
176
+.word ow_data_159
177
+.word ow_data_160
178
+.word ow_data_161
179
+.word ow_data_162
180
+.word ow_data_163
181
+.word ow_data_164
182
+.word ow_data_165
183
+.word ow_data_166
184
+.word ow_data_167
185
+.word ow_data_168
186
+.word ow_data_169
187
+.word ow_data_170
188
+.word ow_data_171
189
+.word ow_data_172
190
+.word ow_data_173
191
+.word ow_data_174
192
+.word ow_data_175
193
+.word ow_data_176
194
+.word ow_data_177
195
+.word ow_data_178
196
+.word ow_data_179
197
+.word ow_data_180
198
+.word ow_data_181
199
+.word ow_data_182
200
+.word ow_data_183
201
+.word ow_data_184
202
+.word ow_data_185
203
+.word ow_data_186
204
+.word ow_data_187
205
+.word ow_data_188
206
+.word ow_data_189
207
+.word ow_data_190
208
+.word ow_data_191
209
+.word ow_data_192
210
+.word ow_data_193
211
+.word ow_data_194
212
+.word ow_data_195
213
+.word ow_data_196
214
+.word ow_data_197
215
+.word ow_data_198
216
+.word ow_data_199
217
+.word ow_data_200
218
+.word ow_data_201
219
+.word ow_data_202
220
+.word ow_data_203
221
+.word ow_data_204
222
+.word ow_data_205
223
+.word ow_data_206
224
+.word ow_data_207
225
+.word ow_data_208
226
+.word ow_data_209
227
+.word ow_data_210
228
+.word ow_data_211
229
+.word ow_data_212
230
+.word ow_data_213
231
+.word ow_data_214
232
+.word ow_data_215
233
+.word ow_data_216
234
+.word ow_data_217
235
+.word ow_data_218
236
+.word ow_data_219
237
+.word ow_data_220
238
+.word ow_data_221
239
+.word ow_data_222
240
+.word ow_data_223
241
+.word ow_data_224
242
+.word ow_data_225
243
+.word ow_data_226
244
+.word ow_data_227
245
+.word ow_data_228
246
+.word ow_data_229
247
+.word ow_data_230
248
+.word ow_data_231
249
+.word ow_data_232
250
+.word ow_data_233
251
+.word ow_data_234
252
+.word ow_data_235
253
+.word ow_data_236
254
+.word ow_data_237
255
+.word ow_data_238
256
+.word ow_data_239
257
+.word ow_data_240
258
+.word ow_data_241
259
+.word ow_data_242
260
+.word ow_data_243
261
+.word ow_data_244
262
+.word ow_data_245
263
+.word ow_data_246
264
+.word ow_data_247
265
+.word ow_data_248
266
+.word ow_data_249
267
+.word ow_data_250
268
+.word ow_data_251
269
+.word ow_data_252
270
+.word ow_data_253
271
+.word ow_data_254
272
+.word ow_data_255
273
+
274
+.global ow_maintable_2
275
+ow_maintable_2:
276
+.word ow_data_256
277
+.word ow_data_257
278
+.word ow_data_258
279
+.word ow_data_259
280
+.word ow_data_260
281
+.word ow_data_261
282
+.word ow_data_262
283
+.word ow_data_263
284
+.word ow_data_264
285
+.word ow_data_265
286
+.word ow_data_266
287
+.word ow_data_267
288
+.word ow_data_268
289
+.word ow_data_269
290
+.word ow_data_270
291
+.word ow_data_271
292
+.word ow_data_272
293
+.word ow_data_273
294
+.word ow_data_274
295
+.word ow_data_275
296
+.word ow_data_276
297
+.word ow_data_277
298
+.word ow_data_278
299
+.word ow_data_279
300
+.word ow_data_280
301
+.word ow_data_281
302
+.word ow_data_282
303
+.word ow_data_283
304
+.word ow_data_284
305
+.word ow_data_285
306
+.word ow_data_286
307
+.word ow_data_287
308
+.word ow_data_288
309
+.word ow_data_289
310
+.word ow_data_290
311
+.word ow_data_291
312
+.word ow_data_292
313
+.word ow_data_293
314
+.word ow_data_294
315
+.word ow_data_295
316
+.word ow_data_296
317
+.word ow_data_297
318
+.word ow_data_298
319
+.word ow_data_299
320
+.word ow_data_300
321
+.word ow_data_301
322
+.word ow_data_302
323
+.word ow_data_303
324
+.word ow_data_304
325
+.word ow_data_305
326
+.word ow_data_306
327
+.word ow_data_307
328
+.word ow_data_308
329
+.word ow_data_309
330
+.word ow_data_310
331
+.word ow_data_311
332
+.word ow_data_312
333
+.word ow_data_313
334
+.word ow_data_314
335
+.word ow_data_315
336
+.word ow_data_316
337
+.word ow_data_317
338
+.word ow_data_318
339
+.word ow_data_319
340
+.word ow_data_320
341
+.word ow_data_321
342
+.word ow_data_322
343
+.word ow_data_323
344
+.word ow_data_324
345
+.word ow_data_325
346
+.word ow_data_326
347
+.word ow_data_327
348
+.word ow_data_328
349
+.word ow_data_329
350
+.word ow_data_330
351
+.word ow_data_331
352
+.word ow_data_332
353
+.word ow_data_333
354
+.word ow_data_334
355
+.word ow_data_335
356
+.word ow_data_336
357
+.word ow_data_337
358
+.word ow_data_338
359
+.word ow_data_339
360
+.word ow_data_340
361
+.word ow_data_341
362
+.word ow_data_342
363
+.word ow_data_343
364
+.word ow_data_344
365
+.word ow_data_345
366
+.word ow_data_346
367
+.word ow_data_347
368
+.word ow_data_348
369
+.word ow_data_349
370
+.word ow_data_350
371
+.word ow_data_351
372
+.word ow_data_352
373
+.word ow_data_353
374
+.word ow_data_354
375
+.word ow_data_355
376
+.word ow_data_356
377
+.word ow_data_357
378
+.word ow_data_358
379
+.word ow_data_359
380
+.word ow_data_360
381
+.word ow_data_361
382
+.word ow_data_362
383
+.word ow_data_363
384
+.word ow_data_364
385
+.word ow_data_365
386
+.word ow_data_366
387
+.word ow_data_367
388
+.word ow_data_368
389
+.word ow_data_369
390
+.word ow_data_370
391
+.word ow_data_371
392
+.word ow_data_372
393
+.word ow_data_373
394
+.word ow_data_374
395
+.word ow_data_375
396
+.word ow_data_376
397
+.word ow_data_377
398
+.word ow_data_378
399
+.word ow_data_379
400
+.word ow_data_380
401
+.word ow_data_381
402
+.word ow_data_382
403
+.word ow_data_383
404
+.word ow_data_384
405
+.word ow_data_385
406
+.word ow_data_386
407
+.word ow_data_387
408
+.word ow_data_388
409
+.word ow_data_389
410
+.word ow_data_390
411
+.word ow_data_391
412
+.word ow_data_392
413
+.word ow_data_393
414
+.word ow_data_394
415
+.word ow_data_395
416
+.word ow_data_396
417
+.word ow_data_397
418
+.word ow_data_398
419
+.word ow_data_399
420
+.word ow_data_400
421
+.word ow_data_401
422
+.word ow_data_402
423
+.word ow_data_403
424
+.word ow_data_404
425
+.word ow_data_405
426
+.word ow_data_406
427
+.word ow_data_407
428
+.word ow_data_408
429
+.word ow_data_409
430
+.word ow_data_410
431
+.word ow_data_411
432
+.word ow_data_412
433
+.word ow_data_413
434
+.word ow_data_414
435
+.word ow_data_415
436
+.word ow_data_416
437
+.word ow_data_417
438
+.word ow_data_418
439
+.word ow_data_419
440
+.word ow_data_420
441
+.word ow_data_421
442
+.word ow_data_422
443
+.word ow_data_423
444
+.word ow_data_424
445
+.word ow_data_425
446
+.word ow_data_426
447
+.word ow_data_427
448
+.word ow_data_428
449
+.word ow_data_429
450
+.word ow_data_430
451
+.word ow_data_431
452
+.word ow_data_432
453
+.word ow_data_433
454
+.word ow_data_434
455
+.word ow_data_435
456
+.word ow_data_436
457
+.word ow_data_437
458
+.word ow_data_438
459
+.word ow_data_439
460
+.word ow_data_440
461
+.word ow_data_441
462
+.word ow_data_442
463
+.word ow_data_443
464
+.word ow_data_444
465
+.word ow_data_445
466
+.word ow_data_446
467
+.word ow_data_447
468
+.word ow_data_448
469
+.word ow_data_449
470
+.word ow_data_450
471
+.word ow_data_451
472
+.word ow_data_452
473
+.word ow_data_453
474
+.word ow_data_454
475
+.word ow_data_455
476
+.word ow_data_456
477
+.word ow_data_457
478
+.word ow_data_458
479
+.word ow_data_459
480
+.word ow_data_460
481
+.word ow_data_461
482
+.word ow_data_462
483
+.word ow_data_463
484
+.word ow_data_464
485
+.word ow_data_465
486
+.word ow_data_466
487
+.word ow_data_467
488
+.word ow_data_468
489
+.word ow_data_469
490
+.word ow_data_470
491
+.word ow_data_471
492
+.word ow_data_472
493
+.word ow_data_473
494
+.word ow_data_474
495
+.word ow_data_475
496
+.word ow_data_476
497
+.word ow_data_477
498
+.word ow_data_478
499
+.word ow_data_479
500
+.word ow_data_480
501
+.word ow_data_481
502
+.word ow_data_482
503
+.word ow_data_483
504
+.word ow_data_484
505
+.word ow_data_485
506
+.word ow_data_486
507
+.word ow_data_487
508
+.word ow_data_488
509
+.word ow_data_489
510
+.word ow_data_490
511
+.word ow_data_491
512
+.word ow_data_492
513
+.word ow_data_493
514
+.word ow_data_494
515
+.word ow_data_495
516
+.word ow_data_496
517
+.word ow_data_497
518
+.word ow_data_498
519
+.word ow_data_499
520
+.word ow_data_500
521
+.word ow_data_501
522
+.word ow_data_502
523
+.word ow_data_503
524
+.word ow_data_504
525
+.word ow_data_505
526
+.word ow_data_506
527
+.word ow_data_507
528
+.word ow_data_508
529
+.word ow_data_509
530
+.word ow_data_510
531
+.word ow_data_511
532
+.word ow_data_512
533
+
534
+.global ow_maintable_3
535
+ow_maintable_3:
536
+.word ow_data_513
537
+.word ow_data_514
538
+.word ow_data_515
539
+.word ow_data_516
540
+.word ow_data_517
541
+.word ow_data_518
542
+.word ow_data_519
543
+.word ow_data_520
544
+.word ow_data_521
545
+.word ow_data_522
546
+.word ow_data_523
547
+.word ow_data_524
548
+.word ow_data_525
549
+.word ow_data_526
550
+.word ow_data_527
551
+.word ow_data_528
552
+.word ow_data_529
553
+.word ow_data_530
554
+.word ow_data_531
555
+.word ow_data_532
556
+.word ow_data_533
557
+.word ow_data_534
558
+.word ow_data_535
559
+.word ow_data_536
560
+.word ow_data_537
561
+.word ow_data_538
562
+.word ow_data_539
563
+.word ow_data_540
564
+.word ow_data_541
565
+.word ow_data_542
566
+.word ow_data_543
567
+.word ow_data_544
568
+.word ow_data_545
569
+.word ow_data_546
570
+.word ow_data_547
571
+.word ow_data_548
572
+.word ow_data_549
573
+.word ow_data_550
574
+.word ow_data_551
575
+.word ow_data_552
576
+.word ow_data_553
577
+.word ow_data_554
578
+.word ow_data_555
579
+.word ow_data_556
580
+.word ow_data_557
581
+.word ow_data_558
582
+.word ow_data_559
583
+.word ow_data_560
584
+.word ow_data_561
585
+.word ow_data_562
586
+.word ow_data_563
587
+.word ow_data_564
588
+.word ow_data_565
589
+.word ow_data_566
590
+.word ow_data_567
591
+.word ow_data_568
592
+.word ow_data_569
593
+.word ow_data_570
594
+.word ow_data_571
595
+.word ow_data_572
596
+.word ow_data_573
597
+.word ow_data_574
598
+.word ow_data_575
599
+.word ow_data_576
600
+.word ow_data_577
601
+.word ow_data_578
602
+.word ow_data_579
603
+.word ow_data_580
604
+.word ow_data_581
605
+.word ow_data_582
606
+.word ow_data_583
607
+.word ow_data_584
608
+.word ow_data_585
609
+.word ow_data_586
610
+.word ow_data_587
611
+.word ow_data_588
612
+.word ow_data_589
613
+.word ow_data_590
614
+.word ow_data_591
615
+.word ow_data_592
616
+.word ow_data_593
617
+.word ow_data_594
618
+.word ow_data_595
619
+.word ow_data_596
620
+.word ow_data_597
621
+.word ow_data_598
622
+.word ow_data_599
623
+.word ow_data_600
624
+.word ow_data_601
625
+.word ow_data_602
626
+.word ow_data_603
627
+.word ow_data_604
628
+.word ow_data_605
629
+.word ow_data_606
630
+.word ow_data_607
631
+.word ow_data_608
632
+.word ow_data_609
633
+.word ow_data_610
634
+.word ow_data_611
635
+.word ow_data_612
636
+.word ow_data_613
637
+.word ow_data_614
638
+.word ow_data_615
639
+.word ow_data_616
640
+.word ow_data_617
641
+.word ow_data_618
642
+.word ow_data_619
643
+.word ow_data_620
644
+.word ow_data_621
645
+.word ow_data_622
646
+.word ow_data_623
647
+.word ow_data_624
648
+.word ow_data_625
649
+.word ow_data_626
650
+.word ow_data_627
651
+.word ow_data_628
652
+.word ow_data_629
653
+.word ow_data_630
654
+.word ow_data_631
655
+.word ow_data_632
656
+.word ow_data_633
657
+.word ow_data_634
658
+.word ow_data_635
659
+.word ow_data_636
660
+.word ow_data_637
661
+.word ow_data_638
662
+.word ow_data_639
663
+.word ow_data_640
664
+.word ow_data_641
665
+.word ow_data_642
666
+.word ow_data_643
667
+.word ow_data_644
668
+.word ow_data_645
669
+.word ow_data_646
670
+.word ow_data_647
671
+.word ow_data_648
672
+.word ow_data_649
673
+.word ow_data_650
674
+.word ow_data_651
675
+.word ow_data_652
676
+.word ow_data_653
677
+.word ow_data_654
678
+.word ow_data_655
679
+.word ow_data_656
680
+.word ow_data_657
681
+.word ow_data_658
682
+.word ow_data_659
683
+.word ow_data_660
684
+.word ow_data_661
685
+.word ow_data_662
686
+.word ow_data_663
687
+.word ow_data_664
688
+.word ow_data_665
689
+.word ow_data_666
690
+.word ow_data_667
691
+.word ow_data_668
692
+.word ow_data_669
693
+.word ow_data_670
694
+.word ow_data_671
695
+.word ow_data_672
696
+.word ow_data_673
697
+.word ow_data_674
698
+.word ow_data_675
699
+.word ow_data_676
700
+.word ow_data_677
701
+.word ow_data_678
702
+.word ow_data_679
703
+.word ow_data_680
704
+.word ow_data_681
705
+.word ow_data_682
706
+.word ow_data_683
707
+.word ow_data_684
708
+.word ow_data_685
709
+.word ow_data_686
710
+.word ow_data_687
711
+.word ow_data_688
712
+.word ow_data_689
713
+.word ow_data_690
714
+.word ow_data_691
715
+.word ow_data_692
716
+.word ow_data_693
717
+.word ow_data_694
718
+.word ow_data_695
719
+.word ow_data_696
720
+.word ow_data_697
721
+.word ow_data_698
722
+.word ow_data_699
723
+.word ow_data_700
724
+.word ow_data_701
725
+.word ow_data_702
726
+.word ow_data_703
727
+.word ow_data_704
728
+.word ow_data_705
729
+.word ow_data_706
730
+.word ow_data_707
731
+.word ow_data_708
732
+.word ow_data_709
733
+.word ow_data_710
734
+.word ow_data_711
735
+.word ow_data_712
736
+.word ow_data_713
737
+.word ow_data_714
738
+.word ow_data_715
739
+.word ow_data_716
740
+.word ow_data_717
741
+.word ow_data_718
742
+.word ow_data_719
743
+.word ow_data_720
744
+.word ow_data_721
745
+.word ow_data_722
746
+.word ow_data_723
747
+.word ow_data_724
748
+.word ow_data_725
749
+.word ow_data_726
750
+.word ow_data_727
751
+.word ow_data_728
752
+.word ow_data_729
753
+.word ow_data_730
754
+.word ow_data_731
755
+.word ow_data_732
756
+.word ow_data_733
757
+.word ow_data_734
758
+.word ow_data_735
759
+.word ow_data_736
760
+.word ow_data_737
761
+.word ow_data_738
762
+.word ow_data_739
763
+.word ow_data_740
764
+.word ow_data_741
765
+.word ow_data_742
766
+.word ow_data_743
767
+.word ow_data_744
768
+.word ow_data_745
769
+.word ow_data_746
770
+.word ow_data_747
771
+.word ow_data_748
772
+.word ow_data_749
773
+.word ow_data_750
774
+.word ow_data_751
775
+.word ow_data_752
776
+.word ow_data_753
777
+.word ow_data_754
778
+.word ow_data_755
779
+.word ow_data_756
780
+.word ow_data_757
781
+.word ow_data_758
782
+.word ow_data_759
783
+.word ow_data_760
784
+.word ow_data_761
785
+.word ow_data_762
786
+.word ow_data_763
787
+.word ow_data_764
788
+.word ow_data_765
789
+.word ow_data_766
790
+.word ow_data_767

+ 1264
- 0
data/overworld/wild_pokemon_data.s
File diff suppressed because it is too large
View File


+ 7
- 0
data/pkmn_tables/pokemon_enemy_altitude_table.s View File

@@ -0,0 +1,7 @@
1
+.align 2
2
+.thumb
3
+.text
4
+
5
+.global pkmn_enemy_altitude_table
6
+pkmn_enemy_altitude_table:
7
+.incbin "data/pkmn_tables/pkmn_enemy_altitude_table_dump.bin"

+ 7
- 0
data/pkmn_tables/pokemon_enemy_y_table.s View File

@@ -0,0 +1,7 @@
1
+.align 2
2
+.thumb
3
+.text
4
+
5
+.global pokemon_enemy_y_table
6
+pokemon_enemy_y_table:
7
+.incbin "data/pkmn_tables/pkmn_enemy_y_table_dump.bin"

+ 2012
- 0
data/pkmn_tables/pokemon_footprints.s
File diff suppressed because it is too large
View File


+ 1203
- 0
data/pkmn_tables/pokemon_move_tutor.s
File diff suppressed because it is too large
View File


+ 7
- 0
data/pkmn_tables/pokemon_player_y_table.s View File

@@ -0,0 +1,7 @@
1
+.align 2
2
+.thumb
3
+.text
4
+
5
+.global pokemon_player_xy_table
6
+pokemon_player_xy_table:
7
+.incbin "data/pkmn_tables/pkmn_player_y_table_dump.bin"

+ 1205
- 0
data/pkmn_tables/pokemon_tm_vm.s
File diff suppressed because it is too large
View File


+ 19
- 0
data/raw_defines.s View File

@@ -0,0 +1,19 @@
1
+.align 2
2
+.thumb
3
+.text
4
+
5
+/*.global objects
6
+objects:
7
+    .word 0x0202063C*/
8
+
9
+.global evolutions
10
+evolutions:
11
+    .word 0x08259754
12
+
13
+.global save_one
14
+save_one:
15
+    .word 0x03005008
16
+
17
+.global ts_pals
18
+ts_pals:
19
+    .include "data/title_pal.s"

+ 159
- 0
data/text_lookup/text_lookup_array.s View File

@@ -0,0 +1,159 @@
1
+.align 2
2
+.text
3
+.global text_lookup_array
4
+text_lookup_array:
5
+    .word text_bank_zero
6
+    .word text_bank_one
7
+    .word text_bank_two
8
+    .word text_bank_three
9
+    .word text_bank_four
10
+    .word text_bank_five
11
+    .word 0xDEADBEEF
12
+
13
+text_bank_zero:
14
+    .word text_bank_zero_map_zero
15
+    .word text_bank_zero_map_one
16
+    .word 0xDEADBEEF
17
+text_bank_one:
18
+text_bank_two:
19
+    .word text_bank_two_map_zero
20
+    .word 0xDEADBEEF
21
+
22
+text_bank_three:
23
+text_bank_four:
24
+    .word text_bank_zero_map_zero
25
+    .word text_bank_zero_map_one
26
+    .word 0xDEADBEEF
27
+text_bank_five:
28
+    .word text_bank_five_map_zero
29
+    .word 0xDEADBEEF
30
+
31
+text_bank_zero_map_zero:
32
+    .word text_bank_zero_map_zero_global
33
+    .word text_npc_not_implemented
34
+    .word text_npc_not_implemented
35
+    .word text_npc_not_implemented
36
+    .word text_npc_not_implemented
37
+    .word text_npc_not_implemented
38
+    .word text_npc_not_implemented
39
+    .word text_npc_not_implemented
40
+    .word text_npc_not_implemented
41
+    .word text_npc_not_implemented
42
+    .word text_npc_not_implemented
43
+    .word text_npc_not_implemented
44
+    .word text_bank_zero_map_zero_npc_12
45
+    .word 0xDEADBEEF
46
+text_bank_zero_map_one:
47
+    .word text_bank_zero_map_one_global
48
+    .word 0xDEADBEEF
49
+
50
+text_bank_two_map_zero:
51
+    .word text_bank_two_map_zero_global
52
+    .word 0xDEADBEEF
53
+
54
+text_bank_five_map_zero:
55
+    .word text_bank_five_map_zero_global
56
+    .word 0xDEADBEEF
57
+
58
+text_bank_zero_map_zero_global:
59
+    .word str_hesp_out_g_0
60
+    .word str_hesp_out_g_1
61
+    .word str_hesp_out_g_2
62
+    .word str_hesp_out_g_3
63
+    .word str_hesp_out_g_4
64
+    .word str_hesp_out_g_5
65
+    .word str_hesp_out_g_6
66
+    .word str_hesp_out_g_7
67
+    .word str_hesp_out_g_8
68
+    .word str_hesp_out_g_9
69
+    .word str_hesp_out_g_10
70
+    .word str_hesp_out_g_11
71
+    .word str_hesp_out_g_12
72
+    .word str_hesp_out_g_13
73
+    .word str_hesp_out_g_14
74
+    .word str_hesp_out_g_15
75
+    .word str_hesp_out_g_16
76
+    .word str_hesp_out_g_17
77
+    .word str_hesp_out_g_18
78
+    .word str_hesp_out_g_19
79
+    .word str_hesp_out_g_20
80
+    .word str_hesp_out_g_21
81
+    .word str_hesp_out_g_22
82
+    .word str_hesp_out_g_23
83
+    .word str_hesp_out_g_24
84
+    .word str_hesp_out_g_25
85
+    .word str_hesp_out_g_26
86
+    .word str_hesp_out_g_27
87
+    .word str_hesp_out_g_28
88
+    .word str_hesp_out_g_29
89
+    .word str_hesp_out_g_30
90
+    .word 0xDEADBEEF
91
+
92
+text_bank_zero_map_one_global:
93
+    .word str_carun_c_g_0
94
+    .word str_carun_c_g_1
95
+    .word str_carun_c_g_2
96
+    .word str_carun_c_g_3
97
+    .word str_carun_c_g_4
98
+    .word str_carun_c_g_5
99
+    .word str_carun_c_g_6
100
+    .word str_carun_c_g_7
101
+    .word str_carun_c_g_8
102
+    .word str_carun_c_g_9
103
+    .word str_carun_c_g_10
104
+    .word str_carun_c_g_11
105
+    .word str_carun_c_g_12
106
+    .word str_carun_c_g_13
107
+    .word str_carun_c_g_14
108
+    .word str_carun_c_g_15
109
+    .word str_carun_c_g_16
110
+    .word str_carun_c_g_17
111
+    .word str_carun_c_g_18
112
+    .word str_carun_c_g_19
113
+    .word str_carun_c_g_20
114
+    .word str_carun_c_g_21
115
+    .word str_carun_c_g_22
116
+    .word str_carun_c_g_23
117
+    .word str_carun_c_g_24
118
+    .word str_carun_c_g_25
119
+    .word str_carun_c_g_26
120
+    .word str_carun_c_g_27
121
+    .word str_carun_c_g_28
122
+    .word str_carun_c_g_29
123
+    .word str_carun_c_g_30
124
+    .word 0xDEADBEEF
125
+
126
+text_bank_zero_map_zero_npc_12:
127
+    .word str_hesp_out_npc_0_0
128
+    .word str_hesp_out_npc_0_1
129
+    .word str_hesp_out_npc_0_2
130
+    .word str_hesp_out_npc_0_3
131
+    .word str_hesp_out_npc_0_4
132
+    .word 0xDEADBEEF
133
+
134
+text_bank_two_map_zero_global:
135
+    .word str_hesp_20_g_0
136
+    .word 0xDEADBEEF
137
+
138
+text_bank_five_map_zero_global:
139
+    .word str_tundra_hq_0
140
+    .word str_tundra_hq_1
141
+    .word str_tundra_hq_2
142
+    .word str_tundra_hq_3
143
+    .word str_tundra_hq_4
144
+    .word str_tundra_hq_5
145
+    .word str_tundra_hq_6
146
+    .word str_tundra_hq_7
147
+    .word str_tundra_hq_8
148
+    .word str_tundra_hq_9
149
+    .word str_tundra_hq_10
150
+    .word str_tundra_hq_11
151
+    .word str_tundra_hq_12
152
+    .word 0xDEADBEEF
153
+
154
+text_npc_not_implemented:
155
+    .word 0xDEADBEEF
156
+
157
+.global text_lookup_table
158
+text_lookup_table:
159
+    .word text_lookup_array

+ 32
- 0
data/text_lookup/text_lookup_trainer.s View File

@@ -0,0 +1,32 @@
1
+.align 2
2
+.thumb
3
+.text
4
+
5
+.global trainer_text_table
6
+trainer_text_table:
7
+    .word trainer_texts_0
8
+    .word trainer_texts_1
9
+    .word trainer_texts_2
10
+    .word trainer_texts_3
11
+    .word trainer_texts_4
12
+    .word trainer_texts_5
13
+    .word 0xDEADBEEF
14
+.align 2
15
+
16
+trainer_texts_0:
17
+    .word str_t0_intro
18
+    .word str_t0_defeat
19
+    .word 0xDEADBEEF
20
+trainer_texts_1:
21
+trainer_texts_2:
22
+trainer_texts_3:
23
+trainer_texts_4:
24
+trainer_texts_5:
25
+    .word 0xDEADBEEF
26
+
27
+.align 2
28
+.global trainer_text_array
29
+trainer_text_array:
30
+    .word trainer_text_table
31
+
32
+

+ 36
- 0
data/text_lookup/text_multichoice.s View File

@@ -0,0 +1,36 @@
1
+.text
2
+.align 2
3
+
4
+.thumb
5
+
6
+.global multichoice_array
7
+multichoice_array:
8
+    .word smc_yes_no
9
+    .word 2
10
+
11
+    .word smc_difficulty
12
+    .word 3
13
+
14
+    .word smc_left_right
15
+    .word 2
16
+
17
+
18
+smc_yes_no:
19
+    .word str_yes
20
+    .word 0
21
+    .word str_no
22
+    .word 0
23
+
24
+smc_difficulty:
25
+    .word str_beginner
26
+    .word 0
27
+    .word str_intermediate
28
+    .word 0
29
+    .word str_expert
30
+    .word 0
31
+
32
+smc_left_right:
33
+    .word str_left
34
+    .word 0
35
+    .word str_right
36
+    .word 0

+ 22
- 0
data/title_pal.s View File

@@ -0,0 +1,22 @@
1
+/* Generated by BIN2S - please don't edit directly */
2
+	.section .rodata
3
+	.balign 4
4
+	.global pal_sth_bin_size
5
+	.global pal_sth_bin
6
+pal_sth_bin:
7
+	.byte   0,  2, 69, 73,166, 89,120, 10,235, 77, 47, 42, 30,  7,228, 56
8
+	.byte 102, 81,134, 85,169, 77, 49, 42,219,  6,253,  6, 63,  3,237, 65
9
+	.byte 150, 34,230, 52,189,127,  0,  0,173,106,255,127, 73, 94,188,123
10
+	.byte   7, 86, 87,119,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0
11
+	.byte   0,  0,136, 73,  7, 53,118,127,240,126, 43, 94,243, 36,191, 74
12
+	.byte 231, 24,223, 37, 59, 41,174,110,202,105,140, 45,222,123, 73, 65
13
+	.byte   0,  2,239, 57,  0,  0, 41, 33,189,127,198, 20,181, 86,132, 12
14
+	.byte  99,  8, 33,  4,231, 24,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0
15
+	.byte   0,  0,174,110,240,126, 43, 94,140, 45,198, 20,136, 73,157, 22
16
+	.byte 231, 24,118,127,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0
17
+
18
+	.global pal_sth_bin_end
19
+pal_sth_bin_end:
20
+
21
+	.align
22
+pal_sth_bin_size: .int 160

+ 126
- 0
data/trainer/trainer_money_rate.s View File

@@ -0,0 +1,126 @@
1
+.align 2
2
+.text
3
+.thumb
4
+
5
+.global trainer_money_rate
6
+trainer_money_rate:
7
+
8
+.byte 0, 16, 0, 0
9
+.byte 1, 16, 0, 0
10
+.byte 2, 32, 0, 0
11
+.byte 3, 40, 0, 0
12
+.byte 4, 80, 0, 0
13
+.byte 5, 16, 0, 0
14
+.byte 6, 16, 0, 0
15
+.byte 7, 32, 0, 0
16
+.byte 8, 60, 0, 0
17
+.byte 9, 120, 0, 0
18
+.byte 10, 20, 0, 0
19
+.byte 11, 20, 0, 0
20
+.byte 12, 40, 0, 0
21
+.byte 13, 32, 0, 0
22
+.byte 14, 16, 0, 0
23
+.byte 15, 40, 0, 0
24
+.byte 16, 112, 0, 0
25
+.byte 17, 32, 0, 0
26
+.byte 48, 48, 0, 0
27
+.byte 19, 24, 0, 0
28
+.byte 20, 64, 0, 0
29
+.byte 21, 32, 0, 0
30
+.byte 22, 32, 0, 0
31
+.byte 23, 32, 0, 0
32
+.byte 24, 32, 0, 0
33
+.byte 25, 64, 0, 0
34
+.byte 26, 4, 0, 0
35
+.byte 27, 4, 0, 0
36
+.byte 28, 64, 0, 0
37
+.byte 29, 32, 0, 0
38
+.byte 30, 48, 0, 0
39
+.byte 31, 16, 0, 0
40
+.byte 32, 200, 0, 0
41
+.byte 33, 200, 0, 0
42
+.byte 34, 40, 0, 0
43
+.byte 35, 80, 0, 0
44
+.byte 36, 60, 0, 0
45
+.byte 37, 32, 0, 0
46
+.byte 38, 40, 0, 0
47
+.byte 39, 120, 0, 0
48
+.byte 40, 120, 0, 0
49
+.byte 41, 250, 0, 0
50
+.byte 42, 220, 0, 0
51
+.byte 43, 160, 0, 0
52
+.byte 44, 80, 0, 0
53
+.byte 45, 80, 0, 0
54
+.byte 46, 28, 0, 0
55
+.byte 47, 80, 0, 0
56
+.byte 48, 16, 0, 0
57
+.byte 49, 64, 0, 0
58
+.byte 50, 24, 0, 0
59
+.byte 51, 24, 0, 0
60
+.byte 52, 64, 0, 0
61
+.byte 53, 40, 0, 0
62
+.byte 54, 40, 0, 0
63
+.byte 55, 80, 0, 0
64
+.byte 56, 32, 0, 0
65
+.byte 57, 32, 0, 0
66
+.byte 58, 32, 0, 0
67
+.byte 59, 100, 0, 0
68
+.byte 60, 100, 0, 0
69
+.byte 61, 100, 0, 0
70
+.byte 62, 100, 0, 0
71
+.byte 63, 40, 0, 0
72
+.byte 64, 80, 0, 0
73
+.byte 65, 28, 0, 0
74
+.byte 66, 28, 0, 0
75
+.byte 67, 40, 0, 0
76
+.byte 68, 40, 0, 0
77
+.byte 69, 40, 0, 0
78
+.byte 70, 40, 0, 0
79
+.byte 71, 40, 0, 0
80
+.byte 72, 64, 0, 0
81
+.byte 73, 40, 0, 0
82
+.byte 74, 40, 0, 0
83
+.byte 75, 32, 0, 0
84
+.byte 76, 24, 0, 0
85
+.byte 77, 24, 0, 0
86
+.byte 78, 56, 0, 0
87
+.byte 79, 56, 0, 0
88
+.byte 80, 32, 0, 0
89
+.byte 81, 40, 0, 0
90
+.byte 82, 40, 0, 0
91
+.byte 83, 32, 0, 0
92
+.byte 84, 60, 0, 0
93
+.byte 85, 100, 0, 0
94
+.byte 86, 40, 0, 0
95
+.byte 87, 160, 0, 0
96
+.byte 88, 100, 0, 0
97
+.byte 89, 56, 0, 0
98
+.byte 90, 200, 0, 0
99
+.byte 91, 16, 0, 0
100
+.byte 92, 40, 0, 0
101
+.byte 93, 240, 0, 0
102
+.byte 94, 28, 0, 0
103
+.byte 95, 64, 0, 0
104
+.byte 96, 28, 0, 0
105
+.byte 97, 32, 0, 0
106
+.byte 98, 32, 0, 0
107
+.byte 99, 4, 0, 0
108
+.byte 100, 4, 0, 0
109
+.byte 101, 16, 0, 0
110
+.byte 102, 16, 0, 0
111
+.byte 103, 140, 0, 0
112
+.byte 104, 40, 0, 0
113
+.byte 105, 32, 0, 0
114
+.byte 106, 32, 0, 0
115
+.byte 107, 80, 0, 0
116
+.byte 108, 32, 0, 0
117
+.byte 109, 72, 0, 0
118
+.byte 110, 72, 0, 0
119
+.byte 111, 40, 0, 0
120
+.byte 112, 80, 0, 0
121
+.byte 113, 200, 0, 0
122
+.byte 114, 150, 0, 0
123
+.byte 115, 240, 0, 0
124
+.byte 116, 48, 0, 0
125
+.byte 117, 80, 0, 0
126
+.byte 118, 250, 0, 0

+ 552
- 0
data/trainer/trainer_pkmn_data.s View File

@@ -0,0 +1,552 @@
1
+.align 2
2
+.text
3
+.thumb
4
+
5
+.align 2
6
+.global pokemon_von_id_1
7
+pokemon_von_id_1:
8
+.hword 0, 5, 895, 0
9
+
10
+.align 2
11
+.global pokemon_von_id_2
12
+pokemon_von_id_2:
13
+.hword 20, 6, 895, 0
14
+
15
+.align 2
16
+.global pokemon_von_id_3
17
+pokemon_von_id_3:
18
+.hword 50, 6, 895, 139
19
+
20
+.align 2
21
+.global pokemon_von_id_4
22
+pokemon_von_id_4:
23
+.hword 0, 5, 892, 0
24
+
25
+.align 2
26
+.global pokemon_von_id_5
27
+pokemon_von_id_5:
28
+.hword 20, 6, 892, 0
29
+
30
+.align 2
31
+.global pokemon_von_id_6
32
+pokemon_von_id_6:
33
+.hword 50, 6, 892, 139
34
+
35
+.align 2
36
+.global pokemon_von_id_7
37
+pokemon_von_id_7:
38
+.hword 0, 5, 895, 0
39
+
40
+.align 2
41
+.global pokemon_von_id_8
42
+pokemon_von_id_8:
43
+.hword 20, 6, 895, 0
44
+
45
+.align 2
46
+.global pokemon_von_id_9
47
+pokemon_von_id_9:
48
+.hword 50, 6, 895, 139
49
+
50
+.align 2
51
+.global pokemon_von_id_10
52
+pokemon_von_id_10:
53
+.hword 0, 5, 892, 0
54
+
55
+.align 2
56
+.global pokemon_von_id_11
57
+pokemon_von_id_11:
58
+.hword 20, 6, 892, 0
59
+
60
+.align 2
61
+.global pokemon_von_id_12
62
+pokemon_von_id_12:
63
+.hword 50, 6, 892, 139
64
+
65
+.align 2
66
+.global pokemon_von_id_13
67
+pokemon_von_id_13:
68
+.hword 0, 5, 789, 0
69
+
70
+.align 2
71
+.global pokemon_von_id_14
72
+pokemon_von_id_14:
73
+.hword 20, 5, 789, 0
74
+.hword 20, 6, 787, 0
75
+
76
+.align 2
77
+.global pokemon_von_id_15
78
+pokemon_von_id_15:
79
+.hword 50, 5, 789, 0
80
+.hword 50, 6, 787, 0
81
+
82
+.align 2
83
+.global pokemon_von_id_16
84
+pokemon_von_id_16:
85
+.hword 0, 5, 13, 0
86
+.hword 0, 5, 10, 0
87
+
88
+.align 2
89
+.global pokemon_von_id_17
90
+pokemon_von_id_17:
91
+.hword 20, 5, 13, 0
92
+.hword 20, 5, 10, 0
93
+.hword 20, 6, 290, 0
94
+
95
+.align 2
96
+.global pokemon_von_id_18
97
+pokemon_von_id_18:
98
+.hword 50, 5, 13, 0
99
+.hword 50, 5, 10, 0
100
+.hword 50, 6, 290, 0
101
+
102
+.align 2
103
+.global pokemon_von_id_19
104
+pokemon_von_id_19:
105
+.hword 0, 5, 46, 0
106
+.hword 0, 6, 795, 0
107
+.hword 0, 6, 291, 0
108
+
109
+.align 2
110
+.global pokemon_von_id_20
111
+pokemon_von_id_20:
112
+.hword 20, 5, 46, 0
113
+.hword 20, 6, 795, 0
114
+.hword 20, 6, 291, 0
115
+
116
+.align 2
117
+.global pokemon_von_id_21
118
+pokemon_von_id_21:
119
+.hword 50, 5, 46, 0
120
+.hword 50, 6, 795, 0
121
+.hword 50, 6, 291, 0
122
+.hword 50, 6, 293, 0
123
+
124
+.align 2
125
+.global pokemon_von_id_22
126
+pokemon_von_id_22:
127
+.hword 0, 5, 84, 0
128
+.hword 0, 6, 456, 0
129
+
130
+.align 2
131
+.global pokemon_von_id_23
132
+pokemon_von_id_23:
133
+.hword 20, 5, 84, 0
134
+.hword 20, 6, 456, 0
135
+
136
+.align 2
137
+.global pokemon_von_id_24
138
+pokemon_von_id_24:
139
+.hword 50, 5, 84, 0
140
+.hword 50, 6, 456, 0
141
+.hword 50, 6, 564, 0
142
+
143
+.align 2
144
+.global pokemon_von_id_25
145
+pokemon_von_id_25:
146
+.hword 0, 6, 566, 0
147
+
148
+.align 2
149
+.global pokemon_von_id_26
150
+pokemon_von_id_26:
151
+.hword 20, 6, 566, 0
152
+
153
+.align 2
154
+.global pokemon_von_id_27
155
+pokemon_von_id_27:
156
+.hword 50, 6, 566, 0
157
+.hword 50, 6, 568, 0
158
+
159
+.align 2
160
+.global pokemon_von_id_28
161
+pokemon_von_id_28:
162
+.hword 0, 6, 301, 0
163
+.hword 0, 7, 11, 0
164
+
165
+.align 2
166
+.global pokemon_von_id_29
167
+pokemon_von_id_29:
168
+.hword 20, 6, 301, 10, 106, 71, 0
169
+.hword 20, 7, 11, 10, 81, 106, 0
170
+
171
+.align 2
172
+.global pokemon_von_id_30
173
+pokemon_von_id_30:
174
+.hword 50, 6, 301, 10, 106, 71, 0
175
+.hword 50, 7, 11, 10, 81, 106, 0
176
+
177
+.align 2
178
+.global pokemon_von_id_31
179
+pokemon_von_id_31:
180
+.hword 0, 5, 165, 0
181
+.hword 0, 6, 14, 0
182
+.hword 0, 6, 11, 0
183
+.hword 0, 6, 293, 0
184
+
185
+.align 2
186
+.global pokemon_von_id_32
187
+pokemon_von_id_32:
188
+.hword 20, 5, 165, 0
189
+.hword 20, 6, 14, 0
190
+.hword 20, 6, 11, 0
191
+.hword 20, 6, 293, 0
192
+
193
+.align 2
194
+.global pokemon_von_id_33
195
+pokemon_von_id_33:
196
+.hword 50, 5, 165, 0
197
+.hword 50, 6, 14, 0
198
+.hword 50, 6, 11, 0
199
+.hword 50, 6, 293, 0
200
+.hword 50, 6, 291, 0
201
+
202
+.align 2
203
+.global pokemon_von_id_34
204
+pokemon_von_id_34:
205
+.hword 0, 6, 109, 0
206
+.hword 0, 7, 506, 0
207
+
208
+.align 2
209
+.global pokemon_von_id_35
210
+pokemon_von_id_35:
211
+.hword 20, 6, 109, 0
212
+.hword 20, 7, 506, 0
213
+
214
+.align 2
215
+.global pokemon_von_id_36
216
+pokemon_von_id_36:
217
+.hword 50, 6, 109, 0
218
+.hword 50, 7, 506, 0
219
+
220
+.align 2
221
+.global pokemon_von_id_37
222
+pokemon_von_id_37:
223
+.hword 0, 7, 784, 0
224
+.hword 0, 7, 797, 0
225
+
226
+.align 2
227
+.global pokemon_von_id_38
228
+pokemon_von_id_38:
229
+.hword 20, 7, 784, 0
230
+.hword 20, 7, 797, 0
231
+
232
+.align 2
233
+.global pokemon_von_id_39
234
+pokemon_von_id_39:
235
+.hword 50, 7, 784, 0
236
+.hword 50, 7, 797, 0
237
+
238
+.align 2
239
+.global pokemon_von_id_40
240
+pokemon_von_id_40:
241
+.hword 0, 7, 459, 0
242
+.hword 0, 8, 306, 0
243
+.hword 0, 8, 452, 0
244
+
245
+.align 2
246
+.global pokemon_von_id_41
247
+pokemon_von_id_41:
248
+.hword 20, 7, 459, 0
249
+.hword 20, 8, 306, 0
250
+.hword 20, 8, 452, 0
251
+
252
+.align 2
253
+.global pokemon_von_id_42
254
+pokemon_von_id_42:
255
+.hword 50, 7, 459, 0
256
+.hword 50, 8, 306, 0
257
+.hword 50, 8, 452, 0
258
+
259
+.align 2
260
+.global pokemon_von_id_43
261
+pokemon_von_id_43:
262
+.hword 0, 9, 291, 0
263
+
264
+.align 2
265
+.global pokemon_von_id_44
266
+pokemon_von_id_44:
267
+.hword 20, 9, 291, 0
268
+
269
+.align 2
270
+.global pokemon_von_id_45
271
+pokemon_von_id_45:
272
+.hword 50, 10, 292, 0
273
+
274
+.align 2
275
+.global pokemon_von_id_46
276
+pokemon_von_id_46:
277
+.hword 0, 9, 167, 0
278
+.hword 0, 9, 386, 0
279
+
280
+.align 2
281
+.global pokemon_von_id_47
282
+pokemon_von_id_47:
283
+.hword 20, 9, 167, 0
284
+.hword 20, 9, 386, 0
285
+
286
+.align 2
287
+.global pokemon_von_id_48
288
+pokemon_von_id_48:
289
+.hword 50, 9, 167, 0
290
+.hword 50, 10, 386, 0
291
+
292
+.align 2
293
+.global pokemon_von_id_49
294
+pokemon_von_id_49:
295
+.hword 0, 9, 48, 0
296
+.hword 0, 10, 717, 0
297
+
298
+.align 2
299
+.global pokemon_von_id_50
300
+pokemon_von_id_50:
301
+.hword 20, 9, 48, 0
302
+.hword 20, 10, 717, 0
303
+
304
+.align 2
305
+.global pokemon_von_id_51
306
+pokemon_von_id_51:
307
+.hword 50, 9, 48, 0
308
+.hword 50, 10, 717, 0
309
+
310
+.align 2
311
+.global pokemon_von_id_52
312
+pokemon_von_id_52:
313
+.hword 0, 10, 294, 0
314
+
315
+.align 2
316
+.global pokemon_von_id_53
317
+pokemon_von_id_53:
318
+.hword 20, 10, 294, 0
319
+
320
+.align 2
321
+.global pokemon_von_id_54
322
+pokemon_von_id_54:
323
+.hword 50, 10, 294, 0
324
+
325
+.align 2
326
+.global pokemon_von_id_55
327
+pokemon_von_id_55:
328
+.hword 0, 9, 79, 0
329
+.hword 0, 10, 804, 0
330
+
331
+.align 2
332
+.global pokemon_von_id_56
333
+pokemon_von_id_56:
334
+.hword 20, 9, 79, 0
335
+.hword 20, 10, 804, 0
336
+
337
+.align 2
338
+.global pokemon_von_id_57
339
+pokemon_von_id_57:
340
+.hword 50, 9, 79, 0
341
+.hword 50, 10, 804, 0
342
+
343
+.align 2
344
+.global pokemon_von_id_58
345
+pokemon_von_id_58:
346
+.hword 0, 9, 512, 0
347
+.hword 0, 10, 765, 0
348
+
349
+.align 2
350
+.global pokemon_von_id_59
351
+pokemon_von_id_59:
352
+.hword 30, 9, 512, 0
353
+.hword 30, 10, 765, 0
354
+
355
+.align 2
356
+.global pokemon_von_id_60
357
+pokemon_von_id_60:
358
+.hword 60, 9, 512, 0
359
+.hword 60, 10, 765, 0
360
+.hword 60, 10, 220, 0
361
+
362
+.align 2
363
+.global pokemon_von_id_61
364
+pokemon_von_id_61:
365
+.hword 0, 9, 346, 0
366
+.hword 0, 10, 220, 0
367
+.hword 0, 10, 934, 0
368
+
369
+.align 2
370
+.global pokemon_von_id_62
371
+pokemon_von_id_62:
372
+.hword 30, 9, 346, 0
373
+.hword 30, 10, 220, 0
374
+.hword 30, 10, 934, 0
375
+
376
+.align 2
377
+.global pokemon_von_id_63
378
+pokemon_von_id_63:
379
+.hword 60, 9, 346, 0
380
+.hword 60, 10, 220, 0
381
+.hword 60, 10, 934, 0
382
+.hword 60, 11, 512, 0
383
+
384
+.align 2
385
+.global pokemon_von_id_64
386
+pokemon_von_id_64:
387
+.hword 0, 9, 341, 0
388
+.hword 0, 10, 635, 0
389
+.hword 0, 10, 936, 0
390
+
391
+.align 2
392
+.global pokemon_von_id_65
393
+pokemon_von_id_65:
394
+.hword 30, 9, 341, 0
395
+.hword 30, 10, 635, 0
396
+.hword 30, 10, 936, 0
397
+
398
+.align 2
399
+.global pokemon_von_id_66
400
+pokemon_von_id_66:
401
+.hword 60, 9, 341, 0
402
+.hword 60, 10, 635, 0
403
+.hword 60, 10, 936, 0
404
+.hword 60, 11, 215, 0
405
+
406
+.align 2
407
+.global pokemon_von_id_67
408
+pokemon_von_id_67:
409
+.hword 0, 12, 934, 0
410
+.hword 0, 12, 635, 0
411
+
412
+.align 2
413
+.global pokemon_von_id_68
414
+pokemon_von_id_68:
415
+.hword 30, 12, 934, 0
416
+.hword 30, 12, 635, 0
417
+
418
+.align 2
419
+.global pokemon_von_id_69
420
+pokemon_von_id_69:
421
+.hword 60, 12, 934, 0
422
+.hword 60, 12, 635, 0
423
+.hword 60, 13, 512, 0
424
+
425
+.align 2
426
+.global pokemon_von_id_70
427
+pokemon_von_id_70:
428
+.hword 0, 12, 936, 0
429
+.hword 0, 12, 765, 0
430
+
431
+.align 2
432
+.global pokemon_von_id_71
433
+pokemon_von_id_71:
434
+.hword 30, 12, 936, 0
435
+.hword 30, 12, 765, 0
436
+
437
+.align 2
438
+.global pokemon_von_id_72
439
+pokemon_von_id_72:
440
+.hword 60, 12, 936, 0
441
+.hword 60, 12, 765, 0
442
+.hword 60, 13, 215, 0
443
+
444
+.align 2
445
+.global pokemon_von_id_73
446
+pokemon_von_id_73:
447
+.hword 0, 13, 346, 0
448
+.hword 0, 14, 341, 0
449
+
450
+.align 2
451
+.global pokemon_von_id_74
452
+pokemon_von_id_74:
453
+.hword 30, 13, 346, 0
454
+.hword 30, 14, 341, 0
455
+
456
+.align 2
457
+.global pokemon_von_id_75
458
+pokemon_von_id_75:
459
+.hword 60, 13, 346, 0
460
+.hword 60, 14, 341, 0
461
+.hword 60, 14, 934, 0
462
+
463
+.align 2
464
+.global pokemon_von_id_76
465
+pokemon_von_id_76:
466
+.hword 0, 13, 86, 0
467
+.hword 0, 14, 666, 0
468
+
469
+.align 2
470
+.global pokemon_von_id_77
471
+pokemon_von_id_77:
472
+.hword 30, 13, 86, 0
473
+.hword 30, 14, 666, 0
474
+
475
+.align 2
476
+.global pokemon_von_id_78
477
+pokemon_von_id_78:
478
+.hword 60, 13, 86, 0
479
+.hword 60, 14, 666, 0
480
+.hword 60, 14, 936, 0
481
+
482
+.align 2
483
+.global pokemon_von_id_79
484
+pokemon_von_id_79:
485
+.hword 0, 13, 220, 0
486
+.hword 0, 14, 792, 0
487
+.hword 0, 14, 512, 0
488
+
489
+.align 2
490
+.global pokemon_von_id_80
491
+pokemon_von_id_80:
492
+.hword 30, 13, 220, 0
493
+.hword 30, 14, 792, 0
494
+.hword 30, 14, 512, 0
495
+
496
+.align 2
497
+.global pokemon_von_id_81
498
+pokemon_von_id_81:
499
+.hword 60, 13, 220, 0
500
+.hword 60, 14, 792, 0
501
+.hword 60, 14, 512, 0
502
+.hword 60, 15, 635, 0
503
+
504
+.align 2
505
+.global pokemon_von_id_82
506
+pokemon_von_id_82:
507
+.hword 0, 13, 238, 0
508
+.hword 0, 14, 936, 0
509
+.hword 0, 14, 346, 0
510
+
511
+.align 2
512
+.global pokemon_von_id_83
513
+pokemon_von_id_83:
514
+.hword 30, 13, 238, 0
515
+.hword 30, 14, 936, 0
516
+.hword 30, 14, 346, 0
517
+
518
+.align 2
519
+.global pokemon_von_id_84
520
+pokemon_von_id_84:
521
+.hword 60, 13, 238, 0
522
+.hword 60, 14, 936, 0
523
+.hword 60, 14, 346, 0
524
+.hword 60, 15, 666, 0
525
+
526
+.align 2
527
+.global pokemon_von_id_85
528
+pokemon_von_id_85:
529
+.hword 30, 14, 225, 0
530
+.hword 30, 14, 220, 0
531
+.hword 30, 15, 934, 0
532
+.hword 30, 15, 936, 0
533
+.hword 30, 15, 385, 0
534
+
535
+.align 2
536
+.global pokemon_von_id_86
537
+pokemon_von_id_86:
538
+.hword 60, 14, 225, 0
539
+.hword 60, 14, 220, 0
540
+.hword 60, 15, 934, 0
541
+.hword 60, 15, 936, 0
542
+.hword 60, 15, 385, 0
543
+
544
+.align 2
545
+.global pokemon_von_id_87
546
+pokemon_von_id_87:
547
+.hword 100, 14, 225, 258, 217, 420, 252
548
+.hword 100, 14, 220, 258, 189, 246, 333
549
+.hword 100, 15, 934, 258, 301, 174, 232
550
+.hword 100, 15, 936, 258, 204, 50, 109
551
+.hword 100, 15, 385, 258, 181, 52, 55
552
+.hword 100, 16, 91, 258, 182, 41, 350

+ 256
- 0
data/trainer/ts_alt.s View File

@@ -0,0 +1,256 @@
1
+.hword	0x108, 0
2
+.hword	0x108, 0
3
+.hword	0x108, 0
4
+.hword	0x108, 0
5
+.hword	0x108, 0
6
+.hword	0x108, 0
7
+.hword	0x108, 0
8
+.hword	0x108, 0
9
+.hword	0x108, 0
10
+.hword	0x108, 0
11
+.hword	0x108, 0
12
+.hword	0x108, 0
13
+.hword	0x108, 0
14
+.hword	0x108, 0
15
+.hword	0x108, 0
16
+.hword	0x108, 0
17
+.hword	0x108, 0
18
+.hword	0x108, 0
19
+.hword	0x108, 0
20
+.hword	0x108, 0
21
+.hword	0x108, 0
22
+.hword	0x108, 0
23
+.hword	0x108, 0
24
+.hword	0x108, 0
25
+.hword	0x108, 0
26
+.hword	0x108, 0
27
+.hword	0x108, 0
28
+.hword	0x108, 0
29
+.hword	0x108, 0
30
+.hword	0x108, 0
31
+.hword	0x108, 0
32
+.hword	0x108, 0
33
+.hword	0x108, 0
34
+.hword	0x108, 0
35
+.hword	0x108, 0
36
+.hword	0x108, 0
37
+.hword	0x108, 0
38
+.hword	0x108, 0
39
+.hword	0x108, 0
40
+.hword	0x108, 0
41
+.hword	0x108, 0
42
+.hword	0x108, 0
43
+.hword	0x108, 0
44
+.hword	0x108, 0
45
+.hword	0x108, 0
46
+.hword	0x108, 0
47
+.hword	0x108, 0
48
+.hword	0x108, 0
49
+.hword	0x108, 0
50
+.hword	0x108, 0
51
+.hword	0x108, 0
52
+.hword	0x108, 0
53
+.hword	0x108, 0
54
+.hword	0x108, 0
55
+.hword	0x108, 0
56
+.hword	0x108, 0
57
+.hword	0x108, 0
58
+.hword	0x108, 0
59
+.hword	0x108, 0
60
+.hword	0x108, 0
61
+.hword	0x108, 0
62
+.hword	0x108, 0
63
+.hword	0x108, 0
64
+.hword	0x108, 0
65
+.hword	0x108, 0
66
+.hword	0x108, 0
67
+.hword	0x108, 0
68
+.hword	0x108, 0
69
+.hword	0x108, 0
70
+.hword	0x108, 0
71
+.hword	0x108, 0
72
+.hword	0x108, 0
73
+.hword	0x108, 0
74
+.hword	0x108, 0
75
+.hword	0x108, 0
76
+.hword	0x108, 0
77
+.hword	0x108, 0
78
+.hword	0x108, 0
79
+.hword	0x108, 0
80
+.hword	0x108, 0
81
+.hword	0x108, 0
82
+.hword	0x108, 0
83
+.hword	0x108, 0
84
+.hword	0x108, 0
85
+.hword	0x108, 0
86
+.hword	0x108, 0
87
+.hword	0x108, 0
88
+.hword	0x108, 0
89
+.hword	0x108, 0
90
+.hword	0x108, 0
91
+.hword	0x108, 0
92
+.hword	0x108, 0
93
+.hword	0x108, 0
94
+.hword	0x108, 0
95
+.hword	0x108, 0
96
+.hword	0x108, 0
97
+.hword	0x108, 0
98
+.hword	0x108, 0
99
+.hword	0x108, 0
100
+.hword	0x108, 0
101
+.hword	0x108, 0
102
+.hword	0x108, 0
103
+.hword	0x108, 0
104
+.hword	0x108, 0
105
+.hword	0x108, 0
106
+.hword	0x108, 0
107
+.hword	0x108, 0
108
+.hword	0x108, 0
109
+.hword	0x108, 0
110
+.hword	0x108, 0
111
+.hword	0x108, 0
112
+.hword	0x108, 0
113
+.hword	0x108, 0
114
+.hword	0x108, 0
115
+.hword	0x108, 0
116
+.hword	0x108, 0
117
+.hword	0x108, 0
118
+.hword	0x108, 0
119
+.hword	0x108, 0
120
+.hword	0x108, 0
121
+.hword	0x108, 0
122
+.hword	0x108, 0
123
+.hword	0x108, 0
124
+.hword	0x108, 0
125
+.hword	0x108, 0
126
+.hword	0x108, 0
127
+.hword	0x108, 0
128
+.hword	0x108, 0
129
+.hword	0x108, 0
130
+.hword	0x108, 0
131
+.hword	0x108, 0
132
+.hword	0x108, 0
133
+.hword	0x108, 0
134
+.hword	0x108, 0
135
+.hword	0x108, 0
136
+.hword	0x108, 0
137
+.hword	0x108, 0
138
+.hword	0x108, 0
139
+.hword	0x108, 0
140
+.hword	0x108, 0
141
+.hword	0x108, 0
142
+.hword	0x108, 0
143
+.hword	0x108, 0
144
+.hword	0x108, 0
145
+.hword	0x108, 0
146
+.hword	0x108, 0
147
+.hword	0x108, 0
148
+.hword	0x108, 0
149
+.hword	0x108, 0
150
+.hword	0x108, 0
151
+.hword	0x108, 0
152
+.hword	0x108, 0
153
+.hword	0x108, 0
154
+.hword	0x108, 0
155
+.hword	0x108, 0
156
+.hword	0x108, 0
157
+.hword	0x108, 0
158
+.hword	0x108, 0
159
+.hword	0x108, 0
160
+.hword	0x108, 0
161
+.hword	0x108, 0
162
+.hword	0x108, 0
163
+.hword	0x108, 0
164
+.hword	0x108, 0
165
+.hword	0x108, 0
166
+.hword	0x108, 0
167
+.hword	0x108, 0
168
+.hword	0x108, 0
169
+.hword	0x108, 0
170
+.hword	0x108, 0
171
+.hword	0x108, 0
172
+.hword	0x108, 0
173
+.hword	0x108, 0
174
+.hword	0x108, 0
175
+.hword	0x108, 0
176
+.hword	0x108, 0
177
+.hword	0x108, 0
178
+.hword	0x108, 0
179
+.hword	0x108, 0
180
+.hword	0x108, 0
181
+.hword	0x108, 0
182
+.hword	0x108, 0
183
+.hword	0x108, 0
184
+.hword	0x108, 0
185
+.hword	0x108, 0
186
+.hword	0x108, 0
187
+.hword	0x108, 0
188
+.hword	0x108, 0
189
+.hword	0x108, 0
190
+.hword	0x108, 0
191
+.hword	0x108, 0
192
+.hword	0x108, 0
193
+.hword	0x108, 0
194
+.hword	0x108, 0
195
+.hword	0x108, 0
196
+.hword	0x108, 0
197
+.hword	0x108, 0
198
+.hword	0x108, 0
199
+.hword	0x108, 0
200
+.hword	0x108, 0
201
+.hword	0x108, 0
202
+.hword	0x108, 0
203
+.hword	0x108, 0
204
+.hword	0x108, 0
205
+.hword	0x108, 0
206
+.hword	0x108, 0
207
+.hword	0x108, 0
208
+.hword	0x108, 0
209
+.hword	0x108, 0
210
+.hword	0x108, 0
211
+.hword	0x108, 0
212
+.hword	0x108, 0
213
+.hword	0x108, 0
214
+.hword	0x108, 0
215
+.hword	0x108, 0
216
+.hword	0x108, 0
217
+.hword	0x108, 0
218
+.hword	0x108, 0
219
+.hword	0x108, 0
220
+.hword	0x108, 0
221
+.hword	0x108, 0
222
+.hword	0x108, 0
223
+.hword	0x108, 0
224
+.hword	0x108, 0
225
+.hword	0x108, 0
226
+.hword	0x108, 0
227
+.hword	0x108, 0
228
+.hword	0x108, 0
229
+.hword	0x108, 0
230
+.hword	0x108, 0
231
+.hword	0x108, 0
232
+.hword	0x108, 0
233
+.hword	0x108, 0
234
+.hword	0x108, 0
235
+.hword	0x108, 0
236
+.hword	0x108, 0
237
+.hword	0x108, 0
238
+.hword	0x108, 0
239
+.hword	0x108, 0
240
+.hword	0x108, 0
241
+.hword	0x108, 0
242
+.hword	0x108, 0
243
+.hword	0x108, 0
244
+.hword	0x108, 0
245
+.hword	0x108, 0
246
+.hword	0x108, 0
247
+.hword	0x108, 0
248
+.hword	0x108, 0
249
+.hword	0x108, 0
250
+.hword	0x108, 0
251
+.hword	0x108, 0
252
+.hword	0x108, 0
253
+.hword	0x108, 0
254
+.hword	0x108, 0
255
+.hword	0x108, 0
256
+.hword	0x108, 0

+ 1034
- 0
data/trainer/ts_pal.s
File diff suppressed because it is too large
View File


+ 1034
- 0
data/trainer/ts_tiles.s
File diff suppressed because it is too large
View File


+ 43
- 0
patches/disable_cry_table_blocks.s View File

@@ -0,0 +1,43 @@
1
+.gba
2
+cry_variable equ 0x02037ECC
3
+cry_handler equ 0x081DE638 + 1
4
+
5
+disableCryTableBlocks:		//  BPED =$080A35BC	; BPRE =$080720C8
6
+
7
+MOV		R1, R0
8
+MOV		R0, #0xC
9
+MUL		R0, R1
10
+MOV		R3, R9
11
+CMP		R3, #0
12
+BEQ		forward_cry
13
+
14
+reverse_cry:
15
+
16
+LDR		R1,=_reverse_crytable
17
+B		calc_table_entry
18
+
19
+forward_cry:
20
+
21
+LDR		R1,=_forward_crytable
22
+
23
+calc_table_entry:
24
+
25
+ADD		R0, R0, R1
26
+BL		call_cry_handler
27
+LDR		R1,=cry_variable
28
+STR		R0, [R1]
29
+
30
+ADD		SP, SP, #4
31
+POP		{R3-R5}
32
+MOV		R8, R3
33
+MOV		R9, R4
34
+MOV		R10, R5
35
+POP		{R4-R7}
36
+POP		{R0}
37
+BX		R0
38
+
39
+call_cry_handler:
40
+
41
+LDR		R1,=cry_handler
42
+BX		R1
43
+.pool

+ 1965
- 0
src/include/pymap_constants.s
File diff suppressed because it is too large
View File


+ 38
- 0
src/interface/mugshot_table.s View File

@@ -0,0 +1,38 @@
1
+.align 2
2
+.thumb
3
+.section .rodata
4
+
5
+mugshot_table_int:
6
+.word mug_00Tiles
7
+.word mug_00Pal
8
+
9
+.word mug_01Tiles
10
+.word mug_01Pal
11
+
12
+.word mug_02Tiles
13
+.word mug_02Pal
14
+
15
+.word mug_03Tiles
16
+.word mug_03Pal
17
+
18
+.word mug_04Tiles
19
+.word mug_04Pal
20
+
21
+.word mug_05Tiles
22
+.word mug_05Pal
23
+
24
+.word mug_06Tiles
25
+.word mug_06Pal
26
+
27
+.word mug_07Tiles
28
+.word mug_07Pal
29
+
30
+.word mug_08Tiles
31
+.word mug_08Pal
32
+
33
+.word mug_09Tiles
34
+.word mug_09Pal
35
+
36
+.global mugshots
37
+mugshots:
38
+.word mugshot_table_int

+ 16
- 0
src/test/test.s View File

@@ -0,0 +1,16 @@
1
+
2
+.text
3
+.thumb
4
+
5
+#define LAN_DE
6
+
7
+.align 2
8
+.global test_some_test
9
+test_some_test:
10
+ldr r0, =test_string
11
+bx lr
12
+
13
+.align 2
14
+test_string:
15
+.string LAN_DE "Hallo"
16
+.string LAN_EN "Hello"

+ 1205
- 0
todo/pokemon_evolution.s
File diff suppressed because it is too large
View File


+ 1769
- 0
todo/pokemon_habitats.s
File diff suppressed because it is too large
View File