-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.asm
705 lines (541 loc) · 18.6 KB
/
main.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
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
INCLUDE "constants.asm"
SECTION "bank1", ROMX
INCLUDE "data/sprites/facings.asm"
INCLUDE "engine/battle/safari_zone.asm"
INCLUDE "engine/movie/title.asm"
INCLUDE "engine/pokemon/load_mon_data.asm"
INCLUDE "data/items/prices.asm"
INCLUDE "data/items/names.asm"
INCLUDE "data/text/unused_names.asm"
INCLUDE "engine/gfx/sprite_oam.asm"
INCLUDE "engine/link/print_waiting_text.asm"
INCLUDE "engine/overworld/sprite_collisions.asm"
INCLUDE "engine/events/pick_up_item.asm"
INCLUDE "engine/overworld/movement.asm"
INCLUDE "engine/link/cable_club.asm"
INCLUDE "engine/menus/main_menu.asm"
INCLUDE "engine/movie/oak_speech/oak_speech.asm"
INCLUDE "engine/overworld/special_warps.asm"
INCLUDE "engine/debug/debug_party.asm"
INCLUDE "engine/menus/naming_screen.asm"
INCLUDE "engine/movie/oak_speech/oak_speech2.asm"
INCLUDE "engine/items/subtract_paid_money.asm"
INCLUDE "engine/menus/swap_items.asm"
INCLUDE "engine/events/pokemart.asm"
INCLUDE "engine/pokemon/learn_move.asm"
INCLUDE "engine/events/pokecenter.asm"
INCLUDE "engine/events/set_blackout_map.asm"
INCLUDE "engine/menus/display_text_id_init.asm"
INCLUDE "engine/menus/draw_start_menu.asm"
INCLUDE "engine/link/cable_club_npc.asm"
INCLUDE "engine/menus/text_box.asm"
INCLUDE "engine/battle/move_effects/drain_hp.asm"
INCLUDE "engine/menus/players_pc.asm"
INCLUDE "engine/pokemon/remove_mon.asm"
INCLUDE "engine/events/display_pokedex.asm"
SECTION "bank3", ROMX
INCLUDE "engine/joypad.asm"
INCLUDE "engine/overworld/clear_variables.asm"
INCLUDE "engine/overworld/player_state.asm"
INCLUDE "engine/events/poison.asm"
INCLUDE "engine/overworld/tilesets.asm"
INCLUDE "engine/overworld/daycare_exp.asm"
INCLUDE "data/maps/hide_show_data.asm"
INCLUDE "engine/overworld/wild_mons.asm"
INCLUDE "engine/items/item_effects.asm"
INCLUDE "engine/menus/draw_badges.asm"
INCLUDE "engine/overworld/update_map.asm"
INCLUDE "engine/overworld/cut.asm"
INCLUDE "engine/overworld/missable_objects.asm"
INCLUDE "engine/overworld/push_boulder.asm"
INCLUDE "engine/pokemon/add_mon.asm"
INCLUDE "engine/flag_action.asm"
INCLUDE "engine/events/heal_party.asm"
INCLUDE "engine/math/bcd.asm"
INCLUDE "engine/movie/oak_speech/init_player_data.asm"
INCLUDE "engine/items/get_bag_item_quantity.asm"
INCLUDE "engine/overworld/pathfinding.asm"
INCLUDE "engine/gfx/hp_bar.asm"
INCLUDE "engine/events/hidden_objects/bookshelves.asm"
INCLUDE "engine/events/hidden_objects/indigo_plateau_statues.asm"
INCLUDE "engine/events/hidden_objects/book_or_sculpture.asm"
INCLUDE "engine/events/hidden_objects/elevator.asm"
INCLUDE "engine/events/hidden_objects/town_map.asm"
INCLUDE "engine/events/hidden_objects/pokemon_stuff.asm"
SECTION "bank4", ROMX
INCLUDE "gfx/font.asm"
INCLUDE "engine/pokemon/status_screen.asm"
INCLUDE "engine/menus/party_menu.asm"
INCLUDE "gfx/player.asm"
INCLUDE "engine/menus/start_sub_menus.asm"
INCLUDE "engine/items/tms.asm"
EXPBarGraphics:: INCBIN "gfx/exp_bar.2bpp"
EXPBarGraphicsEnd::
SECTION "Battle Engine 1", ROMX
INCLUDE "engine/battle/end_of_battle.asm"
INCLUDE "engine/battle/wild_encounters.asm"
INCLUDE "engine/battle/move_effects/recoil.asm"
INCLUDE "engine/battle/move_effects/conversion.asm"
INCLUDE "engine/battle/move_effects/haze.asm"
SECTION "bank5", ROMX
INCLUDE "engine/gfx/load_pokedex_tiles.asm"
INCLUDE "engine/overworld/map_sprites.asm"
SECTION "Battle Engine 2", ROMX
INCLUDE "engine/battle/move_effects/substitute.asm"
INCLUDE "engine/menus/pc.asm"
SECTION "Doors and Ledges", ROMX
INCLUDE "engine/overworld/auto_movement.asm"
INCLUDE "engine/overworld/doors.asm"
INCLUDE "engine/overworld/ledges.asm"
SECTION "bank7", ROMX
INCLUDE "engine/movie/oak_speech/clear_save.asm"
INCLUDE "engine/events/elevator.asm"
SECTION "Hidden Objects 1", ROMX
INCLUDE "engine/menus/oaks_pc.asm"
INCLUDE "engine/events/hidden_objects/new_bike.asm"
INCLUDE "engine/events/hidden_objects/oaks_lab_posters.asm"
INCLUDE "engine/events/hidden_objects/safari_game.asm"
INCLUDE "engine/events/hidden_objects/cinnabar_gym_quiz.asm"
INCLUDE "engine/events/hidden_objects/magazines.asm"
INCLUDE "engine/events/hidden_objects/bills_house_pc.asm"
INCLUDE "engine/events/hidden_objects/oaks_lab_email.asm"
SECTION "Bill's PC", ROMX
INCLUDE "engine/pokemon/bills_pc.asm"
SECTION "Battle Engine 3", ROMX
INCLUDE "engine/battle/print_type.asm"
INCLUDE "engine/battle/save_trainer_name.asm"
SECTION "Battle Engine 4", ROMX
INCLUDE "engine/gfx/screen_effects.asm"
INCLUDE "engine/battle/move_effects/leech_seed.asm"
SECTION "Battle Engine 5", ROMX
INCLUDE "engine/battle/display_effectiveness.asm"
INCLUDE "engine/items/tmhm.asm"
INCLUDE "engine/pikachu/respawn_overworld_pikachu.asm"
INCLUDE "engine/battle/scale_sprites.asm"
INCLUDE "engine/slots/game_corner_slots2.asm"
SECTION "Slot Machines", ROMX
INCLUDE "engine/movie/title_rb.asm"
INCLUDE "engine/slots/slot_machine.asm"
INCLUDE "engine/slots/game_corner_slots.asm"
SECTION "Battle Engine 6", ROMX
INCLUDE "data/moves/moves.asm"
INCLUDE "data/pokemon/base_stats.asm"
INCLUDE "data/pokemon/cries.asm"
INCLUDE "engine/battle/trainer_ai.asm"
INCLUDE "engine/battle/draw_hud_pokeball_gfx.asm"
INCLUDE "gfx/trade.asm"
INCLUDE "engine/pokemon/evos_moves.asm"
SECTION "Battle Core", ROMX
INCLUDE "engine/battle/core.asm"
INCLUDE "engine/battle/effects.asm"
LoadBackSpriteUnzoomed:
ld a, $66
ld de, vBackPic
push de
jp LoadUncompressedBackSprite
PrintEXPBar:
call CalcEXPBarPixelLength
ldh a, [hQuotient + 3] ; pixel length
ld [wEXPBarPixelLength], a
ld b, a
ld c, $08
ld d, $08
hlcoord 17, 11
.loop
ld a, b
sub c
jr nc, .skip
ld c, b
jr .loop
.skip
ld b, a
ld a, $c0
add c
.loop2
ld [hld], a
dec d
ret z
ld a, b
and a
jr nz, .loop
ld a, $c0
jr .loop2
CalcEXPBarPixelLength:
ld hl, wEXPBarKeepFullFlag
bit 0, [hl]
jr z, .start
res 0, [hl]
ld a, $40
ldh [hQuotient + 3], a
ret
.start
; get the base exp needed for the current level
ld a, [wPlayerBattleStatus3]
ld hl, wBattleMonSpecies
bit 3, a
jr z, .skip
ld hl, wPartyMon1
call BattleMonPartyAttr
.skip
ld a, [hl]
ld [wd0b5], a
call GetMonHeader
ld a, [wBattleMonLevel]
ld d, a
ld hl, CalcExperience
ld b, BANK(CalcExperience)
call Bankswitch
ld hl, hMultiplicand
ld de, wEXPBarBaseEXP
ld a, [hli]
ld [de], a
inc de
ld a, [hli]
ld [de], a
inc de
ld a, [hl]
ld [de], a
; get the exp needed to gain a level
ld a, [wBattleMonLevel]
ld d, a
inc d
ld hl, CalcExperience
ld b, BANK(CalcExperience)
call Bankswitch
; get the address of the active Pokemon's current experience
ld hl, wPartyMon1Exp
call BattleMonPartyAttr
; current exp - base exp
ld b, h
ld c, l
ld hl, wEXPBarBaseEXP
ld de, wEXPBarCurEXP
call SubThreeByteNum
; exp needed - base exp
ld bc, hMultiplicand
ld hl, wEXPBarBaseEXP
ld de, wEXPBarNeededEXP
call SubThreeByteNum
; make the divisor an 8-bit number
ld hl, wEXPBarNeededEXP
ld de, wEXPBarCurEXP + 1
ld a, [hli]
and a
jr z, .twoBytes
ld a, [hli]
ld [hld], a
dec hl
ld a, [hli]
ld [hld], a
ld a, [de]
inc de
ld [de], a
dec de
dec de
ld a, [de]
inc de
ld [de], a
dec de
xor a
ld [hli], a
ld [de], a
inc de
.twoBytes
ld a, [hl]
and a
jr z, .oneByte
srl a
ld [hli], a
ld a, [hl]
rr a
ld [hld], a
ld a, [de]
srl a
ld [de], a
inc de
ld a, [de]
rr a
ld [de], a
dec de
jr .twoBytes
.oneByte
; current exp * (8 tiles * 8 pixels)
ld hl, hMultiplicand
ld de, wEXPBarCurEXP
ld a, [de]
inc de
ld [hli], a
ld a, [de]
inc de
ld [hli], a
ld a, [de]
ld [hl], a
ld a, $40
ldh [hMultiplier], a
call Multiply
; product / needed exp = pixel length
ld a, [wEXPBarNeededEXP + 2]
ldh [hDivisor], a
ld b, $04
jp Divide
; calculates the three byte number starting at [bc]
; minus the three byte number starting at [hl]
; and stores it into the three bytes starting at [de]
; assumes that [hl] is smaller than [bc]
SubThreeByteNum:
call .subByte
call .subByte
.subByte
ld a, [bc]
inc bc
sub [hl]
inc hl
ld [de], a
jr nc, .noCarry
dec de
ld a, [de]
dec a
ld [de], a
inc de
.noCarry
inc de
ret
; return the address of the BattleMon's party struct attribute in hl
BattleMonPartyAttr:
ld a, [wPlayerMonNumber]
ld bc, wPartyMon2 - wPartyMon1
jp AddNTimes
SECTION "bank10", ROMX
INCLUDE "engine/menus/pokedex.asm"
INCLUDE "engine/overworld/emotion_bubbles.asm"
INCLUDE "engine/movie/trade.asm"
INCLUDE "engine/movie/intro.asm"
INCLUDE "engine/movie/trade2.asm"
INCLUDE "engine/menus/options.asm"
SECTION "Pokédex Rating", ROMX
INCLUDE "engine/events/pokedex_rating.asm"
SECTION "Dungeon Warps", ROMX
INCLUDE "engine/overworld/dungeon_warps.asm"
SECTION "Hidden Objects 2", ROMX
INCLUDE "engine/events/card_key.asm"
INCLUDE "engine/events/prize_menu.asm"
INCLUDE "engine/events/hidden_objects/school_notebooks.asm"
INCLUDE "engine/events/hidden_objects/fighting_dojo.asm"
INCLUDE "engine/events/hidden_objects/indigo_plateau_hq.asm"
SECTION "Battle Engine 7", ROMX
INCLUDE "engine/battle/experience.asm"
SECTION "Diploma", ROMX
INCLUDE "engine/events/diploma.asm"
SECTION "Trainer Sight", ROMX
INCLUDE "engine/overworld/trainer_sight.asm"
SECTION "bank16", ROMX
INCLUDE "engine/pokemon/experience.asm"
INCLUDE "engine/pokemon/status_ailments.asm"
INCLUDE "engine/events/oaks_aide.asm"
SECTION "Saffron Guards", ROMX
INCLUDE "engine/events/saffron_guards.asm"
SECTION "Starter Dex", ROMX
INCLUDE "engine/events/starter_dex.asm"
SECTION "Hidden Objects 3", ROMX
INCLUDE "engine/movie/evolution.asm"
INCLUDE "engine/pokemon/set_types.asm"
INCLUDE "engine/events/hidden_objects/reds_room.asm"
INCLUDE "engine/events/hidden_objects/route_15_binoculars.asm"
INCLUDE "engine/events/hidden_objects/museum_fossils.asm"
INCLUDE "engine/events/hidden_objects/fanclub_pictures.asm"
INCLUDE "engine/events/hidden_objects/museum_fossils2.asm"
INCLUDE "engine/events/hidden_objects/school_blackboard.asm"
INCLUDE "engine/events/hidden_objects/vermilion_gym_trash.asm"
SECTION "Cinnabar Lab Fossils", ROMX
INCLUDE "engine/events/cinnabar_lab.asm"
SECTION "Hidden Objects 4", ROMX
INCLUDE "engine/events/hidden_objects/gym_statues.asm"
INCLUDE "engine/events/hidden_objects/bench_guys.asm"
INCLUDE "engine/events/hidden_objects/blues_room.asm"
INCLUDE "engine/events/hidden_objects/pokecenter_pc.asm"
SECTION "Version Graphics", ROMX
INCLUDE "gfx/version.asm"
SECTION "bank1C", ROMX
INCLUDE "engine/movie/splash.asm"
INCLUDE "engine/movie/hall_of_fame.asm"
INCLUDE "engine/overworld/healing_machine.asm"
INCLUDE "engine/overworld/player_animations.asm"
INCLUDE "engine/battle/ghost_marowak_anim.asm"
INCLUDE "engine/battle/battle_transitions.asm"
INCLUDE "engine/items/town_map.asm"
INCLUDE "engine/gfx/mon_icons.asm"
INCLUDE "engine/events/in_game_trades.asm"
INCLUDE "engine/gfx/palettes.asm"
INCLUDE "engine/menus/save.asm"
SECTION "Itemfinder 1", ROMX
INCLUDE "engine/items/itemfinder.asm"
SECTION "Vending Machine", ROMX
INCLUDE "engine/events/vending_machine.asm"
SECTION "Itemfinder 2", ROMX
INCLUDE "engine/menus/league_pc.asm"
INCLUDE "engine/overworld/elevator.asm"
INCLUDE "engine/events/hidden_items.asm"
SECTION "bank1E", ROMX
INCLUDE "engine/battle/animations.asm"
INCLUDE "engine/overworld/cut2.asm"
INCLUDE "engine/overworld/dust_smoke.asm"
INCLUDE "gfx/fishing.asm"
INCLUDE "data/moves/animations.asm"
INCLUDE "data/battle_anims/subanimations.asm"
INCLUDE "data/battle_anims/frame_blocks.asm"
SECTION "BG Map Attributes (Debug)", ROMX
IF DEF(_DEBUG)
INCLUDE "engine/gfx/bg_map_attributes.asm"
ENDC
SECTION "BG Map Attributes", ROMX
INCLUDE "data/cgb/bg_map_attributes.asm"
IF !DEF(_DEBUG)
INCLUDE "engine/gfx/bg_map_attributes.asm"
ENDC
SECTION "bank30", ROMX
; This whole bank is garbage data.
IF !DEF(_DEBUG)
INCBIN "garbage/bank30.bin"
ENDC
SECTION "bank3A", ROMX
INCLUDE "data/pokemon/names.asm"
INCLUDE "engine/overworld/is_player_just_outside_map.asm"
INCLUDE "engine/printer/serial.asm"
INCLUDE "engine/printer/printer.asm"
INCLUDE "engine/events/diploma2.asm"
INCLUDE "engine/printer/printer2.asm"
INCLUDE "engine/overworld/npc_movement_2.asm"
SECTION "Pikachu PCM", ROMX
INCLUDE "engine/pikachu/pikachu_pcm.asm"
INCLUDE "engine/overworld/advance_player_sprite.asm"
INCLUDE "engine/events/black_out.asm"
INCLUDE "engine/overworld/specific_script_flags.asm"
SECTION "Try Pikachu Movement", ROMX
INCLUDE "engine/overworld/unused_load_missable_object_data.asm"
INCLUDE "engine/events/try_pikachu_movement.asm"
SECTION "Credits", ROMX
INCLUDE "engine/events/pokecenter_chansey.asm"
INCLUDE "engine/movie/credits.asm"
SECTION "Hidden Objects Core", ROMX
INCLUDE "engine/overworld/hidden_objects.asm"
INCLUDE "engine/events/hidden_objects/vermilion_gym_trash2.asm"
SECTION "Battle Engine 8", ROMX
INCLUDE "engine/battle/common_text.asm"
INCLUDE "engine/battle/link_battle_versus_text.asm"
INCLUDE "engine/battle/unused_stats_functions.asm"
INCLUDE "engine/battle/scroll_draw_trainer_pic.asm"
INCLUDE "engine/battle/pikachu_entrance_anim.asm"
INCLUDE "engine/battle/decrement_pp.asm"
INCLUDE "engine/events/pikachu_happiness.asm"
SECTION "Battle Engine 9", ROMX
INCLUDE "engine/movie/title_yellow.asm"
INCLUDE "engine/menus/link_menu.asm"
INCLUDE "engine/menus/unused_input.asm"
INCLUDE "engine/overworld/field_move_messages.asm"
INCLUDE "engine/items/inventory.asm"
INCLUDE "gfx/trainer_card.asm"
INCLUDE "engine/items/super_rod.asm"
INCLUDE "engine/battle/init_battle.asm"
INCLUDE "engine/battle/init_battle_variables.asm"
INCLUDE "engine/battle/move_effects/focus_energy.asm"
INCLUDE "engine/battle/move_effects/heal.asm"
INCLUDE "engine/battle/move_effects/transform.asm"
INCLUDE "engine/battle/move_effects/reflect_light_screen.asm"
INCLUDE "engine/battle/move_effects/mist.asm"
INCLUDE "engine/battle/move_effects/one_hit_ko.asm"
INCLUDE "engine/battle/move_effects/pay_day.asm"
INCLUDE "engine/battle/move_effects/paralyze.asm"
INCLUDE "engine/items/tm_prices.asm"
INCLUDE "engine/math/multiply_divide.asm"
INCLUDE "engine/events/give_pokemon.asm"
INCLUDE "engine/battle/get_trainer_name.asm"
INCLUDE "engine/math/random.asm"
INCLUDE "engine/predefs.asm"
SECTION "Surfing Minigame", ROMX
INCLUDE "engine/minigame/surfing_pikachu.asm"
INCLUDE "engine/movie/intro_yellow.asm"
INCLUDE "engine/gfx/animated_objects.asm"
SECTION "Overworld Pikachu", ROMX
INCLUDE "data/maps/songs.asm"
INCLUDE "data/maps/map_header_pointers.asm"
INCLUDE "data/maps/map_header_banks.asm"
INCLUDE "engine/pikachu/pikachu_follow.asm"
INCLUDE "engine/pikachu/pikachu_status.asm"
INCLUDE "engine/pikachu/pikachu_emotions.asm"
INCLUDE "engine/pikachu/pikachu_movement.asm"
INCLUDE "engine/pikachu/pikachu_pic_animation.asm"
INCLUDE "engine/debug/debug_menu.asm"
SECTION "bank40", ROMX, BANK[$40]
SeadraPicFront:: INCBIN "gfx/pokemon/front/seadra.pic"
SeadraPicBack:: INCBIN "gfx/pokemon/back/seadrab.pic"
GoldeenPicFront:: INCBIN "gfx/pokemon/front/goldeen.pic"
GoldeenPicBack:: INCBIN "gfx/pokemon/back/goldeenb.pic"
SeakingPicFront:: INCBIN "gfx/pokemon/front/seaking.pic"
SeakingPicBack:: INCBIN "gfx/pokemon/back/seakingb.pic"
StaryuPicFront:: INCBIN "gfx/pokemon/front/staryu.pic"
StaryuPicBack:: INCBIN "gfx/pokemon/back/staryub.pic"
StarmiePicFront:: INCBIN "gfx/pokemon/front/starmie.pic"
StarmiePicBack:: INCBIN "gfx/pokemon/back/starmieb.pic"
MrMimePicFront:: INCBIN "gfx/pokemon/front/mr.mime.pic"
MrMimePicBack:: INCBIN "gfx/pokemon/back/mr.mimeb.pic"
ScytherPicFront:: INCBIN "gfx/pokemon/front/scyther.pic"
ScytherPicBack:: INCBIN "gfx/pokemon/back/scytherb.pic"
JynxPicFront:: INCBIN "gfx/pokemon/front/jynx.pic"
JynxPicBack:: INCBIN "gfx/pokemon/back/jynxb.pic"
ElectabuzzPicFront:: INCBIN "gfx/pokemon/front/electabuzz.pic"
ElectabuzzPicBack:: INCBIN "gfx/pokemon/back/electabuzzb.pic"
MagmarPicFront:: INCBIN "gfx/pokemon/front/magmar.pic"
MagmarPicBack:: INCBIN "gfx/pokemon/back/magmarb.pic"
PinsirPicFront:: INCBIN "gfx/pokemon/front/pinsir.pic"
PinsirPicBack:: INCBIN "gfx/pokemon/back/pinsirb.pic"
TaurosPicFront:: INCBIN "gfx/pokemon/front/tauros.pic"
TaurosPicBack:: INCBIN "gfx/pokemon/back/taurosb.pic"
MagikarpPicFront:: INCBIN "gfx/pokemon/front/magikarp.pic"
MagikarpPicBack:: INCBIN "gfx/pokemon/back/magikarpb.pic"
GyaradosPicFront:: INCBIN "gfx/pokemon/front/gyarados.pic"
GyaradosPicBack:: INCBIN "gfx/pokemon/back/gyaradosb.pic"
LaprasPicFront:: INCBIN "gfx/pokemon/front/lapras.pic"
LaprasPicBack:: INCBIN "gfx/pokemon/back/laprasb.pic"
DittoPicFront:: INCBIN "gfx/pokemon/front/ditto.pic"
DittoPicBack:: INCBIN "gfx/pokemon/back/dittob.pic"
EeveePicFront:: INCBIN "gfx/pokemon/front/eevee.pic"
EeveePicBack:: INCBIN "gfx/pokemon/back/eeveeb.pic"
VaporeonPicFront:: INCBIN "gfx/pokemon/front/vaporeon.pic"
VaporeonPicBack:: INCBIN "gfx/pokemon/back/vaporeonb.pic"
JolteonPicFront:: INCBIN "gfx/pokemon/front/jolteon.pic"
JolteonPicBack:: INCBIN "gfx/pokemon/back/jolteonb.pic"
FlareonPicFront:: INCBIN "gfx/pokemon/front/flareon.pic"
FlareonPicBack:: INCBIN "gfx/pokemon/back/flareonb.pic"
PorygonPicFront:: INCBIN "gfx/pokemon/front/porygon.pic"
PorygonPicBack:: INCBIN "gfx/pokemon/back/porygonb.pic"
OmanytePicFront:: INCBIN "gfx/pokemon/front/omanyte.pic"
OmanytePicBack:: INCBIN "gfx/pokemon/back/omanyteb.pic"
OmastarPicFront:: INCBIN "gfx/pokemon/front/omastar.pic"
OmastarPicBack:: INCBIN "gfx/pokemon/back/omastarb.pic"
KabutoPicFront:: INCBIN "gfx/pokemon/front/kabuto.pic"
KabutoPicBack:: INCBIN "gfx/pokemon/back/kabutob.pic"
SECTION "bank41", ROMX, BANK[$41]
KabutopsPicFront:: INCBIN "gfx/pokemon/front/kabutops.pic"
KabutopsPicBack:: INCBIN "gfx/pokemon/back/kabutopsb.pic"
AerodactylPicFront:: INCBIN "gfx/pokemon/front/aerodactyl.pic"
AerodactylPicBack:: INCBIN "gfx/pokemon/back/aerodactylb.pic"
SnorlaxPicFront:: INCBIN "gfx/pokemon/front/snorlax.pic"
SnorlaxPicBack:: INCBIN "gfx/pokemon/back/snorlaxb.pic"
ArticunoPicFront:: INCBIN "gfx/pokemon/front/articuno.pic"
ArticunoPicBack:: INCBIN "gfx/pokemon/back/articunob.pic"
ZapdosPicFront:: INCBIN "gfx/pokemon/front/zapdos.pic"
ZapdosPicBack:: INCBIN "gfx/pokemon/back/zapdosb.pic"
MoltresPicFront:: INCBIN "gfx/pokemon/front/moltres.pic"
MoltresPicBack:: INCBIN "gfx/pokemon/back/moltresb.pic"
DratiniPicFront:: INCBIN "gfx/pokemon/front/dratini.pic"
DratiniPicBack:: INCBIN "gfx/pokemon/back/dratinib.pic"
DragonairPicFront:: INCBIN "gfx/pokemon/front/dragonair.pic"
DragonairPicBack:: INCBIN "gfx/pokemon/back/dragonairb.pic"
DragonitePicFront:: INCBIN "gfx/pokemon/front/dragonite.pic"
DragonitePicBack:: INCBIN "gfx/pokemon/back/dragoniteb.pic"
MewtwoPicFront:: INCBIN "gfx/pokemon/front/mewtwo.pic"
MewtwoPicBack:: INCBIN "gfx/pokemon/back/mewtwob.pic"
MewPicFront:: INCBIN "gfx/pokemon/front/mew.pic"
MewPicBack:: INCBIN "gfx/pokemon/back/mewb.pic"
SECTION "bank42", ROMX, BANK[$42]
INCLUDE "data/sgb/sgb_palettes.asm"