summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio.asm106
-rw-r--r--audio/engine_1.asm32
-rw-r--r--audio/engine_2.asm24
-rw-r--r--audio/engine_3.asm12
-rw-r--r--audio/engine_4.asm12
-rw-r--r--audio/headers/musicheaders1.asm40
-rw-r--r--audio/headers/musicheaders2.asm14
-rw-r--r--audio/headers/musicheaders3.asm36
-rw-r--r--audio/headers/sfxheaders1.asm190
-rw-r--r--audio/headers/sfxheaders2.asm238
-rw-r--r--audio/headers/sfxheaders3.asm206
-rw-r--r--audio/headers/sfxheaders4.asm142
-rw-r--r--audio/music/bikeriding.asm8
-rw-r--r--audio/music/celadon.asm6
-rw-r--r--audio/music/cinnabar.asm6
-rw-r--r--audio/music/cinnabarmansion.asm8
-rw-r--r--audio/music/cities1.asm8
-rw-r--r--audio/music/cities2.asm6
-rw-r--r--audio/music/credits.asm6
-rw-r--r--audio/music/defeatedgymleader.asm6
-rw-r--r--audio/music/defeatedtrainer.asm6
-rw-r--r--audio/music/defeatedwildmon.asm6
-rw-r--r--audio/music/dungeon1.asm8
-rw-r--r--audio/music/dungeon2.asm8
-rw-r--r--audio/music/dungeon3.asm8
-rw-r--r--audio/music/finalbattle.asm6
-rw-r--r--audio/music/gamecorner.asm6
-rw-r--r--audio/music/gym.asm6
-rw-r--r--audio/music/gymleaderbattle.asm6
-rw-r--r--audio/music/halloffame.asm6
-rw-r--r--audio/music/indigoplateau.asm8
-rw-r--r--audio/music/introbattle.asm8
-rw-r--r--audio/music/jigglypuffsong.asm4
-rw-r--r--audio/music/lavender.asm8
-rw-r--r--audio/music/meeteviltrainer.asm6
-rw-r--r--audio/music/meetfemaletrainer.asm6
-rw-r--r--audio/music/meetjessiejames.asm6
-rw-r--r--audio/music/meetmaletrainer.asm6
-rw-r--r--audio/music/meetprofoak.asm6
-rw-r--r--audio/music/meetrival.asm6
-rw-r--r--audio/music/museumguy.asm8
-rw-r--r--audio/music/oakslab.asm6
-rw-r--r--audio/music/pallettown.asm6
-rw-r--r--audio/music/pkmnhealed.asm6
-rw-r--r--audio/music/pokecenter.asm6
-rw-r--r--audio/music/pokemontower.asm6
-rw-r--r--audio/music/routes1.asm8
-rw-r--r--audio/music/routes2.asm8
-rw-r--r--audio/music/routes3.asm8
-rw-r--r--audio/music/routes4.asm8
-rw-r--r--audio/music/safarizone.asm6
-rw-r--r--audio/music/silphco.asm6
-rw-r--r--audio/music/ssanne.asm6
-rw-r--r--audio/music/surfing.asm6
-rw-r--r--audio/music/surfingpikachu.asm6
-rw-r--r--audio/music/titlescreen.asm8
-rw-r--r--audio/music/trainerbattle.asm6
-rw-r--r--audio/music/unusedsong.asm4
-rw-r--r--audio/music/vermilion.asm8
-rw-r--r--audio/music/wildbattle.asm6
-rw-r--r--audio/music/yellowintro.asm6
-rw-r--r--audio/music/yellowunusedsong.asm8
-rw-r--r--audio/sfx/59_1.asm4
-rw-r--r--audio/sfx/59_3.asm4
-rw-r--r--audio/sfx/arrow_tiles_1.asm2
-rw-r--r--audio/sfx/arrow_tiles_3.asm2
-rw-r--r--audio/sfx/ball_poof.asm4
-rw-r--r--audio/sfx/ball_toss.asm4
-rw-r--r--audio/sfx/battle_09.asm2
-rw-r--r--audio/sfx/battle_0b.asm2
-rw-r--r--audio/sfx/battle_0c.asm2
-rw-r--r--audio/sfx/battle_0d.asm2
-rw-r--r--audio/sfx/battle_0e.asm2
-rw-r--r--audio/sfx/battle_0f.asm2
-rw-r--r--audio/sfx/battle_12.asm2
-rw-r--r--audio/sfx/battle_13.asm2
-rw-r--r--audio/sfx/battle_14.asm2
-rw-r--r--audio/sfx/battle_16.asm2
-rw-r--r--audio/sfx/battle_17.asm2
-rw-r--r--audio/sfx/battle_18.asm2
-rw-r--r--audio/sfx/battle_19.asm2
-rw-r--r--audio/sfx/battle_1b.asm2
-rw-r--r--audio/sfx/battle_1c.asm2
-rw-r--r--audio/sfx/battle_1e.asm4
-rw-r--r--audio/sfx/battle_20.asm2
-rw-r--r--audio/sfx/battle_21.asm2
-rw-r--r--audio/sfx/battle_22.asm2
-rw-r--r--audio/sfx/battle_23.asm2
-rw-r--r--audio/sfx/battle_24.asm4
-rw-r--r--audio/sfx/battle_25.asm2
-rw-r--r--audio/sfx/battle_26.asm2
-rw-r--r--audio/sfx/battle_27.asm6
-rw-r--r--audio/sfx/battle_28.asm6
-rw-r--r--audio/sfx/battle_29.asm4
-rw-r--r--audio/sfx/battle_2a.asm6
-rw-r--r--audio/sfx/battle_2b.asm4
-rw-r--r--audio/sfx/battle_2c.asm6
-rw-r--r--audio/sfx/battle_2e.asm6
-rw-r--r--audio/sfx/battle_2f.asm6
-rw-r--r--audio/sfx/battle_31.asm4
-rw-r--r--audio/sfx/battle_32.asm4
-rw-r--r--audio/sfx/battle_33.asm4
-rw-r--r--audio/sfx/battle_34.asm6
-rw-r--r--audio/sfx/battle_35.asm4
-rw-r--r--audio/sfx/battle_36.asm6
-rw-r--r--audio/sfx/caught_mon.asm6
-rw-r--r--audio/sfx/collision_1.asm2
-rw-r--r--audio/sfx/collision_3.asm2
-rw-r--r--audio/sfx/cry00_1.asm6
-rw-r--r--audio/sfx/cry00_2.asm6
-rw-r--r--audio/sfx/cry00_3.asm6
-rw-r--r--audio/sfx/cry01_1.asm6
-rw-r--r--audio/sfx/cry01_2.asm6
-rw-r--r--audio/sfx/cry01_3.asm6
-rw-r--r--audio/sfx/cry02_1.asm6
-rw-r--r--audio/sfx/cry02_2.asm6
-rw-r--r--audio/sfx/cry02_3.asm6
-rw-r--r--audio/sfx/cry03_1.asm6
-rw-r--r--audio/sfx/cry03_2.asm6
-rw-r--r--audio/sfx/cry03_3.asm6
-rw-r--r--audio/sfx/cry04_1.asm6
-rw-r--r--audio/sfx/cry04_2.asm6
-rw-r--r--audio/sfx/cry04_3.asm6
-rw-r--r--audio/sfx/cry05_1.asm6
-rw-r--r--audio/sfx/cry05_2.asm6
-rw-r--r--audio/sfx/cry05_3.asm6
-rw-r--r--audio/sfx/cry06_1.asm6
-rw-r--r--audio/sfx/cry06_2.asm6
-rw-r--r--audio/sfx/cry06_3.asm6
-rw-r--r--audio/sfx/cry07_1.asm6
-rw-r--r--audio/sfx/cry07_2.asm6
-rw-r--r--audio/sfx/cry07_3.asm6
-rw-r--r--audio/sfx/cry08_1.asm6
-rw-r--r--audio/sfx/cry08_2.asm6
-rw-r--r--audio/sfx/cry08_3.asm6
-rw-r--r--audio/sfx/cry09_1.asm6
-rw-r--r--audio/sfx/cry09_2.asm6
-rw-r--r--audio/sfx/cry09_3.asm6
-rw-r--r--audio/sfx/cry0a_1.asm6
-rw-r--r--audio/sfx/cry0a_2.asm6
-rw-r--r--audio/sfx/cry0a_3.asm6
-rw-r--r--audio/sfx/cry0b_1.asm6
-rw-r--r--audio/sfx/cry0b_2.asm6
-rw-r--r--audio/sfx/cry0b_3.asm6
-rw-r--r--audio/sfx/cry0c_1.asm6
-rw-r--r--audio/sfx/cry0c_2.asm6
-rw-r--r--audio/sfx/cry0c_3.asm6
-rw-r--r--audio/sfx/cry0d_1.asm6
-rw-r--r--audio/sfx/cry0d_2.asm6
-rw-r--r--audio/sfx/cry0d_3.asm6
-rw-r--r--audio/sfx/cry0e_1.asm6
-rw-r--r--audio/sfx/cry0e_2.asm6
-rw-r--r--audio/sfx/cry0e_3.asm6
-rw-r--r--audio/sfx/cry0f_1.asm6
-rw-r--r--audio/sfx/cry0f_2.asm6
-rw-r--r--audio/sfx/cry0f_3.asm6
-rw-r--r--audio/sfx/cry10_1.asm6
-rw-r--r--audio/sfx/cry10_2.asm6
-rw-r--r--audio/sfx/cry10_3.asm6
-rw-r--r--audio/sfx/cry11_1.asm6
-rw-r--r--audio/sfx/cry11_2.asm6
-rw-r--r--audio/sfx/cry11_3.asm6
-rw-r--r--audio/sfx/cry12_1.asm6
-rw-r--r--audio/sfx/cry12_2.asm6
-rw-r--r--audio/sfx/cry12_3.asm6
-rw-r--r--audio/sfx/cry13_1.asm6
-rw-r--r--audio/sfx/cry13_2.asm6
-rw-r--r--audio/sfx/cry13_3.asm6
-rw-r--r--audio/sfx/cry14_1.asm6
-rw-r--r--audio/sfx/cry14_2.asm6
-rw-r--r--audio/sfx/cry14_3.asm6
-rw-r--r--audio/sfx/cry15_1.asm6
-rw-r--r--audio/sfx/cry15_2.asm6
-rw-r--r--audio/sfx/cry15_3.asm6
-rw-r--r--audio/sfx/cry16_1.asm6
-rw-r--r--audio/sfx/cry16_2.asm6
-rw-r--r--audio/sfx/cry16_3.asm6
-rw-r--r--audio/sfx/cry17_1.asm6
-rw-r--r--audio/sfx/cry17_2.asm6
-rw-r--r--audio/sfx/cry17_3.asm6
-rw-r--r--audio/sfx/cry18_1.asm6
-rw-r--r--audio/sfx/cry18_2.asm6
-rw-r--r--audio/sfx/cry18_3.asm6
-rw-r--r--audio/sfx/cry19_1.asm6
-rw-r--r--audio/sfx/cry19_2.asm6
-rw-r--r--audio/sfx/cry19_3.asm6
-rw-r--r--audio/sfx/cry1a_1.asm6
-rw-r--r--audio/sfx/cry1a_2.asm6
-rw-r--r--audio/sfx/cry1a_3.asm6
-rw-r--r--audio/sfx/cry1b_1.asm6
-rw-r--r--audio/sfx/cry1b_2.asm6
-rw-r--r--audio/sfx/cry1b_3.asm6
-rw-r--r--audio/sfx/cry1c_1.asm6
-rw-r--r--audio/sfx/cry1c_2.asm6
-rw-r--r--audio/sfx/cry1c_3.asm6
-rw-r--r--audio/sfx/cry1d_1.asm6
-rw-r--r--audio/sfx/cry1d_2.asm6
-rw-r--r--audio/sfx/cry1d_3.asm6
-rw-r--r--audio/sfx/cry1e_1.asm6
-rw-r--r--audio/sfx/cry1e_2.asm6
-rw-r--r--audio/sfx/cry1e_3.asm6
-rw-r--r--audio/sfx/cry1f_1.asm6
-rw-r--r--audio/sfx/cry1f_2.asm6
-rw-r--r--audio/sfx/cry1f_3.asm6
-rw-r--r--audio/sfx/cry20_1.asm6
-rw-r--r--audio/sfx/cry20_2.asm6
-rw-r--r--audio/sfx/cry20_3.asm6
-rw-r--r--audio/sfx/cry21_1.asm6
-rw-r--r--audio/sfx/cry21_2.asm6
-rw-r--r--audio/sfx/cry21_3.asm6
-rw-r--r--audio/sfx/cry22_1.asm6
-rw-r--r--audio/sfx/cry22_2.asm6
-rw-r--r--audio/sfx/cry22_3.asm6
-rw-r--r--audio/sfx/cry23_1.asm6
-rw-r--r--audio/sfx/cry23_2.asm6
-rw-r--r--audio/sfx/cry23_3.asm6
-rw-r--r--audio/sfx/cry24_1.asm6
-rw-r--r--audio/sfx/cry24_2.asm6
-rw-r--r--audio/sfx/cry24_3.asm6
-rw-r--r--audio/sfx/cry25_1.asm6
-rw-r--r--audio/sfx/cry25_2.asm6
-rw-r--r--audio/sfx/cry25_3.asm6
-rw-r--r--audio/sfx/cut_1.asm2
-rw-r--r--audio/sfx/cut_3.asm2
-rw-r--r--audio/sfx/cymbal1_1.asm2
-rw-r--r--audio/sfx/cymbal1_2.asm2
-rw-r--r--audio/sfx/cymbal1_3.asm2
-rw-r--r--audio/sfx/cymbal2_1.asm2
-rw-r--r--audio/sfx/cymbal2_2.asm2
-rw-r--r--audio/sfx/cymbal2_3.asm2
-rw-r--r--audio/sfx/cymbal3_1.asm2
-rw-r--r--audio/sfx/cymbal3_2.asm2
-rw-r--r--audio/sfx/cymbal3_3.asm2
-rw-r--r--audio/sfx/damage.asm2
-rw-r--r--audio/sfx/denied_1.asm4
-rw-r--r--audio/sfx/denied_3.asm4
-rw-r--r--audio/sfx/dex_page_added.asm4
-rw-r--r--audio/sfx/doubleslap.asm2
-rw-r--r--audio/sfx/enter_pc_1.asm2
-rw-r--r--audio/sfx/enter_pc_3.asm2
-rw-r--r--audio/sfx/faint_fall.asm2
-rw-r--r--audio/sfx/faint_thud.asm4
-rw-r--r--audio/sfx/fly_1.asm2
-rw-r--r--audio/sfx/fly_3.asm2
-rw-r--r--audio/sfx/get_item1_1.asm6
-rw-r--r--audio/sfx/get_item1_3.asm6
-rw-r--r--audio/sfx/get_item2_1.asm6
-rw-r--r--audio/sfx/get_item2_2.asm6
-rw-r--r--audio/sfx/get_item2_3.asm6
-rw-r--r--audio/sfx/get_item2_4_2.asm6
-rw-r--r--audio/sfx/get_key_item_1.asm6
-rw-r--r--audio/sfx/get_key_item_3.asm6
-rw-r--r--audio/sfx/go_inside_1.asm2
-rw-r--r--audio/sfx/go_inside_3.asm2
-rw-r--r--audio/sfx/go_outside_1.asm2
-rw-r--r--audio/sfx/go_outside_3.asm2
-rw-r--r--audio/sfx/heal_ailment_1.asm2
-rw-r--r--audio/sfx/heal_ailment_2.asm2
-rw-r--r--audio/sfx/heal_ailment_3.asm2
-rw-r--r--audio/sfx/heal_hp_1.asm2
-rw-r--r--audio/sfx/heal_hp_2.asm2
-rw-r--r--audio/sfx/heal_hp_3.asm2
-rw-r--r--audio/sfx/healing_machine_1.asm2
-rw-r--r--audio/sfx/healing_machine_3.asm2
-rw-r--r--audio/sfx/horn_drill.asm2
-rw-r--r--audio/sfx/intro_crash.asm2
-rw-r--r--audio/sfx/intro_hip.asm2
-rw-r--r--audio/sfx/intro_hop.asm2
-rw-r--r--audio/sfx/intro_lunge.asm2
-rw-r--r--audio/sfx/intro_raise.asm2
-rw-r--r--audio/sfx/intro_whoosh.asm2
-rw-r--r--audio/sfx/ledge_1.asm2
-rw-r--r--audio/sfx/ledge_3.asm2
-rw-r--r--audio/sfx/level_up.asm6
-rw-r--r--audio/sfx/muted_snare1_1.asm2
-rw-r--r--audio/sfx/muted_snare1_2.asm2
-rw-r--r--audio/sfx/muted_snare1_3.asm2
-rw-r--r--audio/sfx/muted_snare2_1.asm2
-rw-r--r--audio/sfx/muted_snare2_2.asm2
-rw-r--r--audio/sfx/muted_snare2_3.asm2
-rw-r--r--audio/sfx/muted_snare3_1.asm2
-rw-r--r--audio/sfx/muted_snare3_2.asm2
-rw-r--r--audio/sfx/muted_snare3_3.asm2
-rw-r--r--audio/sfx/muted_snare4_1.asm2
-rw-r--r--audio/sfx/muted_snare4_2.asm2
-rw-r--r--audio/sfx/muted_snare4_3.asm2
-rw-r--r--audio/sfx/not_very_effective.asm2
-rw-r--r--audio/sfx/peck.asm2
-rw-r--r--audio/sfx/poisoned_1.asm2
-rw-r--r--audio/sfx/poisoned_3.asm2
-rw-r--r--audio/sfx/pokedex_rating_1.asm6
-rw-r--r--audio/sfx/pokedex_rating_3.asm6
-rw-r--r--audio/sfx/pokeflute.asm2
-rw-r--r--audio/sfx/pokeflute_ch1_ch2.asm4
-rw-r--r--audio/sfx/pokeflute_ch3.asm2
-rw-r--r--audio/sfx/pound.asm2
-rw-r--r--audio/sfx/press_ab_1.asm2
-rw-r--r--audio/sfx/press_ab_2.asm2
-rw-r--r--audio/sfx/press_ab_3.asm2
-rw-r--r--audio/sfx/psybeam.asm6
-rw-r--r--audio/sfx/psychic_m.asm6
-rw-r--r--audio/sfx/purchase_1.asm4
-rw-r--r--audio/sfx/purchase_3.asm4
-rw-r--r--audio/sfx/push_boulder_1.asm2
-rw-r--r--audio/sfx/push_boulder_3.asm2
-rw-r--r--audio/sfx/run.asm2
-rw-r--r--audio/sfx/safari_zone_pa.asm2
-rw-r--r--audio/sfx/save_1.asm4
-rw-r--r--audio/sfx/save_3.asm4
-rw-r--r--audio/sfx/shooting_star.asm2
-rw-r--r--audio/sfx/shrink_1.asm2
-rw-r--r--audio/sfx/shrink_3.asm2
-rw-r--r--audio/sfx/silph_scope.asm2
-rw-r--r--audio/sfx/slots_new_spin.asm4
-rw-r--r--audio/sfx/slots_reward.asm2
-rw-r--r--audio/sfx/slots_stop_wheel.asm2
-rw-r--r--audio/sfx/snare1_1.asm2
-rw-r--r--audio/sfx/snare1_2.asm2
-rw-r--r--audio/sfx/snare1_3.asm2
-rw-r--r--audio/sfx/snare2_1.asm2
-rw-r--r--audio/sfx/snare2_2.asm2
-rw-r--r--audio/sfx/snare2_3.asm2
-rw-r--r--audio/sfx/snare3_1.asm2
-rw-r--r--audio/sfx/snare3_2.asm2
-rw-r--r--audio/sfx/snare3_3.asm2
-rw-r--r--audio/sfx/snare4_1.asm2
-rw-r--r--audio/sfx/snare4_2.asm2
-rw-r--r--audio/sfx/snare4_3.asm2
-rw-r--r--audio/sfx/snare5_1.asm2
-rw-r--r--audio/sfx/snare5_2.asm2
-rw-r--r--audio/sfx/snare5_3.asm2
-rw-r--r--audio/sfx/snare6_1.asm2
-rw-r--r--audio/sfx/snare6_2.asm2
-rw-r--r--audio/sfx/snare6_3.asm2
-rw-r--r--audio/sfx/snare7_1.asm2
-rw-r--r--audio/sfx/snare7_2.asm2
-rw-r--r--audio/sfx/snare7_3.asm2
-rw-r--r--audio/sfx/snare8_1.asm2
-rw-r--r--audio/sfx/snare8_2.asm2
-rw-r--r--audio/sfx/snare8_3.asm2
-rw-r--r--audio/sfx/snare9_1.asm2
-rw-r--r--audio/sfx/snare9_2.asm2
-rw-r--r--audio/sfx/snare9_3.asm2
-rw-r--r--audio/sfx/ss_anne_horn_1.asm4
-rw-r--r--audio/sfx/ss_anne_horn_3.asm4
-rw-r--r--audio/sfx/start_menu_1.asm2
-rw-r--r--audio/sfx/start_menu_2.asm2
-rw-r--r--audio/sfx/start_menu_3.asm2
-rw-r--r--audio/sfx/super_effective.asm2
-rw-r--r--audio/sfx/swap_1.asm4
-rw-r--r--audio/sfx/swap_2.asm6
-rw-r--r--audio/sfx/swap_3.asm4
-rw-r--r--audio/sfx/switch_1.asm2
-rw-r--r--audio/sfx/switch_3.asm2
-rw-r--r--audio/sfx/teleport_enter1_1.asm2
-rw-r--r--audio/sfx/teleport_enter1_3.asm2
-rw-r--r--audio/sfx/teleport_enter2_1.asm2
-rw-r--r--audio/sfx/teleport_enter2_3.asm2
-rw-r--r--audio/sfx/teleport_exit1_1.asm2
-rw-r--r--audio/sfx/teleport_exit1_3.asm2
-rw-r--r--audio/sfx/teleport_exit2_1.asm2
-rw-r--r--audio/sfx/teleport_exit2_3.asm2
-rw-r--r--audio/sfx/tink_1.asm2
-rw-r--r--audio/sfx/tink_2.asm2
-rw-r--r--audio/sfx/tink_3.asm2
-rw-r--r--audio/sfx/trade_machine_1.asm2
-rw-r--r--audio/sfx/trade_machine_3.asm2
-rw-r--r--audio/sfx/triangle1_1.asm2
-rw-r--r--audio/sfx/triangle1_2.asm2
-rw-r--r--audio/sfx/triangle1_3.asm2
-rw-r--r--audio/sfx/triangle2_1.asm2
-rw-r--r--audio/sfx/triangle2_2.asm2
-rw-r--r--audio/sfx/triangle2_3.asm2
-rw-r--r--audio/sfx/triangle3_1.asm2
-rw-r--r--audio/sfx/triangle3_2.asm2
-rw-r--r--audio/sfx/triangle3_3.asm2
-rw-r--r--audio/sfx/turn_off_pc_1.asm2
-rw-r--r--audio/sfx/turn_off_pc_3.asm2
-rw-r--r--audio/sfx/turn_on_pc_1.asm2
-rw-r--r--audio/sfx/turn_on_pc_3.asm2
-rw-r--r--audio/sfx/unused2_2.asm6
-rw-r--r--audio/sfx/unused_1.asm6
-rw-r--r--audio/sfx/unused_2.asm6
-rw-r--r--audio/sfx/unused_3.asm6
-rw-r--r--audio/sfx/vine_whip.asm2
-rw-r--r--audio/sfx/withdraw_deposit_1.asm2
-rw-r--r--audio/sfx/withdraw_deposit_3.asm2
-rwxr-xr-xdata/animations.asm814
-rw-r--r--data/bg_map_attributes.asm28
-rwxr-xr-xdata/bike_riding_tilesets.asm2
-rwxr-xr-xdata/credit_mons.asm2
-rwxr-xr-xdata/credits_order.asm2
-rwxr-xr-xdata/cries.asm2
-rwxr-xr-xdata/dungeon_tilesets.asm2
-rwxr-xr-xdata/evos_moves.asm382
-rw-r--r--data/facing.asm24
-rwxr-xr-xdata/force_bike_surf.asm2
-rwxr-xr-xdata/good_rod.asm2
-rwxr-xr-xdata/hidden_coins.asm2
-rwxr-xr-xdata/hidden_item_coords.asm2
-rwxr-xr-xdata/hidden_objects.asm2
-rwxr-xr-xdata/hide_show_data.asm156
-rwxr-xr-xdata/item_prices.asm2
-rwxr-xr-xdata/key_items.asm2
-rw-r--r--data/mapHeaders/beach_house.asm2
-rwxr-xr-xdata/mapHeaders/celadoncity.asm2
-rwxr-xr-xdata/mapHeaders/gary.asm2
-rwxr-xr-xdata/mapHeaders/pallettown.asm2
-rwxr-xr-xdata/mapHeaders/redshouse1f.asm2
-rwxr-xr-xdata/mapHeaders/redshouse2f.asm2
-rwxr-xr-xdata/mapHeaders/route15gateupstairs.asm2
-rwxr-xr-xdata/mapHeaders/route2.asm2
-rwxr-xr-xdata/mapHeaders/undergroundpathentranceroute7copy.asm2
-rwxr-xr-xdata/mapObjects/blueshouse.asm2
-rwxr-xr-xdata/mapObjects/redshouse1f.asm2
-rwxr-xr-xdata/mapObjects/route15gateupstairs.asm2
-rwxr-xr-xdata/mapObjects/undergroundpathentranceroute7copy.asm2
-rw-r--r--data/map_header_banks.asm2
-rw-r--r--data/map_header_pointers.asm2
-rw-r--r--data/map_songs.asm2
-rwxr-xr-xdata/mon_palettes.asm2
-rwxr-xr-xdata/mon_party_sprites.asm2
-rwxr-xr-xdata/pikachu_emotions.asm78
-rwxr-xr-xdata/pikachu_pic_animation.asm64
-rwxr-xr-xdata/pokedex_entries.asm308
-rwxr-xr-xdata/pokedex_order.asm2
-rwxr-xr-xdata/prize_mon_levels.asm2
-rwxr-xr-xdata/prizes.asm14
-rwxr-xr-xdata/sgb_border.asm4
-rwxr-xr-xdata/sgb_packets.asm62
-rwxr-xr-xdata/slot_machine_wheels.asm6
-rwxr-xr-xdata/special_warps.asm44
-rwxr-xr-xdata/sprite_sets.asm8
-rwxr-xr-xdata/super_rod.asm2
-rwxr-xr-xdata/tileset_headers.asm2
-rwxr-xr-xdata/tm_prices.asm2
-rwxr-xr-xdata/tms.asm2
-rwxr-xr-xdata/town_map_entries.asm4
-rwxr-xr-xdata/town_map_order.asm2
-rwxr-xr-xdata/trades.asm2
-rwxr-xr-xdata/trainer_moves.asm2
-rwxr-xr-xdata/trainer_parties.asm2
-rwxr-xr-xdata/trainer_types.asm4
-rwxr-xr-xdata/type_effects.asm2
-rwxr-xr-xdata/warp_tile_ids.asm54
-rwxr-xr-xdata/wild_mons.asm2
-rwxr-xr-xengine/HoF_room_pc.asm2
-rw-r--r--engine/add_party_mon.asm10
-rwxr-xr-xengine/animated_objects_3e.asm2
-rw-r--r--engine/bank3c.asm22
-rw-r--r--engine/bank3d.asm60
-rwxr-xr-xengine/battle/animations.asm314
-rw-r--r--engine/battle/bank3d_battle.asm24
-rwxr-xr-xengine/battle/bank_e_misc.asm6
-rw-r--r--engine/battle/battle_transitions.asm76
-rw-r--r--engine/battle/common_text.asm42
-rwxr-xr-xengine/battle/core.asm648
-rw-r--r--engine/battle/decrement_pp.asm2
-rw-r--r--engine/battle/display_effectiveness.asm6
-rw-r--r--engine/battle/draw_hud_pokeball_gfx.asm30
-rwxr-xr-xengine/battle/end_of_battle.asm10
-rw-r--r--engine/battle/experience.asm18
-rw-r--r--engine/battle/get_trainer_name.asm2
-rw-r--r--engine/battle/ghost_marowak_anim.asm4
-rw-r--r--engine/battle/init_battle_variables.asm2
-rw-r--r--engine/battle/link_battle_versus_text.asm2
-rw-r--r--engine/battle/moveEffects/conversion_effect.asm8
-rw-r--r--engine/battle/moveEffects/drain_hp_effect.asm6
-rw-r--r--engine/battle/moveEffects/focus_energy_effect.asm4
-rw-r--r--engine/battle/moveEffects/haze_effect.asm10
-rw-r--r--engine/battle/moveEffects/heal_effect.asm8
-rw-r--r--engine/battle/moveEffects/leech_seed_effect.asm6
-rw-r--r--engine/battle/moveEffects/mist_effect.asm4
-rw-r--r--engine/battle/moveEffects/one_hit_ko_effect.asm2
-rw-r--r--engine/battle/moveEffects/paralyze_effect.asm2
-rw-r--r--engine/battle/moveEffects/pay_day_effect.asm4
-rw-r--r--engine/battle/moveEffects/recoil_effect.asm4
-rw-r--r--engine/battle/moveEffects/reflect_light_screen_effect.asm8
-rw-r--r--engine/battle/moveEffects/substitute_effect.asm8
-rw-r--r--engine/battle/moveEffects/transform_effect.asm4
-rw-r--r--engine/battle/print_type.asm10
-rwxr-xr-xengine/battle/read_trainer_party.asm2
-rwxr-xr-xengine/battle/safari_zone.asm6
-rw-r--r--engine/battle/save_trainer_name.asm46
-rw-r--r--engine/battle/scale_sprites.asm12
-rw-r--r--engine/battle/scroll_draw_trainer_pic.asm4
-rw-r--r--engine/battle/trainer_ai.asm110
-rwxr-xr-xengine/battle/trainer_pic_money_pointers.asm2
-rw-r--r--engine/battle/unused_stats_functions.asm4
-rw-r--r--engine/battle/wild_encounters.asm4
-rw-r--r--engine/bcd.asm18
-rw-r--r--engine/bg_map_attributes.asm12
-rwxr-xr-xengine/cable_club.asm48
-rwxr-xr-xengine/clear_save.asm4
-rw-r--r--engine/debug1.asm8
-rwxr-xr-xengine/diploma_3a.asm2
-rw-r--r--engine/display_pokedex.asm2
-rw-r--r--engine/draw_badges.asm4
-rwxr-xr-xengine/evolution.asm12
-rwxr-xr-xengine/evos_moves.asm36
-rwxr-xr-xengine/experience.asm8
-rw-r--r--engine/flag_action_predef.asm6
-rwxr-xr-xengine/game_corner_slots.asm8
-rwxr-xr-xengine/game_corner_slots2.asm6
-rwxr-xr-xengine/gamefreak.asm26
-rw-r--r--engine/get_bag_item_quantity.asm2
-rwxr-xr-xengine/give_pokemon.asm12
-rwxr-xr-xengine/hall_of_fame.asm34
-rw-r--r--engine/heal_party.asm4
-rwxr-xr-xengine/hidden_object_functions14.asm36
-rwxr-xr-xengine/hidden_object_functions17.asm88
-rwxr-xr-xengine/hidden_object_functions18.asm56
-rwxr-xr-xengine/hidden_object_functions3.asm24
-rwxr-xr-xengine/hidden_object_functions7.asm90
-rwxr-xr-xengine/hp_bar.asm16
-rwxr-xr-xengine/in_game_trades.asm64
-rw-r--r--engine/init_player_data.asm6
-rwxr-xr-xengine/intro.asm24
-rwxr-xr-xengine/items/itemfinder.asm4
-rwxr-xr-xengine/items/items.asm238
-rwxr-xr-xengine/items/tm_prices.asm2
-rwxr-xr-xengine/items/tmhm.asm4
-rwxr-xr-xengine/items/tms.asm4
-rw-r--r--engine/joypad.asm4
-rwxr-xr-xengine/learn_move.asm28
-rw-r--r--engine/load_mon_data.asm6
-rwxr-xr-xengine/load_pokedex_tiles.asm2
-rw-r--r--engine/menu/bills_pc.asm68
-rw-r--r--engine/menu/diploma_1.asm2
-rwxr-xr-xengine/menu/league_pc.asm10
-rw-r--r--engine/menu/link_menu.asm110
-rwxr-xr-xengine/menu/main_menu.asm34
-rwxr-xr-xengine/menu/naming_screen.asm38
-rwxr-xr-xengine/menu/oaks_pc.asm8
-rw-r--r--engine/menu/options.asm78
-rwxr-xr-xengine/menu/party_menu.asm38
-rwxr-xr-xengine/menu/pc.asm24
-rwxr-xr-xengine/menu/players_pc.asm42
-rwxr-xr-xengine/menu/pokedex.asm46
-rwxr-xr-xengine/menu/prize_menu.asm36
-rwxr-xr-xengine/menu/start_menu.asm8
-rwxr-xr-xengine/menu/start_sub_menus.asm46
-rwxr-xr-xengine/menu/status_screen.asm42
-rw-r--r--engine/menu/swap_items.asm2
-rw-r--r--engine/menu/text_ids1.asm22
-rw-r--r--engine/menu/text_ids2.asm66
-rwxr-xr-xengine/menu/vending_machine.asm20
-rwxr-xr-xengine/mon_party_sprites.asm28
-rw-r--r--engine/move_mon.asm2
-rwxr-xr-xengine/multiply_divide.asm4
-rwxr-xr-xengine/oak_speech.asm26
-rwxr-xr-xengine/oak_speech2.asm28
-rw-r--r--engine/overworld/advance_player_sprite.asm12
-rw-r--r--engine/overworld/boulders.asm6
-rwxr-xr-xengine/overworld/cable_club_npc.asm20
-rwxr-xr-xengine/overworld/card_key.asm10
-rw-r--r--engine/overworld/check_player_state.asm14
-rwxr-xr-xengine/overworld/cinnabar_lab.asm14
-rw-r--r--engine/overworld/clear_loadmapdata_vars.asm2
-rwxr-xr-xengine/overworld/cut.asm22
-rwxr-xr-xengine/overworld/cut2.asm6
-rw-r--r--engine/overworld/daycare_exp.asm2
-rwxr-xr-xengine/overworld/doors.asm28
-rw-r--r--engine/overworld/dungeon_warps.asm2
-rwxr-xr-xengine/overworld/elevator.asm4
-rwxr-xr-xengine/overworld/emotion_bubbles.asm6
-rw-r--r--engine/overworld/get_coords_tile_in_front_of_player.asm8
-rwxr-xr-xengine/overworld/healing_machine.asm10
-rwxr-xr-xengine/overworld/hidden_items.asm14
-rwxr-xr-xengine/overworld/hidden_objects.asm4
-rw-r--r--engine/overworld/is_player_just_outside_map.asm2
-rw-r--r--engine/overworld/item.asm6
-rwxr-xr-xengine/overworld/ledges.asm12
-rw-r--r--engine/overworld/load_tileset_header.asm4
-rw-r--r--engine/overworld/load_wild_data.asm4
-rw-r--r--engine/overworld/map_sprite_functions1.asm12
-rwxr-xr-xengine/overworld/map_sprites.asm30
-rw-r--r--engine/overworld/missable_objects.asm14
-rw-r--r--engine/overworld/movement.asm68
-rwxr-xr-xengine/overworld/npc_movement.asm38
-rwxr-xr-xengine/overworld/npc_movement_2.asm4
-rw-r--r--engine/overworld/npc_pathfinding.asm12
-rwxr-xr-xengine/overworld/oaks_aide.asm14
-rw-r--r--engine/overworld/oam.asm10
-rwxr-xr-xengine/overworld/pewter_guys.asm8
-rwxr-xr-xengine/overworld/player_animations.asm52
-rwxr-xr-xengine/overworld/pokecenter.asm20
-rwxr-xr-xengine/overworld/pokemart.asm24
-rw-r--r--engine/overworld/print_safari_steps.asm8
-rw-r--r--engine/overworld/replace_tile_block.asm8
-rwxr-xr-xengine/overworld/saffron_guards.asm4
-rw-r--r--engine/overworld/set_blackout_map.asm6
-rw-r--r--engine/overworld/special_warps.asm6
-rwxr-xr-xengine/overworld/ssanne.asm12
-rw-r--r--engine/overworld/step_functions.asm6
-rwxr-xr-xengine/overworld/trainers.asm20
-rw-r--r--engine/overworld/try_pushing_boulder.asm18
-rwxr-xr-xengine/palettes.asm106
-rwxr-xr-xengine/pikachu_emotions.asm52
-rwxr-xr-xengine/pikachu_follow.asm150
-rwxr-xr-xengine/pikachu_movement.asm12
-rwxr-xr-xengine/pikachu_pcm.asm4
-rwxr-xr-xengine/pikachu_pic_animation.asm4
-rwxr-xr-xengine/pikachu_status.asm14
-rwxr-xr-xengine/pokedex_rating.asm38
-rwxr-xr-xengine/predefs.asm4
-rwxr-xr-xengine/predefs17.asm2
-rwxr-xr-xengine/predefs17_2.asm2
-rwxr-xr-xengine/predefs7.asm4
-rw-r--r--engine/predefsA.asm6
-rw-r--r--engine/print_waiting_text.asm6
-rw-r--r--engine/printer.asm22
-rwxr-xr-xengine/printer/serial.asm8
-rwxr-xr-xengine/random.asm2
-rw-r--r--engine/remove_pokemon.asm2
-rwxr-xr-xengine/save.asm86
-rwxr-xr-xengine/slot_machine.asm110
-rwxr-xr-xengine/status_ailments.asm2
-rw-r--r--engine/subtract_paid_money.asm2
-rwxr-xr-xengine/surfing_minigame.asm2
-rwxr-xr-xengine/titlescreen.asm38
-rwxr-xr-xengine/titlescreen2.asm16
-rwxr-xr-xengine/town_map.asm50
-rwxr-xr-xengine/trade.asm108
-rwxr-xr-xengine/trade2.asm6
-rwxr-xr-xengine/unknown_ea3ea.asm126
-rwxr-xr-xengine/vermilion_gym_trash_cans.asm2
-rw-r--r--home.asm518
-rw-r--r--home/audio.asm30
-rw-r--r--home/copy.asm8
-rw-r--r--home/copy2.asm16
-rw-r--r--home/fade.asm10
-rw-r--r--home/init.asm6
-rw-r--r--home/lcdc.asm2
-rw-r--r--home/overworld.asm170
-rw-r--r--home/pic.asm42
-rwxr-xr-xhome/pikachu.asm22
-rw-r--r--home/play_time.asm4
-rw-r--r--home/predef.asm4
-rw-r--r--home/serial.asm28
-rw-r--r--home/text.asm94
-rw-r--r--home/timer.asm2
-rw-r--r--home/vblank.asm4
-rw-r--r--home/vcopy.asm18
-rwxr-xr-xmain.asm2
-rwxr-xr-xscripts/silphco11_2.asm2
-rwxr-xr-xtext/credits_text.asm2
-rwxr-xr-xtext/item_names.asm2
-rwxr-xr-xtext/map_names.asm108
-rw-r--r--text/maps/daycare.asm2
-rw-r--r--text/maps/fuchsia_gym.asm2
-rw-r--r--text/maps/lorelei.asm2
-rw-r--r--text/maps/school.asm2
-rw-r--r--text/maps/underground_path_route_7_entrance_unused.asm2
-rwxr-xr-xtext/monster_names.asm2
-rw-r--r--text/move_names.asm2
-rwxr-xr-xtext/trainer_names.asm2
-rwxr-xr-xtext/type_names.asm2
-rw-r--r--text/unused_names.asm4
659 files changed, 5415 insertions, 5415 deletions
diff --git a/audio.asm b/audio.asm
index 84db1634..7d63e456 100644
--- a/audio.asm
+++ b/audio.asm
@@ -452,7 +452,7 @@ INCLUDE "audio/sfx/get_item2_4.asm"
SECTION "Audio Engine 1", ROMX, BANK[AUDIO_1]
-PlayBattleMusic:: ; 9064 (2:5064)
+PlayBattleMusic::
xor a
ld [wAudioFadeOutControl], a
ld [wLowHealthAlarm], a
@@ -490,7 +490,7 @@ INCLUDE "audio/engine_1.asm"
; an alternate start for MeetRival which has a different first measure
-Music_RivalAlternateStart:: ; 99bd (2:59bd)
+Music_RivalAlternateStart::
ld c, BANK(Music_MeetRival)
ld a, MUSIC_MEET_RIVAL
call PlayMusic
@@ -501,7 +501,7 @@ Music_RivalAlternateStart:: ; 99bd (2:59bd)
call Audio1_OverwriteChannelPointer
ld de, Music_MeetRival_branch_b2b5
-Audio1_OverwriteChannelPointer: ; 99d6 (2:59d6)
+Audio1_OverwriteChannelPointer:
ld a, e
ld [hli], a
ld a, d
@@ -509,7 +509,7 @@ Audio1_OverwriteChannelPointer: ; 99d6 (2:59d6)
ret
; an alternate tempo for MeetRival which is slightly slower
-Music_RivalAlternateTempo:: ; 99db (2:59db)
+Music_RivalAlternateTempo::
ld c, BANK(Music_MeetRival)
ld a, MUSIC_MEET_RIVAL
call PlayMusic
@@ -517,10 +517,10 @@ Music_RivalAlternateTempo:: ; 99db (2:59db)
jr asm_99ed
; applies both the alternate start and alternate tempo
-Music_RivalAlternateStartAndTempo:: ; 99e7 (2:59e7)
+Music_RivalAlternateStartAndTempo::
call Music_RivalAlternateStart
ld de, Music_MeetRival_branch_b19b
-asm_99ed: ; 99ed (2:59ed)
+asm_99ed:
ld hl, wChannelCommandPointers
jp Audio1_OverwriteChannelPointer
@@ -528,7 +528,7 @@ asm_99ed: ; 99ed (2:59ed)
ret
; an alternate tempo for Cities1 which is used for the Hall of Fame room
-Music_Cities1AlternateTempo:: ; 99f4 (2:59f4)
+Music_Cities1AlternateTempo::
ld a, 10
ld [wAudioFadeOutCounterReloadValue], a
ld [wAudioFadeOutCounter], a
@@ -545,7 +545,7 @@ Music_Cities1AlternateTempo:: ; 99f4 (2:59f4)
SECTION "Audio Engine 2", ROMX, BANK[AUDIO_2]
-Music_DoLowHealthAlarm:: ; 2131e (8:531e)
+Music_DoLowHealthAlarm::
ld a, [wLowHealthAlarm]
cp $ff
jr z, .disableAlarm
@@ -627,7 +627,7 @@ INCLUDE "audio/engine_2.asm"
SECTION "Audio Engine 3", ROMX, BANK[AUDIO_3]
-PlayPokedexRatingSfx:: ; 7d0d6 (1f:50d6)
+PlayPokedexRatingSfx::
ld a, [$ffdc]
ld c, $0
ld hl, OwnedMonValues
@@ -650,7 +650,7 @@ PlayPokedexRatingSfx:: ; 7d0d6 (1f:50d6)
call PlayMusic
jp PlayDefaultMusic
-PokedexRatingSfxPointers: ; 7d0f8 (1f:50f8)
+PokedexRatingSfxPointers:
db SFX_DENIED, BANK(SFX_Denied_3)
db SFX_POKEDEX_RATING, BANK(SFX_Pokedex_Rating_1)
db SFX_GET_ITEM_1, BANK(SFX_Get_Item1_1)
@@ -659,7 +659,7 @@ PokedexRatingSfxPointers: ; 7d0f8 (1f:50f8)
db SFX_GET_KEY_ITEM, BANK(SFX_Get_Key_Item_1)
db SFX_GET_ITEM_2, BANK(SFX_Get_Item2_1)
-OwnedMonValues: ; 7d106 (1f:5106)
+OwnedMonValues:
db 10, 40, 60, 90, 120, 150, $ff
@@ -753,7 +753,7 @@ INCLUDE "audio/music/meetjessiejames.asm"
INCBIN "audio/unknown_832b9.bin"
SECTION "Pikachu Cries 1",ROMX,BANK[PCM_1]
-PikachuCry1:: ; 84000 (21:4000)
+PikachuCry1::
dw (PikachuCry1_End - PikachuCry1) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_1.pcm"
PikachuCry1_End:
@@ -762,21 +762,21 @@ PikachuCry1_End:
; Game Freak might have made a slight error, because all of
; the pcm data has one trailing byte that is never processed.
-PikachuCry2:: ; 8491a (21:491a)
+PikachuCry2::
dw (PikachuCry2_End - PikachuCry2) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_2.pcm"
PikachuCry2_End:
db $77 ; unused
-PikachuCry3:: ; 84fdc (21:4fdc)
+PikachuCry3::
dw (PikachuCry3_End - PikachuCry3) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_3.pcm"
PikachuCry3_End:
db $03 ; unused
-PikachuCry4:: ; 859ee (21:59ee)
+PikachuCry4::
dw (PikachuCry4_End - PikachuCry4) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_4.pcm"
PikachuCry4_End:
@@ -785,21 +785,21 @@ PikachuCry4_End:
SECTION "Pikachu Cries 2",ROMX,BANK[PCM_2]
-PikachuCry5:: ; 88000 (22:4000)
+PikachuCry5::
dw (PikachuCry5_End - PikachuCry5) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_5.pcm"
PikachuCry5_End:
db $77 ; unused
-PikachuCry6:: ; 89042 (22:5042)
+PikachuCry6::
dw (PikachuCry6_End - PikachuCry6) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_6.pcm"
PikachuCry6_End:
db $77 ; unused
-PikachuCry7:: ; 8a254 (22:6254)
+PikachuCry7::
dw (PikachuCry7_End - PikachuCry7) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_7.pcm"
PikachuCry7_End:
@@ -808,21 +808,21 @@ PikachuCry7_End:
SECTION "Pikachu Cries 3",ROMX,BANK[PCM_3]
-PikachuCry8:: ; 8c000 (23:4000)
+PikachuCry8::
dw (PikachuCry8_End - PikachuCry8) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_8.pcm"
PikachuCry8_End:
db $f7 ; unused
-PikachuCry9:: ; 8d0ca (23:50ca)
+PikachuCry9::
dw (PikachuCry9_End - PikachuCry9) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_9.pcm"
PikachuCry9_End:
db $f3 ; unused
-PikachuCry10:: ; 8de0c (23:5e0c)
+PikachuCry10::
dw (PikachuCry10_End - PikachuCry10) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_10.pcm"
PikachuCry10_End:
@@ -831,21 +831,21 @@ PikachuCry10_End:
SECTION "Pikachu Cries 4",ROMX,BANK[PCM_4]
-PikachuCry11:: ; 90000 (24:4000)
+PikachuCry11::
dw (PikachuCry11_End - PikachuCry11) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_11.pcm"
PikachuCry11_End:
db $77 ; unused
-PikachuCry12:: ; 90722 (24:4772)
+PikachuCry12::
dw (PikachuCry12_End - PikachuCry12) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_12.pcm"
PikachuCry12_End:
db $ff ; unused
-PikachuCry13:: ; 914a4 (24:54a4)
+PikachuCry13::
dw (PikachuCry13_End - PikachuCry13) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_13.pcm"
PikachuCry13_End:
@@ -854,14 +854,14 @@ PikachuCry13_End:
SECTION "Pikachu Cries 5",ROMX,BANK[PCM_5]
-PikachuCry14:: ; 94000 (25:4000)
+PikachuCry14::
dw (PikachuCry14_End - PikachuCry14) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_14.pcm"
PikachuCry14_End:
db $fc ; unused
-PikachuCry15:: ; 9589a (25:589a)
+PikachuCry15::
dw (PikachuCry15_End - PikachuCry15) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_15.pcm"
PikachuCry15_End:
@@ -869,21 +869,21 @@ PikachuCry15_End:
db $77 ; unused
SECTION "Pikachu Cries 6",ROMX,BANK[PCM_6]
-PikachuCry16:: ; c4000 (31:4000)
+PikachuCry16::
dw (PikachuCry16_End - PikachuCry16) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_16.pcm"
PikachuCry16_End:
db $e7 ; unused
-PikachuCry18:: ; c549a (31:549a)
+PikachuCry18::
dw (PikachuCry18_End - PikachuCry18) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_18.pcm"
PikachuCry18_End:
db $00 ; unused
-PikachuCry22:: ; c63a4 (31:63a4)
+PikachuCry22::
dw (PikachuCry22_End - PikachuCry22) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_22.pcm"
PikachuCry22_End:
@@ -892,14 +892,14 @@ PikachuCry22_End:
SECTION "Pikachu Cries 7",ROMX,BANK[PCM_7]
-PikachuCry20:: ; c8000 (32:4000)
+PikachuCry20::
dw (PikachuCry20_End - PikachuCry20) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_20.pcm"
PikachuCry20_End:
db $07 ; unused
-PikachuCry21:: ; ca002 (32:6002)
+PikachuCry21::
dw (PikachuCry21_End - PikachuCry21) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_21.pcm"
PikachuCry21_End:
@@ -908,42 +908,42 @@ PikachuCry21_End:
SECTION "Pikachu Cries 8",ROMX,BANK[PCM_8]
-PikachuCry19:: ; cc000 (33:4000)
+PikachuCry19::
dw (PikachuCry19_End - PikachuCry19) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_19.pcm"
PikachuCry19_End:
db $06 ; unused
-PikachuCry24:: ; cd632 (33:5632)
+PikachuCry24::
dw (PikachuCry24_End - PikachuCry24) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_24.pcm"
PikachuCry24_End:
db $e0 ; unused
-PikachuCry26:: ; cf25c (33:725c)
+PikachuCry26::
dw (PikachuCry26_End - PikachuCry26) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_26.pcm"
PikachuCry26_End:
SECTION "Pikachu Cries 9",ROMX,BANK[PCM_9]
-PikachuCry17:: ; d0000 (34:4000)
+PikachuCry17::
dw (PikachuCry17_End - PikachuCry17) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_17.pcm"
PikachuCry17_End:
db $00 ; unused
-PikachuCry23:: ; d0862 (34:4862)
+PikachuCry23::
dw (PikachuCry23_End - PikachuCry23) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_23.pcm"
PikachuCry23_End:
db $00 ; unused
-PikachuCry25:: ; d173c (34:573c)
+PikachuCry25::
dw (PikachuCry25_End - PikachuCry25) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_25.pcm"
PikachuCry25_End:
@@ -952,63 +952,63 @@ PikachuCry25_End:
SECTION "Pikachu Cries 10",ROMX,BANK[PCM_10]
-PikachuCry27:: ; d4000 (35:4000)
+PikachuCry27::
dw (PikachuCry27_End - PikachuCry27) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_27.pcm"
PikachuCry27_End:
db $ff ; unused
-PikachuCry28:: ; d4b5a (35:4b5a)
+PikachuCry28::
dw (PikachuCry28_End - PikachuCry28) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_28.pcm"
PikachuCry28_End:
db $1b ; unused
-PikachuCry29:: ; d5da4 (35:5da4)
+PikachuCry29::
dw (PikachuCry29_End - PikachuCry29) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_29.pcm"
PikachuCry29_End:
db $87 ; unused
-PikachuCry30:: ; d69ce (35:69ce)
+PikachuCry30::
dw (PikachuCry30_End - PikachuCry30) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_30.pcm"
PikachuCry30_End:
db $00 ; unused
-PikachuCry31:: ; d6e80 (35:6ea0)
+PikachuCry31::
dw (PikachuCry31_End - PikachuCry31) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_31.pcm"
PikachuCry31_End:
SECTION "Pikachu Cries 11",ROMX,BANK[PCM_11]
-PikachuCry32:: ; d8000 (36:4000)
+PikachuCry32::
dw (PikachuCry32_End - PikachuCry32) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_32.pcm"
PikachuCry32_End:
db $ff ; unused
-PikachuCry33:: ; d858a (36:458a)
+PikachuCry33::
dw (PikachuCry33_End - PikachuCry33) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_33.pcm"
PikachuCry33_End:
db $1f ; unused
-PikachuCry34:: ; d923c (36:523c)
+PikachuCry34::
dw (PikachuCry34_End - PikachuCry34) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_34.pcm"
PikachuCry34_End:
db $01 ; unused
-PikachuCry41:: ; da746 (36:6746)
+PikachuCry41::
dw (PikachuCry41_End - PikachuCry41) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_41.pcm"
PikachuCry41_End:
@@ -1017,21 +1017,21 @@ PikachuCry41_End:
SECTION "Pikachu Cries 12",ROMX,BANK[PCM_12]
-PikachuCry35:: ; dc000 (37:4000)
+PikachuCry35::
dw (PikachuCry35_End - PikachuCry35) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_35.pcm"
PikachuCry35_End:
db $00 ; unused
-PikachuCry36:: ; dd22a (37:5d2a)
+PikachuCry36::
dw (PikachuCry36_End - PikachuCry36) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_36.pcm"
PikachuCry36_End:
db $01 ; unused
-PikachuCry39:: ; dee0c (37:6e0c)
+PikachuCry39::
dw (PikachuCry39_End - PikachuCry39) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_39.pcm"
PikachuCry39_End:
@@ -1040,28 +1040,28 @@ PikachuCry39_End:
SECTION "Pikachu Cries 13",ROMX,BANK[PCM_13]
-PikachuCry37:: ; e0000 (38:4000)
+PikachuCry37::
dw (PikachuCry37_End - PikachuCry37) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_37.pcm"
PikachuCry37_End:
db $3f ; unused
-PikachuCry38:: ; e0dfa (38:4dfa)
+PikachuCry38::
dw (PikachuCry38_End - PikachuCry38) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_38.pcm"
PikachuCry38_End:
db $ff ; unused
-PikachuCry40:: ; e1a64 (38:5a64)
+PikachuCry40::
dw (PikachuCry40_End - PikachuCry40) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_40.pcm"
PikachuCry40_End:
db $ff ; unused
-PikachuCry42:: ; e2976 (38:6976)
+PikachuCry42::
dw (PikachuCry42_End - PikachuCry42) - 2 ; length of pcm data
INCBIN "audio/pikachu_cries/pikachu_cry_42.pcm"
PikachuCry42_End:
diff --git a/audio/engine_1.asm b/audio/engine_1.asm
index adf4cfde..51522634 100644
--- a/audio/engine_1.asm
+++ b/audio/engine_1.asm
@@ -1,6 +1,6 @@
; The first of three duplicated sound engines.
-Audio1_UpdateMusic:: ; 909d (2:509d)
+Audio1_UpdateMusic::
ld c, CH0
.loop
ld b, 0
@@ -36,7 +36,7 @@ Audio1_UpdateMusic:: ; 909d (2:509d)
; this routine checks flags for music effects currently applied
; to the channel and calls certain functions based on flags.
-Audio1_ApplyMusicAffects: ; 90d2 (2:50d2)
+Audio1_ApplyMusicAffects:
ld b, $0
ld hl, wChannelNoteDelayCounters ; delay until next note
add hl, bc
@@ -144,7 +144,7 @@ Audio1_ApplyMusicAffects: ; 90d2 (2:50d2)
; this routine executes all music commands that take up no time,
; like tempo changes, duty changes etc. and doesn't return
; until the first note is reached
-Audio1_PlayNextNote: ; 916a (2:516a)
+Audio1_PlayNextNote:
; reload the vibrato delay counter
ld hl, wChannelVibratoDelayCounterReloadValues
add hl, bc
@@ -839,7 +839,7 @@ Audio1_notepitch: ; 0x9568
call Audio1_ApplyWavePatternAndFrequency
ret
-Audio1_EnableChannelOutput: ; 95a3 (2:55a3)
+Audio1_EnableChannelOutput:
ld b, 0
call Audio1_9972
add hl, bc
@@ -968,7 +968,7 @@ Audio1_ApplyWavePatternAndFrequency: ; 0x964b
ld [wTempoModifier], a
ret
-Audio1_SetSfxTempo: ; 9657 (2:5657)
+Audio1_SetSfxTempo:
call Audio1_IsCry
jr c, .isCry
call Audio1_96c3
@@ -991,7 +991,7 @@ Audio1_SetSfxTempo: ; 9657 (2:5657)
ld [wSfxTempo], a
ret
-Audio1_ApplyFrequencyModifier: ; 967c (2:567c)
+Audio1_ApplyFrequencyModifier:
call Audio1_IsCry
jr c, .isCry
call Audio1_96c3
@@ -1011,7 +1011,7 @@ Audio1_ApplyFrequencyModifier: ; 967c (2:567c)
.done
ret
-Audio1_GoBackOneCommandIfCry: ; 9692 (2:5692)
+Audio1_GoBackOneCommandIfCry:
call Audio1_IsCry
jr nc, .done
ld hl, wChannelCommandPointers
@@ -1033,7 +1033,7 @@ Audio1_GoBackOneCommandIfCry: ; 9692 (2:5692)
and a
ret
-Audio1_IsCry: ; 96af (2:56af)
+Audio1_IsCry:
; Returns whether the currently playing audio is a cry in carry.
ld a, [wChannelSoundIDs + CH4]
cp CRY_SFX_START
@@ -1051,7 +1051,7 @@ Audio1_IsCry: ; 96af (2:56af)
scf
ret
-Audio1_96c3: ; 96c3 (2:56c3)
+Audio1_96c3:
ld a, [wAudioROMBank]
cp AUDIO_2
jr nz, .asm_96dc
@@ -1353,7 +1353,7 @@ Audio1_CalculateFrequency: ; 0x9858
ld d, a
ret
-Audio1_PlaySound:: ; 984e (2:584e)
+Audio1_PlaySound::
ld [wSoundID], a
ld a, [wSoundID]
cp $ff
@@ -1541,19 +1541,19 @@ Audio1_PlaySound:: ; 984e (2:584e)
.done
ret
-Audio1_CryEndchannel: ; 9961 (2:5961)
+Audio1_CryEndchannel:
endchannel
-Audio1_HWChannelBaseAddresses: ; 9962 (2:5962)
+Audio1_HWChannelBaseAddresses:
; the low bytes of each HW channel's base address
db HW_CH1_BASE, HW_CH2_BASE, HW_CH3_BASE, HW_CH4_BASE ; channels 0-3
db HW_CH1_BASE, HW_CH2_BASE, HW_CH3_BASE, HW_CH4_BASE ; channels 4-7
-Audio1_HWChannelDisableMasks: ; 996a (2:596a)
+Audio1_HWChannelDisableMasks:
db HW_CH1_DISABLE_MASK, HW_CH2_DISABLE_MASK, HW_CH3_DISABLE_MASK, HW_CH4_DISABLE_MASK ; channels 0-3
db HW_CH1_DISABLE_MASK, HW_CH2_DISABLE_MASK, HW_CH3_DISABLE_MASK, HW_CH4_DISABLE_MASK ; channels 4-7
-Audio1_9972: ; 9972 (2:5972)
+Audio1_9972:
push af
push bc
ld a, [wOptions]
@@ -1567,7 +1567,7 @@ Audio1_9972: ; 9972 (2:5972)
pop af
ret
-Audio1_HWChannelEnableMasks: ; 9985 (2:5985)
+Audio1_HWChannelEnableMasks:
db HW_CH1_ENABLE_MASK, HW_CH2_ENABLE_MASK, HW_CH3_ENABLE_MASK, HW_CH4_ENABLE_MASK ; channels 0-3
db HW_CH1_ENABLE_MASK, HW_CH2_ENABLE_MASK, HW_CH3_ENABLE_MASK, HW_CH4_ENABLE_MASK ; channels 4-7
db $01,$20,$44,$88
@@ -1577,7 +1577,7 @@ Audio1_HWChannelEnableMasks: ; 9985 (2:5985)
db $01,$02,$40,$80
db $01,$02,$40,$80
-Audio1_Pitches: ; 99a5 (2:59a5)
+Audio1_Pitches:
dw $F82C ; C_
dw $F89D ; C#
dw $F907 ; D_
diff --git a/audio/engine_2.asm b/audio/engine_2.asm
index b09e3d1e..d1b07df9 100644
--- a/audio/engine_2.asm
+++ b/audio/engine_2.asm
@@ -1,4 +1,4 @@
-Audio2_PlaySound:: ; 218bb (8:58bb)
+Audio2_PlaySound::
ld [wSoundID], a
ld a, [wSoundID]
cp $ff
@@ -13,7 +13,7 @@ Audio2_PlaySound:: ; 218bb (8:58bb)
call InitMusicVariables
jp Audio2_21940
-Audio2_218db: ; 218db (8:58db)
+Audio2_218db:
ld l, a
ld e, a
ld h, $0
@@ -79,11 +79,11 @@ Audio2_218db: ; 218db (8:58db)
dec c
jp .asm_218f4
-Audio2_2193c: ; 2193c (8:593c)
+Audio2_2193c:
call StopAllAudio
ret
-Audio2_21940: ; 21940 (8:5940)
+Audio2_21940:
ld a, [wSoundID]
ld l, a
ld e, a
@@ -184,10 +184,10 @@ Audio2_21940: ; 21940 (8:5940)
.asm_219cd
ret
-Noise2_endchannel: ; 222d5 (8:62d5)
+Noise2_endchannel:
endchannel
-Music_PokeFluteInBattle:: ; 219cf (8:59cf)
+Music_PokeFluteInBattle::
; begin playing the "caught mon" sound effect
ld a, SFX_CAUGHT_MON
call PlaySoundWaitForCurrent
@@ -199,7 +199,7 @@ Music_PokeFluteInBattle:: ; 219cf (8:59cf)
call Audio2_OverwriteChannelPointer
ld de, SFX_08_PokeFlute_Ch3
-Audio2_OverwriteChannelPointer: ; 219e6 (8:59e6)
+Audio2_OverwriteChannelPointer:
ld a, e
ld [hli], a
ld a, d
@@ -208,7 +208,7 @@ Audio2_OverwriteChannelPointer: ; 219e6 (8:59e6)
INCLUDE "audio/sfx/pokeflute_ch1_ch2.asm"
-Audio2_InitMusicVariables:: ; 219f8 (8:59f8)
+Audio2_InitMusicVariables::
xor a
ld [wUnusedC000], a
ld [wDisableChannelOutputWhenSfxEnds], a
@@ -281,7 +281,7 @@ Audio2_InitMusicVariables:: ; 219f8 (8:59f8)
ld [rNR50], a
ret
-Audio2_InitSFXVariables:: ; 21ab7 (8:5ab7)
+Audio2_InitSFXVariables::
xor a
push de
ld h, d
@@ -369,7 +369,7 @@ Audio2_InitSFXVariables:: ; 21ab7 (8:5ab7)
ld [rNR10], a
ret
-Audio2_StopAllAudio:: ; 21b3f (8:5b3f)
+Audio2_StopAllAudio::
ld a, $80
ld [rNR52], a
ld [rNR30], a
@@ -408,10 +408,10 @@ Audio2_StopAllAudio:: ; 21b3f (8:5b3f)
ld [wStereoPanning], a
ret
-FillAudioRAM2: ; 21b94 (8:5b94)
+FillAudioRAM2:
ld b, d
.loop
ld [hli], a
dec b
jr nz, .loop
- ret \ No newline at end of file
+ ret
diff --git a/audio/engine_3.asm b/audio/engine_3.asm
index 71416dbc..418ee10b 100644
--- a/audio/engine_3.asm
+++ b/audio/engine_3.asm
@@ -1,6 +1,6 @@
; The third of three duplicated sound engines.
-Audio3_PlaySound:: ; 7d10d (1f:510d)
+Audio3_PlaySound::
ld [wSoundID], a
ld a, [wSoundID]
cp $ff
@@ -15,7 +15,7 @@ Audio3_PlaySound:: ; 7d10d (1f:510d)
call InitMusicVariables
jp Audio3_7d192
-Audio3_7d12d: ; 7d12d (1f:512d)
+Audio3_7d12d:
ld l, a
ld e, a
ld h, $0
@@ -81,11 +81,11 @@ Audio3_7d12d: ; 7d12d (1f:512d)
dec c
jp .asm_7d146
-Audio3_7d18e: ; 7d18e (1f:518e)
+Audio3_7d18e:
call StopAllAudio
ret
-Audio3_7d192: ; 7d192 (1f:5192)
+Audio3_7d192:
ld a, [wSoundID]
ld l, a
ld e, a
@@ -186,5 +186,5 @@ Audio3_7d192: ; 7d192 (1f:5192)
.asm_7d21f
ret
-Noise3_endchannel: ; 7d220 (1f:5220)
- endchannel \ No newline at end of file
+Noise3_endchannel:
+ endchannel
diff --git a/audio/engine_4.asm b/audio/engine_4.asm
index fdeead3e..f152ff80 100644
--- a/audio/engine_4.asm
+++ b/audio/engine_4.asm
@@ -1,4 +1,4 @@
-Audio4_PlaySound:: ; 82bd4 (20:6bd4)
+Audio4_PlaySound::
; Duplicate of Audio3_PlaySound
ld [wSoundID], a
ld a, [wSoundID]
@@ -15,7 +15,7 @@ Audio4_PlaySound:: ; 82bd4 (20:6bd4)
call InitMusicVariables
jp Audio4_7d192
-Audio4_7d12d: ; 7d12d (1f:512d)
+Audio4_7d12d:
ld l, a
ld e, a
ld h, $0
@@ -83,11 +83,11 @@ Audio4_7d12d: ; 7d12d (1f:512d)
dec c
jp .asm_7d146
-Audio4_7d18e: ; 7d18e (1f:518e)
+Audio4_7d18e:
call StopAllAudio
ret
-Audio4_7d192: ; 7d192 (1f:5192)
+Audio4_7d192:
ld a, [wSoundID]
ld l, a
ld e, a
@@ -189,5 +189,5 @@ Audio4_7d192: ; 7d192 (1f:5192)
.asm_7d21f
ret
-Noise4_endchannel: ; 7d220 (1f:5220)
- endchannel \ No newline at end of file
+Noise4_endchannel:
+ endchannel
diff --git a/audio/headers/musicheaders1.asm b/audio/headers/musicheaders1.asm
index b3e640af..665efceb 100644
--- a/audio/headers/musicheaders1.asm
+++ b/audio/headers/musicheaders1.asm
@@ -1,114 +1,114 @@
-Music_PalletTown:: ; 822e (2:422e)
+Music_PalletTown::
dbw ( $80 | CH0 ), Music_PalletTown_Ch1
dbw CH1, Music_PalletTown_Ch2
dbw CH2, Music_PalletTown_Ch3
-Music_Pokecenter:: ; 8237 (2:4237)
+Music_Pokecenter::
dbw ( $80 | CH0 ), Music_Pokecenter_Ch1
dbw CH1, Music_Pokecenter_Ch2
dbw CH2, Music_Pokecenter_Ch3
-Music_Gym:: ; 8240 (2:4240)
+Music_Gym::
dbw ( $80 | CH0 ), Music_Gym_Ch1
dbw CH1, Music_Gym_Ch2
dbw CH2, Music_Gym_Ch3
; Viridian City, Pewter City, Saffron City
-Music_Cities1:: ; 8249 (2:4249)
+Music_Cities1::
dbw ( $C0 | CH0 ), Music_Cities1_Ch1
dbw CH1, Music_Cities1_Ch2
dbw CH2, Music_Cities1_Ch3
dbw CH3, Music_Cities1_Ch4
; Cerulean City, Fuchsia City
-Music_Cities2:: ; 8255 (2:4255)
+Music_Cities2::
dbw ( $80 | CH0 ), Music_Cities2_Ch1
dbw CH1, Music_Cities2_Ch2
dbw CH2, Music_Cities2_Ch3
-Music_Celadon:: ; 825e (2:425e)
+Music_Celadon::
dbw ( $80 | CH0 ), Music_Celadon_Ch1
dbw CH1, Music_Celadon_Ch2
dbw CH2, Music_Celadon_Ch3
-Music_Cinnabar:: ; 8267 (2:4267)
+Music_Cinnabar::
dbw ( $80 | CH0 ), Music_Cinnabar_Ch1
dbw CH1, Music_Cinnabar_Ch2
dbw CH2, Music_Cinnabar_Ch3
-Music_Vermilion:: ; 8270 (2:4270)
+Music_Vermilion::
dbw ( $C0 | CH0 ), Music_Vermilion_Ch1
dbw CH1, Music_Vermilion_Ch2
dbw CH2, Music_Vermilion_Ch3
dbw CH3, Music_Vermilion_Ch4
-Music_Lavender:: ; 827c (2:427c)
+Music_Lavender::
dbw ( $C0 | CH0 ), Music_Lavender_Ch1
dbw CH1, Music_Lavender_Ch2
dbw CH2, Music_Lavender_Ch3
dbw CH3, Music_Lavender_Ch4
-Music_SSAnne:: ; 8288 (2:4288)
+Music_SSAnne::
dbw ( $80 | CH0 ), Music_SSAnne_Ch1
dbw CH1, Music_SSAnne_Ch2
dbw CH2, Music_SSAnne_Ch3
-Music_MeetProfOak:: ; 8291 (2:4291)
+Music_MeetProfOak::
dbw ( $80 | CH0 ), Music_MeetProfOak_Ch1
dbw CH1, Music_MeetProfOak_Ch2
dbw CH2, Music_MeetProfOak_Ch3
-Music_MeetRival:: ; 829a (2:429a)
+Music_MeetRival::
dbw ( $80 | CH0 ), Music_MeetRival_Ch1
dbw CH1, Music_MeetRival_Ch2
dbw CH2, Music_MeetRival_Ch3
-Music_MuseumGuy:: ; 82a3 (2:42a3)
+Music_MuseumGuy::
dbw ( $C0 | CH0 ), Music_MuseumGuy_Ch1
dbw CH1, Music_MuseumGuy_Ch2
dbw CH2, Music_MuseumGuy_Ch3
dbw CH3, Music_MuseumGuy_Ch4
-Music_SafariZone:: ; 82af (2:42af)
+Music_SafariZone::
dbw ( $80 | CH0 ), Music_SafariZone_Ch1
dbw CH1, Music_SafariZone_Ch2
dbw CH2, Music_SafariZone_Ch3
-Music_PkmnHealed:: ; 82b8 (2:42b8)
+Music_PkmnHealed::
dbw ( $80 | CH0 ), Music_PkmnHealed_Ch1
dbw CH1, Music_PkmnHealed_Ch2
dbw CH2, Music_PkmnHealed_Ch3
; Routes 1 and 2
-Music_Routes1:: ; 82c1 (2:42c1)
+Music_Routes1::
dbw ( $C0 | CH0 ), Music_Routes1_Ch1
dbw CH1, Music_Routes1_Ch2
dbw CH2, Music_Routes1_Ch3
dbw CH3, Music_Routes1_Ch4
; Routes 24 and 25
-Music_Routes2:: ; 82cd (2:42cd)
+Music_Routes2::
dbw ( $C0 | CH0 ), Music_Routes2_Ch1
dbw CH1, Music_Routes2_Ch2
dbw CH2, Music_Routes2_Ch3
dbw CH3, Music_Routes2_Ch4
; Routes 3, 4, 5, 6, 7, 8, 9, 10, 16, 17, 18, 19, 20, 21, 22
-Music_Routes3:: ; 82d9 (2:42d9)
+Music_Routes3::
dbw ( $C0 | CH0 ), Music_Routes3_Ch1
dbw CH1, Music_Routes3_Ch2
dbw CH2, Music_Routes3_Ch3
dbw CH3, Music_Routes3_Ch4
; Routes 11, 12, 13, 14, 15
-Music_Routes4:: ; 82d5 (2:42d5)
+Music_Routes4::
dbw ( $C0 | CH0 ), Music_Routes4_Ch1
dbw CH1, Music_Routes4_Ch2
dbw CH2, Music_Routes4_Ch3
dbw CH3, Music_Routes4_Ch4
; Route 23, Indigo Plateau
-Music_IndigoPlateau:: ; 82f1 (2:42f1)
+Music_IndigoPlateau::
dbw ( $C0 | CH0 ), Music_IndigoPlateau_Ch1
dbw CH1, Music_IndigoPlateau_Ch2
dbw CH2, Music_IndigoPlateau_Ch3
diff --git a/audio/headers/musicheaders2.asm b/audio/headers/musicheaders2.asm
index 1862a040..8c128c0e 100644
--- a/audio/headers/musicheaders2.asm
+++ b/audio/headers/musicheaders2.asm
@@ -1,34 +1,34 @@
-Music_GymLeaderBattle:: ; 202be (8:42be)
+Music_GymLeaderBattle::
dbw ( $80 | CH0 ), Music_GymLeaderBattle_Ch1
dbw CH1, Music_GymLeaderBattle_Ch2
dbw CH2, Music_GymLeaderBattle_Ch3
-Music_TrainerBattle:: ; 202c7 (8:42c7)
+Music_TrainerBattle::
dbw ( $80 | CH0 ), Music_TrainerBattle_Ch1
dbw CH1, Music_TrainerBattle_Ch2
dbw CH2, Music_TrainerBattle_Ch3
-Music_WildBattle:: ; 202d0 (8:42d0)
+Music_WildBattle::
dbw ( $80 | CH0 ), Music_WildBattle_Ch1
dbw CH1, Music_WildBattle_Ch2
dbw CH2, Music_WildBattle_Ch3
-Music_FinalBattle:: ; 202d9 (8:42d9)
+Music_FinalBattle::
dbw ( $80 | CH0 ), Music_FinalBattle_Ch1
dbw CH1, Music_FinalBattle_Ch2
dbw CH2, Music_FinalBattle_Ch3
-Music_DefeatedTrainer:: ; 202e2 (8:42e2)
+Music_DefeatedTrainer::
dbw ( $80 | CH0 ), Music_DefeatedTrainer_Ch1
dbw CH1, Music_DefeatedTrainer_Ch2
dbw CH2, Music_DefeatedTrainer_Ch3
-Music_DefeatedWildMon:: ; 202eb (8:42eb)
+Music_DefeatedWildMon::
dbw ( $80 | CH0 ), Music_DefeatedWildMon_Ch1
dbw CH1, Music_DefeatedWildMon_Ch2
dbw CH2, Music_DefeatedWildMon_Ch3
-Music_DefeatedGymLeader:: ; 202f4 (8:42f4)
+Music_DefeatedGymLeader::
dbw ( $80 | CH0 ), Music_DefeatedGymLeader_Ch1
dbw CH1, Music_DefeatedGymLeader_Ch2
dbw CH2, Music_DefeatedGymLeader_Ch3
diff --git a/audio/headers/musicheaders3.asm b/audio/headers/musicheaders3.asm
index a1bfaad2..c694be9b 100644
--- a/audio/headers/musicheaders3.asm
+++ b/audio/headers/musicheaders3.asm
@@ -1,97 +1,97 @@
-Music_TitleScreen:: ; 7c249 (1f:4249)
+Music_TitleScreen::
dbw ( $C0 | CH0 ), Music_TitleScreen_Ch1
dbw CH1, Music_TitleScreen_Ch2
dbw CH2, Music_TitleScreen_Ch3
dbw CH3, Music_TitleScreen_Ch4
-Music_Credits:: ; 7c255 (1f:4255)
+Music_Credits::
dbw ( $80 | CH0 ), Music_Credits_Ch1
dbw CH1, Music_Credits_Ch2
dbw CH2, Music_Credits_Ch3
-Music_HallOfFame:: ; 7c25e (1f:425e)
+Music_HallOfFame::
dbw ( $80 | CH0 ), Music_HallOfFame_Ch1
dbw CH1, Music_HallOfFame_Ch2
dbw CH2, Music_HallOfFame_Ch3
-Music_OaksLab:: ; 7c267 (1f:4267)
+Music_OaksLab::
dbw ( $80 | CH0 ), Music_OaksLab_Ch1
dbw CH1, Music_OaksLab_Ch2
dbw CH2, Music_OaksLab_Ch3
-Music_JigglypuffSong:: ; 7c270 (1f:4270)
+Music_JigglypuffSong::
dbw $40, Music_JigglypuffSong_Ch1
dbw CH1, Music_JigglypuffSong_Ch2
-Music_BikeRiding:: ; 7c276 (1f:4276)
+Music_BikeRiding::
dbw ( $C0 | CH0 ), Music_BikeRiding_Ch1
dbw CH1, Music_BikeRiding_Ch2
dbw CH2, Music_BikeRiding_Ch3
dbw CH3, Music_BikeRiding_Ch4
-Music_Surfing:: ; 7c282 (1f:4282)
+Music_Surfing::
dbw ( $80 | CH0 ), Music_Surfing_Ch1
dbw CH1, Music_Surfing_Ch2
dbw CH2, Music_Surfing_Ch3
-Music_GameCorner:: ; 7c28b (1f:428b)
+Music_GameCorner::
dbw ( $80 | CH0 ), Music_GameCorner_Ch1
dbw CH1, Music_GameCorner_Ch2
dbw CH2, Music_GameCorner_Ch3
-Music_IntroBattle:: ; 7c294 (1f:4294)
+Music_IntroBattle::
dbw ( $80 | CH0 ), Music_YellowIntro_Ch1
dbw CH1, Music_YellowIntro_Ch2
dbw CH2, Music_YellowIntro_Ch3
; Power Plant, Unknown Dungeon, Rocket HQ
-Music_Dungeon1:: ; 7c2a0 (1f:42a0)
+Music_Dungeon1::
dbw ( $C0 | CH0 ), Music_Dungeon1_Ch1
dbw CH1, Music_Dungeon1_Ch2
dbw CH2, Music_Dungeon1_Ch3
dbw CH3, Music_Dungeon1_Ch4
; Viridian Forest, Seafoam Islands
-Music_Dungeon2:: ; 7c2ac (1f:42ac)
+Music_Dungeon2::
dbw ( $C0 | CH0 ), Music_Dungeon2_Ch1
dbw CH1, Music_Dungeon2_Ch2
dbw CH2, Music_Dungeon2_Ch3
dbw CH3, Music_Dungeon2_Ch4
; Mt. Moon, Rock Tunnel, Victory Road
-Music_Dungeon3:: ; 7c2b8 (1f:42b8)
+Music_Dungeon3::
dbw ( $C0 | CH0 ), Music_Dungeon3_Ch1
dbw CH1, Music_Dungeon3_Ch2
dbw CH2, Music_Dungeon3_Ch3
dbw CH3, Music_Dungeon3_Ch4
-Music_CinnabarMansion:: ; 7c2c4 (1f:42c4)
+Music_CinnabarMansion::
dbw ( $C0 | CH0 ), Music_CinnabarMansion_Ch1
dbw CH1, Music_CinnabarMansion_Ch2
dbw CH2, Music_CinnabarMansion_Ch3
dbw CH3, Music_CinnabarMansion_Ch4
-Music_PokemonTower:: ; 7c2d0 (1f:42d0)
+Music_PokemonTower::
dbw ( $80 | CH0 ), Music_PokemonTower_Ch1
dbw CH1, Music_PokemonTower_Ch2
dbw CH2, Music_PokemonTower_Ch3
-Music_SilphCo:: ; 7c2d9 (1f:42d9)
+Music_SilphCo::
dbw ( $80 | CH0 ), Music_SilphCo_Ch1
dbw CH1, Music_SilphCo_Ch2
dbw CH2, Music_SilphCo_Ch3
-Music_MeetEvilTrainer:: ; 7c2e2 (1f:42e2)
+Music_MeetEvilTrainer::
dbw ( $80 | CH0 ), Music_MeetEvilTrainer_Ch1
dbw CH1, Music_MeetEvilTrainer_Ch2
dbw CH2, Music_MeetEvilTrainer_Ch3
-Music_MeetFemaleTrainer:: ; 7c2eb (1f:42eb)
+Music_MeetFemaleTrainer::
dbw ( $80 | CH0 ), Music_MeetFemaleTrainer_Ch1
dbw CH1, Music_MeetFemaleTrainer_Ch2
dbw CH2, Music_MeetFemaleTrainer_Ch3
-Music_MeetMaleTrainer:: ; 7c2f4 (1f:42f4)
+Music_MeetMaleTrainer::
dbw ( $80 | CH0 ), Music_MeetMaleTrainer_Ch1
dbw CH1, Music_MeetMaleTrainer_Ch2
dbw CH2, Music_MeetMaleTrainer_Ch3
diff --git a/audio/headers/sfxheaders1.asm b/audio/headers/sfxheaders1.asm
index 8a24fcb5..fdbcb5f3 100644
--- a/audio/headers/sfxheaders1.asm
+++ b/audio/headers/sfxheaders1.asm
@@ -1,377 +1,377 @@
SFX_Headers_1::
dbw -1, -1 ; padding
-SFX_Snare1_1:: ; 8003 (2:4003)
+SFX_Snare1_1::
dbw CH7, SFX_Snare1_1_Ch1
-SFX_Snare2_1:: ; 8006 (2:4006)
+SFX_Snare2_1::
dbw CH7, SFX_Snare2_1_Ch1
-SFX_Snare3_1:: ; 8009 (2:4009)
+SFX_Snare3_1::
dbw CH7, SFX_Snare3_1_Ch1
-SFX_Snare4_1:: ; 800c (2:400c)
+SFX_Snare4_1::
dbw CH7, SFX_Snare4_1_Ch1
-SFX_Snare5_1:: ; 800f (2:400f)
+SFX_Snare5_1::
dbw CH7, SFX_Snare5_1_Ch1
-SFX_Triangle1_1:: ; 8012 (2:4012)
+SFX_Triangle1_1::
dbw CH7, SFX_Triangle1_1_Ch1
-SFX_Triangle2_1:: ; 8015 (2:4015)
+SFX_Triangle2_1::
dbw CH7, SFX_Triangle2_1_Ch1
-SFX_Snare6_1:: ; 8018 (2:4018)
+SFX_Snare6_1::
dbw CH7, SFX_Snare6_1_Ch1
-SFX_Snare7_1:: ; 801b (2:401b)
+SFX_Snare7_1::
dbw CH7, SFX_Snare7_1_Ch1
-SFX_Snare8_1:: ; 801e (2:401e)
+SFX_Snare8_1::
dbw CH7, SFX_Snare8_1_Ch1
-SFX_Snare9_1:: ; 8021 (2:4021)
+SFX_Snare9_1::
dbw CH7, SFX_Snare9_1_Ch1
-SFX_Cymbal1_1:: ; 8024 (2:4024)
+SFX_Cymbal1_1::
dbw CH7, SFX_Cymbal1_1_Ch1
-SFX_Cymbal2_1:: ; 8027 (2:4027)
+SFX_Cymbal2_1::
dbw CH7, SFX_Cymbal2_1_Ch1
-SFX_Cymbal3_1:: ; 802a (2:402a)
+SFX_Cymbal3_1::
dbw CH7, SFX_Cymbal3_1_Ch1
-SFX_Muted_Snare1_1:: ; 802d (2:402d)
+SFX_Muted_Snare1_1::
dbw CH7, SFX_Muted_Snare1_1_Ch1
-SFX_Triangle3_1:: ; 8030 (2:4030)
+SFX_Triangle3_1::
dbw CH7, SFX_Triangle3_1_Ch1
-SFX_Muted_Snare2_1:: ; 8033 (2:4033)
+SFX_Muted_Snare2_1::
dbw CH7, SFX_Muted_Snare2_1_Ch1
-SFX_Muted_Snare3_1:: ; 8036 (2:4036)
+SFX_Muted_Snare3_1::
dbw CH7, SFX_Muted_Snare3_1_Ch1
-SFX_Muted_Snare4_1:: ; 8039 (2:4039)
+SFX_Muted_Snare4_1::
dbw CH7, SFX_Muted_Snare4_1_Ch1
-SFX_Cry00_1:: ; 803c (2:403c)
+SFX_Cry00_1::
dbw ( $80 | CH4 ), SFX_Cry00_1_Ch1
dbw CH5, SFX_Cry00_1_Ch2
dbw CH7, SFX_Cry00_1_Ch3
-SFX_Cry01_1:: ; 8045 (2:4045)
+SFX_Cry01_1::
dbw ( $80 | CH4 ), SFX_Cry01_1_Ch1
dbw CH5, SFX_Cry01_1_Ch2
dbw CH7, SFX_Cry01_1_Ch3
-SFX_Cry02_1:: ; 804e (2:404e)
+SFX_Cry02_1::
dbw ( $80 | CH4 ), SFX_Cry02_1_Ch1
dbw CH5, SFX_Cry02_1_Ch2
dbw CH7, SFX_Cry02_1_Ch3
-SFX_Cry03_1:: ; 8057 (2:4057)
+SFX_Cry03_1::
dbw ( $80 | CH4 ), SFX_Cry03_1_Ch1
dbw CH5, SFX_Cry03_1_Ch2
dbw CH7, SFX_Cry03_1_Ch3
-SFX_Cry04_1:: ; 8060 (2:4060)
+SFX_Cry04_1::
dbw ( $80 | CH4 ), SFX_Cry04_1_Ch1
dbw CH5, SFX_Cry04_1_Ch2
dbw CH7, SFX_Cry04_1_Ch3
-SFX_Cry05_1:: ; 8069 (2:4069)
+SFX_Cry05_1::
dbw ( $80 | CH4 ), SFX_Cry05_1_Ch1
dbw CH5, SFX_Cry05_1_Ch2
dbw CH7, SFX_Cry05_1_Ch3
-SFX_Cry06_1:: ; 8072 (2:4072)
+SFX_Cry06_1::
dbw ( $80 | CH4 ), SFX_Cry06_1_Ch1
dbw CH5, SFX_Cry06_1_Ch2
dbw CH7, SFX_Cry06_1_Ch3
-SFX_Cry07_1:: ; 807b (2:407b)
+SFX_Cry07_1::
dbw ( $80 | CH4 ), SFX_Cry07_1_Ch1
dbw CH5, SFX_Cry07_1_Ch2
dbw CH7, SFX_Cry07_1_Ch3
-SFX_Cry08_1:: ; 8084 (2:4084)
+SFX_Cry08_1::
dbw ( $80 | CH4 ), SFX_Cry08_1_Ch1
dbw CH5, SFX_Cry08_1_Ch2
dbw CH7, SFX_Cry08_1_Ch3
-SFX_Cry09_1:: ; 808d (2:408d)
+SFX_Cry09_1::
dbw ( $80 | CH4 ), SFX_Cry09_1_Ch1
dbw CH5, SFX_Cry09_1_Ch2
dbw CH7, SFX_Cry09_1_Ch3
-SFX_Cry0A_1:: ; 8096 (2:4096)
+SFX_Cry0A_1::
dbw ( $80 | CH4 ), SFX_Cry0A_1_Ch1
dbw CH5, SFX_Cry0A_1_Ch2
dbw CH7, SFX_Cry0A_1_Ch3
-SFX_Cry0B_1:: ; 809f (2:409f)
+SFX_Cry0B_1::
dbw ( $80 | CH4 ), SFX_Cry0B_1_Ch1
dbw CH5, SFX_Cry0B_1_Ch2
dbw CH7, SFX_Cry0B_1_Ch3
-SFX_Cry0C_1:: ; 80a8 (2:40a8)
+SFX_Cry0C_1::
dbw ( $80 | CH4 ), SFX_Cry0C_1_Ch1
dbw CH5, SFX_Cry0C_1_Ch2
dbw CH7, SFX_Cry0C_1_Ch3
-SFX_Cry0D_1:: ; 80b1 (2:40b1)
+SFX_Cry0D_1::
dbw ( $80 | CH4 ), SFX_Cry0D_1_Ch1
dbw CH5, SFX_Cry0D_1_Ch2
dbw CH7, SFX_Cry0D_1_Ch3
-SFX_Cry0E_1:: ; 80ba (2:40ba)
+SFX_Cry0E_1::
dbw ( $80 | CH4 ), SFX_Cry0E_1_Ch1
dbw CH5, SFX_Cry0E_1_Ch2
dbw CH7, SFX_Cry0E_1_Ch3
-SFX_Cry0F_1:: ; 80c3 (2:40c3)
+SFX_Cry0F_1::
dbw ( $80 | CH4 ), SFX_Cry0F_1_Ch1
dbw CH5, SFX_Cry0F_1_Ch2
dbw CH7, SFX_Cry0F_1_Ch3
-SFX_Cry10_1:: ; 80cc (2:40cc)
+SFX_Cry10_1::
dbw ( $80 | CH4 ), SFX_Cry10_1_Ch1
dbw CH5, SFX_Cry10_1_Ch2
dbw CH7, SFX_Cry10_1_Ch3
-SFX_Cry11_1:: ; 80d5 (2:40d5)
+SFX_Cry11_1::
dbw ( $80 | CH4 ), SFX_Cry11_1_Ch1
dbw CH5, SFX_Cry11_1_Ch2
dbw CH7, SFX_Cry11_1_Ch3
-SFX_Cry12_1:: ; 80de (2:40de)
+SFX_Cry12_1::
dbw ( $80 | CH4 ), SFX_Cry12_1_Ch1
dbw CH5, SFX_Cry12_1_Ch2
dbw CH7, SFX_Cry12_1_Ch3
-SFX_Cry13_1:: ; 80e7 (2:40e7)
+SFX_Cry13_1::
dbw ( $80 | CH4 ), SFX_Cry13_1_Ch1
dbw CH5, SFX_Cry13_1_Ch2
dbw CH7, SFX_Cry13_1_Ch3
-SFX_Cry14_1:: ; 80f0 (2:40f0)
+SFX_Cry14_1::
dbw ( $80 | CH4 ), SFX_Cry14_1_Ch1
dbw CH5, SFX_Cry14_1_Ch2
dbw CH7, SFX_Cry14_1_Ch3
-SFX_Cry15_1:: ; 80f9 (2:40f9)
+SFX_Cry15_1::
dbw ( $80 | CH4 ), SFX_Cry15_1_Ch1
dbw CH5, SFX_Cry15_1_Ch2
dbw CH7, SFX_Cry15_1_Ch3
-SFX_Cry16_1:: ; 8102 (2:4102)
+SFX_Cry16_1::
dbw ( $80 | CH4 ), SFX_Cry16_1_Ch1
dbw CH5, SFX_Cry16_1_Ch2
dbw CH7, SFX_Cry16_1_Ch3
-SFX_Cry17_1:: ; 810b (2:410b)
+SFX_Cry17_1::
dbw ( $80 | CH4 ), SFX_Cry17_1_Ch1
dbw CH5, SFX_Cry17_1_Ch2
dbw CH7, SFX_Cry17_1_Ch3
-SFX_Cry18_1:: ; 8114 (2:4114)
+SFX_Cry18_1::
dbw ( $80 | CH4 ), SFX_Cry18_1_Ch1
dbw CH5, SFX_Cry18_1_Ch2
dbw CH7, SFX_Cry18_1_Ch3
-SFX_Cry19_1:: ; 811d (2:411d)
+SFX_Cry19_1::
dbw ( $80 | CH4 ), SFX_Cry19_1_Ch1
dbw CH5, SFX_Cry19_1_Ch2
dbw CH7, SFX_Cry19_1_Ch3
-SFX_Cry1A_1:: ; 8126 (2:4126)
+SFX_Cry1A_1::
dbw ( $80 | CH4 ), SFX_Cry1A_1_Ch1
dbw CH5, SFX_Cry1A_1_Ch2
dbw CH7, SFX_Cry1A_1_Ch3
-SFX_Cry1B_1:: ; 812f (2:412f)
+SFX_Cry1B_1::
dbw ( $80 | CH4 ), SFX_Cry1B_1_Ch1
dbw CH5, SFX_Cry1B_1_Ch2
dbw CH7, SFX_Cry1B_1_Ch3
-SFX_Cry1C_1:: ; 8138 (2:4138)
+SFX_Cry1C_1::
dbw ( $80 | CH4 ), SFX_Cry1C_1_Ch1
dbw CH5, SFX_Cry1C_1_Ch2
dbw CH7, SFX_Cry1C_1_Ch3
-SFX_Cry1D_1:: ; 8141 (2:4141)
+SFX_Cry1D_1::
dbw ( $80 | CH4 ), SFX_Cry1D_1_Ch1
dbw CH5, SFX_Cry1D_1_Ch2
dbw CH7, SFX_Cry1D_1_Ch3
-SFX_Cry1E_1:: ; 814a (2:414a)
+SFX_Cry1E_1::
dbw ( $80 | CH4 ), SFX_Cry1E_1_Ch1
dbw CH5, SFX_Cry1E_1_Ch2
dbw CH7, SFX_Cry1E_1_Ch3
-SFX_Cry1F_1:: ; 8153 (2:4153)
+SFX_Cry1F_1::
dbw ( $80 | CH4 ), SFX_Cry1F_1_Ch1
dbw CH5, SFX_Cry1F_1_Ch2
dbw CH7, SFX_Cry1F_1_Ch3
-SFX_Cry20_1:: ; 815c (2:415c)
+SFX_Cry20_1::
dbw ( $80 | CH4 ), SFX_Cry20_1_Ch1
dbw CH5, SFX_Cry20_1_Ch2
dbw CH7, SFX_Cry20_1_Ch3
-SFX_Cry21_1:: ; 8165 (2:4165)
+SFX_Cry21_1::
dbw ( $80 | CH4 ), SFX_Cry21_1_Ch1
dbw CH5, SFX_Cry21_1_Ch2
dbw CH7, SFX_Cry21_1_Ch3
-SFX_Cry22_1:: ; 816e (2:416e)
+SFX_Cry22_1::
dbw ( $80 | CH4 ), SFX_Cry22_1_Ch1
dbw CH5, SFX_Cry22_1_Ch2
dbw CH7, SFX_Cry22_1_Ch3
-SFX_Cry23_1:: ; 8177 (2:4177)
+SFX_Cry23_1::
dbw ( $80 | CH4 ), SFX_Cry23_1_Ch1
dbw CH5, SFX_Cry23_1_Ch2
dbw CH7, SFX_Cry23_1_Ch3
-SFX_Cry24_1:: ; 8180 (2:4180)
+SFX_Cry24_1::
dbw ( $80 | CH4 ), SFX_Cry24_1_Ch1
dbw CH5, SFX_Cry24_1_Ch2
dbw CH7, SFX_Cry24_1_Ch3
-SFX_Cry25_1:: ; 8189 (2:4189)
+SFX_Cry25_1::
dbw ( $80 | CH4 ), SFX_Cry25_1_Ch1
dbw CH5, SFX_Cry25_1_Ch2
dbw CH7, SFX_Cry25_1_Ch3
-SFX_Get_Item1_1:: ; 8192 (2:4192)
+SFX_Get_Item1_1::
dbw ( $80 | CH4 ), SFX_Get_Item1_1_Ch1
dbw CH5, SFX_Get_Item1_1_Ch2
dbw CH6, SFX_Get_Item1_1_Ch3
-SFX_Get_Item2_1:: ; 819b (2:419b)
+SFX_Get_Item2_1::
dbw ( $80 | CH4 ), SFX_Get_Item2_1_Ch1
dbw CH5, SFX_Get_Item2_1_Ch2
dbw CH6, SFX_Get_Item2_1_Ch3
-SFX_Tink_1:: ; 81a4 (2:41a4)
+SFX_Tink_1::
dbw CH4, SFX_Tink_1_Ch1
-SFX_Heal_HP_1:: ; 81a7 (2:41a7)
+SFX_Heal_HP_1::
dbw CH4, SFX_Heal_HP_1_Ch1
-SFX_Heal_Ailment_1:: ; 81aa (2:41aa)
+SFX_Heal_Ailment_1::
dbw CH4, SFX_Heal_Ailment_1_Ch1
-SFX_Start_Menu_1:: ; 81ad (2:41ad)
+SFX_Start_Menu_1::
dbw CH7, SFX_Start_Menu_1_Ch1
-SFX_Press_AB_1:: ; 81b0 (2:41b0)
+SFX_Press_AB_1::
dbw CH4, SFX_Press_AB_1_Ch1
-SFX_Pokedex_Rating_1:: ; 81b3 (2:41b3)
+SFX_Pokedex_Rating_1::
dbw ( $80 | CH4 ), SFX_Pokedex_Rating_1_Ch1
dbw CH5, SFX_Pokedex_Rating_1_Ch2
dbw CH6, SFX_Pokedex_Rating_1_Ch3
-SFX_Get_Key_Item_1:: ; 81bc (2:41bc)
+SFX_Get_Key_Item_1::
dbw ( $80 | CH4 ), SFX_Get_Key_Item_1_Ch1
dbw CH5, SFX_Get_Key_Item_1_Ch2
dbw CH6, SFX_Get_Key_Item_1_Ch3
-SFX_Poisoned_1:: ; 81c5 (2:41c5)
+SFX_Poisoned_1::
dbw CH4, SFX_Poisoned_1_Ch1
-SFX_Trade_Machine_1:: ; 81c8 (2:41c8)
+SFX_Trade_Machine_1::
dbw CH4, SFX_Trade_Machine_1_Ch1
-SFX_Turn_On_PC_1:: ; 81cb (2:41cb)
+SFX_Turn_On_PC_1::
dbw CH4, SFX_Turn_On_PC_1_Ch1
-SFX_Turn_Off_PC_1:: ; 81ce (2:41ce)
+SFX_Turn_Off_PC_1::
dbw CH4, SFX_Turn_Off_PC_1_Ch1
-SFX_Enter_PC_1:: ; 81d1 (2:41d1)
+SFX_Enter_PC_1::
dbw CH4, SFX_Enter_PC_1_Ch1
-SFX_Shrink_1:: ; 81d4 (2:41d4)
+SFX_Shrink_1::
dbw CH4, SFX_Shrink_1_Ch1
-SFX_Switch_1:: ; 81d7 (2:41d7)
+SFX_Switch_1::
dbw CH4, SFX_Switch_1_Ch1
-SFX_Healing_Machine_1:: ; 81da (2:41da)
+SFX_Healing_Machine_1::
dbw CH4, SFX_Healing_Machine_1_Ch1
-SFX_Teleport_Exit1_1:: ; 81dd (2:41dd)
+SFX_Teleport_Exit1_1::
dbw CH4, SFX_Teleport_Exit1_1_Ch1
-SFX_Teleport_Enter1_1:: ; 81e0 (2:41e0)
+SFX_Teleport_Enter1_1::
dbw CH4, SFX_Teleport_Enter1_1_Ch1
-SFX_Teleport_Exit2_1:: ; 81e3 (2:41e3)
+SFX_Teleport_Exit2_1::
dbw CH4, SFX_Teleport_Exit2_1_Ch1
-SFX_Ledge_1:: ; 81e6 (2:41e6)
+SFX_Ledge_1::
dbw CH4, SFX_Ledge_1_Ch1
-SFX_Teleport_Enter2_1:: ; 81e9 (2:41e9)
+SFX_Teleport_Enter2_1::
dbw CH7, SFX_Teleport_Enter2_1_Ch1
-SFX_Fly_1:: ; 81ec (2:41ec)
+SFX_Fly_1::
dbw CH7, SFX_Fly_1_Ch1
-SFX_Denied_1:: ; 81ef (2:41ef)
+SFX_Denied_1::
dbw ( $40 | CH4 ), SFX_Denied_1_Ch1
dbw CH5, SFX_Denied_1_Ch2
-SFX_Arrow_Tiles_1:: ; 81f5 (2:41f5)
+SFX_Arrow_Tiles_1::
dbw CH4, SFX_Arrow_Tiles_1_Ch1
-SFX_Push_Boulder_1:: ; 81f8 (2:41f8)
+SFX_Push_Boulder_1::
dbw CH7, SFX_Push_Boulder_1_Ch1
-SFX_SS_Anne_Horn_1:: ; 81fb (2:41fb)
+SFX_SS_Anne_Horn_1::
dbw ( $40 | CH4 ), SFX_SS_Anne_Horn_1_Ch1
dbw CH5, SFX_SS_Anne_Horn_1_Ch2
-SFX_Withdraw_Deposit_1:: ; 8201 (2:4201)
+SFX_Withdraw_Deposit_1::
dbw CH4, SFX_Withdraw_Deposit_1_Ch1
-SFX_Cut_1:: ; 8204 (2:4204)
+SFX_Cut_1::
dbw CH7, SFX_Cut_1_Ch1
-SFX_Go_Inside_1:: ; 8207 (2:4207)
+SFX_Go_Inside_1::
dbw CH7, SFX_Go_Inside_1_Ch1
-SFX_Swap_1:: ; 820a (2:420a)
+SFX_Swap_1::
dbw ( $40 | CH4 ), SFX_Swap_1_Ch1
dbw CH5, SFX_Swap_1_Ch2
-SFX_59_1:: ; 8210 (2:4210)
+SFX_59_1::
dbw ( $40 | CH4 ), SFX_59_1_Ch1
dbw CH5, SFX_59_1_Ch2
-SFX_Purchase_1:: ; 8216 (2:4216)
+SFX_Purchase_1::
dbw ( $40 | CH4 ), SFX_Purchase_1_Ch1
dbw CH5, SFX_Purchase_1_Ch2
-SFX_Collision_1:: ; 821c (2:421c)
+SFX_Collision_1::
dbw CH4, SFX_Collision_1_Ch1
-SFX_Go_Outside_1:: ; 821f (2:421f)
+SFX_Go_Outside_1::
dbw CH7, SFX_Go_Outside_1_Ch1
-SFX_Save_1:: ; 8222 (2:4222)
+SFX_Save_1::
dbw ( $40 | CH4 ), SFX_Save_1_Ch1
dbw CH5, SFX_Save_1_Ch2
-SFX_Pokeflute:: ; 8228 (2:4228)
+SFX_Pokeflute::
dbw CH2, SFX_Pokeflute_Ch1
-SFX_Safari_Zone_PA:: ; 822b (2:422b)
+SFX_Safari_Zone_PA::
dbw CH4, SFX_Safari_Zone_PA_Ch1
diff --git a/audio/headers/sfxheaders2.asm b/audio/headers/sfxheaders2.asm
index ca187a51..2f517d10 100644
--- a/audio/headers/sfxheaders2.asm
+++ b/audio/headers/sfxheaders2.asm
@@ -1,473 +1,473 @@
SFX_Headers_2::
dbw -1, -1 ; padding
-SFX_Snare1_2:: ; 20003 (8:4003)
+SFX_Snare1_2::
dbw CH7, SFX_Snare1_2_Ch1
-SFX_Snare2_2:: ; 20006 (8:4006)
+SFX_Snare2_2::
dbw CH7, SFX_Snare2_2_Ch1
-SFX_Snare3_2:: ; 20009 (8:4009)
+SFX_Snare3_2::
dbw CH7, SFX_Snare3_2_Ch1
-SFX_Snare4_2:: ; 2000c (8:400c)
+SFX_Snare4_2::
dbw CH7, SFX_Snare4_2_Ch1
-SFX_Snare5_2:: ; 2000f (8:400f)
+SFX_Snare5_2::
dbw CH7, SFX_Snare5_2_Ch1
-SFX_Triangle1_2:: ; 20012 (8:4012)
+SFX_Triangle1_2::
dbw CH7, SFX_Triangle1_2_Ch1
-SFX_Triangle2_2:: ; 20015 (8:4015)
+SFX_Triangle2_2::
dbw CH7, SFX_Triangle2_2_Ch1
-SFX_Snare6_2:: ; 20018 (8:4018)
+SFX_Snare6_2::
dbw CH7, SFX_Snare6_2_Ch1
-SFX_Snare7_2:: ; 2001b (8:401b)
+SFX_Snare7_2::
dbw CH7, SFX_Snare7_2_Ch1
-SFX_Snare8_2:: ; 2001e (8:401e)
+SFX_Snare8_2::
dbw CH7, SFX_Snare8_2_Ch1
-SFX_Snare9_2:: ; 20021 (8:4021)
+SFX_Snare9_2::
dbw CH7, SFX_Snare9_2_Ch1
-SFX_Cymbal1_2:: ; 20024 (8:4024)
+SFX_Cymbal1_2::
dbw CH7, SFX_Cymbal1_2_Ch1
-SFX_Cymbal2_2:: ; 20027 (8:4027)
+SFX_Cymbal2_2::
dbw CH7, SFX_Cymbal2_2_Ch1
-SFX_Cymbal3_2:: ; 2002a (8:402a)
+SFX_Cymbal3_2::
dbw CH7, SFX_Cymbal3_2_Ch1
-SFX_Muted_Snare1_2:: ; 2002d (8:402d)
+SFX_Muted_Snare1_2::
dbw CH7, SFX_Muted_Snare1_2_Ch1
-SFX_Triangle3_2:: ; 20030 (8:4030)
+SFX_Triangle3_2::
dbw CH7, SFX_Triangle3_2_Ch1
-SFX_Muted_Snare2_2:: ; 20033 (8:4033)
+SFX_Muted_Snare2_2::
dbw CH7, SFX_Muted_Snare2_2_Ch1
-SFX_Muted_Snare3_2:: ; 20036 (8:4036)
+SFX_Muted_Snare3_2::
dbw CH7, SFX_Muted_Snare3_2_Ch1
-SFX_Muted_Snare4_2:: ; 20039 (8:4039)
+SFX_Muted_Snare4_2::
dbw CH7, SFX_Muted_Snare4_2_Ch1
-SFX_Cry00_2:: ; 2003c (8:403c)
+SFX_Cry00_2::
dbw ( $80 | CH4 ), SFX_Cry00_2_Ch1
dbw CH5, SFX_Cry00_2_Ch2
dbw CH7, SFX_Cry00_2_Ch3
-SFX_Cry01_2:: ; 20045 (8:4045)
+SFX_Cry01_2::
dbw ( $80 | CH4 ), SFX_Cry01_2_Ch1
dbw CH5, SFX_Cry01_2_Ch2
dbw CH7, SFX_Cry01_2_Ch3
-SFX_Cry02_2:: ; 2004e (8:404e)
+SFX_Cry02_2::
dbw ( $80 | CH4 ), SFX_Cry02_2_Ch1
dbw CH5, SFX_Cry02_2_Ch2
dbw CH7, SFX_Cry02_2_Ch3
-SFX_Cry03_2:: ; 20057 (8:4057)
+SFX_Cry03_2::
dbw ( $80 | CH4 ), SFX_Cry03_2_Ch1
dbw CH5, SFX_Cry03_2_Ch2
dbw CH7, SFX_Cry03_2_Ch3
-SFX_Cry04_2:: ; 20060 (8:4060)
+SFX_Cry04_2::
dbw ( $80 | CH4 ), SFX_Cry04_2_Ch1
dbw CH5, SFX_Cry04_2_Ch2
dbw CH7, SFX_Cry04_2_Ch3
-SFX_Cry05_2:: ; 20069 (8:4069)
+SFX_Cry05_2::
dbw ( $80 | CH4 ), SFX_Cry05_2_Ch1
dbw CH5, SFX_Cry05_2_Ch2
dbw CH7, SFX_Cry05_2_Ch3
-SFX_Cry06_2:: ; 20072 (8:4072)
+SFX_Cry06_2::
dbw ( $80 | CH4 ), SFX_Cry06_2_Ch1
dbw CH5, SFX_Cry06_2_Ch2
dbw CH7, SFX_Cry06_2_Ch3
-SFX_Cry07_2:: ; 2007b (8:407b)
+SFX_Cry07_2::
dbw ( $80 | CH4 ), SFX_Cry07_2_Ch1
dbw CH5, SFX_Cry07_2_Ch2
dbw CH7, SFX_Cry07_2_Ch3
-SFX_Cry08_2:: ; 20084 (8:4084)
+SFX_Cry08_2::
dbw ( $80 | CH4 ), SFX_Cry08_2_Ch1
dbw CH5, SFX_Cry08_2_Ch2
dbw CH7, SFX_Cry08_2_Ch3
-SFX_Cry09_2:: ; 2008d (8:408d)
+SFX_Cry09_2::
dbw ( $80 | CH4 ), SFX_Cry09_2_Ch1
dbw CH5, SFX_Cry09_2_Ch2
dbw CH7, SFX_Cry09_2_Ch3
-SFX_Cry0A_2:: ; 20096 (8:4096)
+SFX_Cry0A_2::
dbw ( $80 | CH4 ), SFX_Cry0A_2_Ch1
dbw CH5, SFX_Cry0A_2_Ch2
dbw CH7, SFX_Cry0A_2_Ch3
-SFX_Cry0B_2:: ; 2009f (8:409f)
+SFX_Cry0B_2::
dbw ( $80 | CH4 ), SFX_Cry0B_2_Ch1
dbw CH5, SFX_Cry0B_2_Ch2
dbw CH7, SFX_Cry0B_2_Ch3
-SFX_Cry0C_2:: ; 200a8 (8:40a8)
+SFX_Cry0C_2::
dbw ( $80 | CH4 ), SFX_Cry0C_2_Ch1
dbw CH5, SFX_Cry0C_2_Ch2
dbw CH7, SFX_Cry0C_2_Ch3
-SFX_Cry0D_2:: ; 200b1 (8:40b1)
+SFX_Cry0D_2::
dbw ( $80 | CH4 ), SFX_Cry0D_2_Ch1
dbw CH5, SFX_Cry0D_2_Ch2
dbw CH7, SFX_Cry0D_2_Ch3
-SFX_Cry0E_2:: ; 200ba (8:40ba)
+SFX_Cry0E_2::
dbw ( $80 | CH4 ), SFX_Cry0E_2_Ch1
dbw CH5, SFX_Cry0E_2_Ch2
dbw CH7, SFX_Cry0E_2_Ch3
-SFX_Cry0F_2:: ; 200c3 (8:40c3)
+SFX_Cry0F_2::
dbw ( $80 | CH4 ), SFX_Cry0F_2_Ch1
dbw CH5, SFX_Cry0F_2_Ch2
dbw CH7, SFX_Cry0F_2_Ch3
-SFX_Cry10_2:: ; 200cc (8:40cc)
+SFX_Cry10_2::
dbw ( $80 | CH4 ), SFX_Cry10_2_Ch1
dbw CH5, SFX_Cry10_2_Ch2
dbw CH7, SFX_Cry10_2_Ch3
-SFX_Cry11_2:: ; 200d5 (8:40d5)
+SFX_Cry11_2::
dbw ( $80 | CH4 ), SFX_Cry11_2_Ch1
dbw CH5, SFX_Cry11_2_Ch2
dbw CH7, SFX_Cry11_2_Ch3
-SFX_Cry12_2:: ; 200de (8:40de)
+SFX_Cry12_2::
dbw ( $80 | CH4 ), SFX_Cry12_2_Ch1
dbw CH5, SFX_Cry12_2_Ch2
dbw CH7, SFX_Cry12_2_Ch3
-SFX_Cry13_2:: ; 200e7 (8:40e7)
+SFX_Cry13_2::
dbw ( $80 | CH4 ), SFX_Cry13_2_Ch1
dbw CH5, SFX_Cry13_2_Ch2
dbw CH7, SFX_Cry13_2_Ch3
-SFX_Cry14_2:: ; 200f0 (8:40f0)
+SFX_Cry14_2::
dbw ( $80 | CH4 ), SFX_Cry14_2_Ch1
dbw CH5, SFX_Cry14_2_Ch2
dbw CH7, SFX_Cry14_2_Ch3
-SFX_Cry15_2:: ; 200f9 (8:40f9)
+SFX_Cry15_2::
dbw ( $80 | CH4 ), SFX_Cry15_2_Ch1
dbw CH5, SFX_Cry15_2_Ch2
dbw CH7, SFX_Cry15_2_Ch3
-SFX_Cry16_2:: ; 20102 (8:4102)
+SFX_Cry16_2::
dbw ( $80 | CH4 ), SFX_Cry16_2_Ch1
dbw CH5, SFX_Cry16_2_Ch2
dbw CH7, SFX_Cry16_2_Ch3
-SFX_Cry17_2:: ; 2010b (8:410b)
+SFX_Cry17_2::
dbw ( $80 | CH4 ), SFX_Cry17_2_Ch1
dbw CH5, SFX_Cry17_2_Ch2
dbw CH7, SFX_Cry17_2_Ch3
-SFX_Cry18_2:: ; 20114 (8:4114)
+SFX_Cry18_2::
dbw ( $80 | CH4 ), SFX_Cry18_2_Ch1
dbw CH5, SFX_Cry18_2_Ch2
dbw CH7, SFX_Cry18_2_Ch3
-SFX_Cry19_2:: ; 2011d (8:411d)
+SFX_Cry19_2::
dbw ( $80 | CH4 ), SFX_Cry19_2_Ch1
dbw CH5, SFX_Cry19_2_Ch2
dbw CH7, SFX_Cry19_2_Ch3
-SFX_Cry1A_2:: ; 20126 (8:4126)
+SFX_Cry1A_2::
dbw ( $80 | CH4 ), SFX_Cry1A_2_Ch1
dbw CH5, SFX_Cry1A_2_Ch2
dbw CH7, SFX_Cry1A_2_Ch3
-SFX_Cry1B_2:: ; 2012f (8:412f)
+SFX_Cry1B_2::
dbw ( $80 | CH4 ), SFX_Cry1B_2_Ch1
dbw CH5, SFX_Cry1B_2_Ch2
dbw CH7, SFX_Cry1B_2_Ch3
-SFX_Cry1C_2:: ; 20138 (8:4138)
+SFX_Cry1C_2::
dbw ( $80 | CH4 ), SFX_Cry1C_2_Ch1
dbw CH5, SFX_Cry1C_2_Ch2
dbw CH7, SFX_Cry1C_2_Ch3
-SFX_Cry1D_2:: ; 20141 (8:4141)
+SFX_Cry1D_2::
dbw ( $80 | CH4 ), SFX_Cry1D_2_Ch1
dbw CH5, SFX_Cry1D_2_Ch2
dbw CH7, SFX_Cry1D_2_Ch3
-SFX_Cry1E_2:: ; 2014a (8:414a)
+SFX_Cry1E_2::
dbw ( $80 | CH4 ), SFX_Cry1E_2_Ch1
dbw CH5, SFX_Cry1E_2_Ch2
dbw CH7, SFX_Cry1E_2_Ch3
-SFX_Cry1F_2:: ; 20153 (8:4153)
+SFX_Cry1F_2::
dbw ( $80 | CH4 ), SFX_Cry1F_2_Ch1
dbw CH5, SFX_Cry1F_2_Ch2
dbw CH7, SFX_Cry1F_2_Ch3
-SFX_Cry20_2:: ; 2015c (8:415c)
+SFX_Cry20_2::
dbw ( $80 | CH4 ), SFX_Cry20_2_Ch1
dbw CH5, SFX_Cry20_2_Ch2
dbw CH7, SFX_Cry20_2_Ch3
-SFX_Cry21_2:: ; 20165 (8:4165)
+SFX_Cry21_2::
dbw ( $80 | CH4 ), SFX_Cry21_2_Ch1
dbw CH5, SFX_Cry21_2_Ch2
dbw CH7, SFX_Cry21_2_Ch3
-SFX_Cry22_2:: ; 2016e (8:416e)
+SFX_Cry22_2::
dbw ( $80 | CH4 ), SFX_Cry22_2_Ch1
dbw CH5, SFX_Cry22_2_Ch2
dbw CH7, SFX_Cry22_2_Ch3
-SFX_Cry23_2:: ; 20177 (8:4177)
+SFX_Cry23_2::
dbw ( $80 | CH4 ), SFX_Cry23_2_Ch1
dbw CH5, SFX_Cry23_2_Ch2
dbw CH7, SFX_Cry23_2_Ch3
-SFX_Cry24_2:: ; 20180 (8:4180)
+SFX_Cry24_2::
dbw ( $80 | CH4 ), SFX_Cry24_2_Ch1
dbw CH5, SFX_Cry24_2_Ch2
dbw CH7, SFX_Cry24_2_Ch3
-SFX_Cry25_2:: ; 20189 (8:4189)
+SFX_Cry25_2::
dbw ( $80 | CH4 ), SFX_Cry25_2_Ch1
dbw CH5, SFX_Cry25_2_Ch2
dbw CH7, SFX_Cry25_2_Ch3
-SFX_Level_Up:: ; 20192 (8:4192)
+SFX_Level_Up::
dbw ( $80 | CH4 ), SFX_Level_Up_Ch1
dbw CH5, SFX_Level_Up_Ch2
dbw CH6, SFX_Level_Up_Ch3
-SFX_Get_Item2_2:: ; 2019b (8:419b)
+SFX_Get_Item2_2::
dbw ( $80 | CH4 ), SFX_Get_Item2_2_Ch1
dbw CH5, SFX_Get_Item2_2_Ch2
dbw CH6, SFX_Get_Item2_2_Ch3
-SFX_Tink_2:: ; 201a4 (8:41a4)
+SFX_Tink_2::
dbw CH4, SFX_Tink_2_Ch1
-SFX_Heal_HP_2:: ; 201a7 (8:41a7)
+SFX_Heal_HP_2::
dbw CH4, SFX_Heal_HP_2_Ch1
-SFX_Heal_Ailment_2:: ; 201aa (8:41aa)
+SFX_Heal_Ailment_2::
dbw CH4, SFX_Heal_Ailment_2_Ch1
-SFX_Start_Menu_2:: ; 201ad (8:41ad)
+SFX_Start_Menu_2::
dbw CH7, SFX_Start_Menu_2_Ch1
-SFX_Press_AB_2:: ; 201b0 (8:41b0)
+SFX_Press_AB_2::
dbw CH4, SFX_Press_AB_2_Ch1
-SFX_Ball_Toss:: ; 201b3 (8:41b3)
+SFX_Ball_Toss::
dbw ( $40 | CH4 ), SFX_Ball_Toss_Ch1
dbw CH5, SFX_Ball_Toss_Ch2
-SFX_Ball_Poof:: ; 201b9 (8:41b9)
+SFX_Ball_Poof::
dbw ( $40 | CH4 ), SFX_Ball_Poof_Ch1
dbw CH7, SFX_Ball_Poof_Ch2
-SFX_Faint_Thud:: ; 201bf (8:41bf)
+SFX_Faint_Thud::
dbw ( $40 | CH4 ), SFX_Faint_Thud_Ch1
dbw CH7, SFX_Faint_Thud_Ch2
-SFX_Run:: ; 201c5 (8:41c5)
+SFX_Run::
dbw CH7, SFX_Run_Ch1
-SFX_Dex_Page_Added:: ; 201c8 (8:41c8)
+SFX_Dex_Page_Added::
dbw ( $40 | CH4 ), SFX_Dex_Page_Added_Ch1
dbw CH5, SFX_Dex_Page_Added_Ch2
-SFX_Caught_Mon:: ; 201ce (8:41ce)
+SFX_Caught_Mon::
dbw ( $80 | CH4 ), SFX_Caught_Mon_Ch1
dbw CH5, SFX_Caught_Mon_Ch2
dbw CH6, SFX_Caught_Mon_Ch3
-SFX_Peck:: ; 201d7 (8:41d7)
+SFX_Peck::
dbw CH7, SFX_Peck_Ch1
-SFX_Faint_Fall:: ; 201da (8:41da)
+SFX_Faint_Fall::
dbw CH4, SFX_Faint_Fall_Ch1
-SFX_Battle_09:: ; 201dd (8:41dd)
+SFX_Battle_09::
dbw CH4, SFX_Battle_09_Ch1
-SFX_Pound:: ; 201e0 (8:41e0)
+SFX_Pound::
dbw CH7, SFX_Pound_Ch1
-SFX_Battle_0B:: ; 201e3 (8:41e3)
+SFX_Battle_0B::
dbw CH7, SFX_Battle_0B_Ch1
-SFX_Battle_0C:: ; 201e6 (8:41e6)
+SFX_Battle_0C::
dbw CH7, SFX_Battle_0C_Ch1
-SFX_Battle_0D:: ; 201e9 (8:41e9)
+SFX_Battle_0D::
dbw CH7, SFX_Battle_0D_Ch1
-SFX_Battle_0E:: ; 201ec (8:41ec)
+SFX_Battle_0E::
dbw CH7, SFX_Battle_0E_Ch1
-SFX_Battle_0F:: ; 201ef (8:41ef)
+SFX_Battle_0F::
dbw CH7, SFX_Battle_0F_Ch1
-SFX_Damage:: ; 201f2 (8:41f2)
+SFX_Damage::
dbw CH7, SFX_Damage_Ch1
-SFX_Not_Very_Effective:: ; 201f5 (8:41f5)
+SFX_Not_Very_Effective::
dbw CH7, SFX_Not_Very_Effective_Ch1
-SFX_Battle_12:: ; 201f8 (8:41f8)
+SFX_Battle_12::
dbw CH7, SFX_Battle_12_Ch1
-SFX_Battle_13:: ; 201fb (8:41fb)
+SFX_Battle_13::
dbw CH7, SFX_Battle_13_Ch1
-SFX_Battle_14:: ; 201fe (8:41fe)
+SFX_Battle_14::
dbw CH7, SFX_Battle_14_Ch1
-SFX_Vine_Whip:: ; 20201 (8:4201)
+SFX_Vine_Whip::
dbw CH7, SFX_Vine_Whip_Ch1
-SFX_Battle_16:: ; 20204 (8:4204)
+SFX_Battle_16::
dbw CH7, SFX_Battle_16_Ch1
-SFX_Battle_17:: ; 20207 (8:4207)
+SFX_Battle_17::
dbw CH7, SFX_Battle_17_Ch1
-SFX_Battle_18:: ; 2020a (8:420a)
+SFX_Battle_18::
dbw CH7, SFX_Battle_18_Ch1
-SFX_Battle_19:: ; 2020d (8:420d)
+SFX_Battle_19::
dbw CH7, SFX_Battle_19_Ch1
-SFX_Super_Effective:: ; 20210 (8:4210)
+SFX_Super_Effective::
dbw CH7, SFX_Super_Effective_Ch1
-SFX_Battle_1B:: ; 20213 (8:4213)
+SFX_Battle_1B::
dbw CH7, SFX_Battle_1B_Ch1
-SFX_Battle_1C:: ; 20216 (8:4216)
+SFX_Battle_1C::
dbw CH7, SFX_Battle_1C_Ch1
-SFX_Doubleslap:: ; 20219 (8:4219)
+SFX_Doubleslap::
dbw CH7, SFX_Doubleslap_Ch1
-SFX_Battle_1E:: ; 2021c (8:421c)
+SFX_Battle_1E::
dbw ( $40 | CH4 ), SFX_Battle_1E_Ch1
dbw CH7, SFX_Battle_1E_Ch2
-SFX_Horn_Drill:: ; 20222 (8:4222)
+SFX_Horn_Drill::
dbw CH7, SFX_Horn_Drill_Ch1
-SFX_Battle_20:: ; 20225 (8:4225)
+SFX_Battle_20::
dbw CH7, SFX_Battle_20_Ch1
-SFX_Battle_21:: ; 20228 (8:4228)
+SFX_Battle_21::
dbw CH7, SFX_Battle_21_Ch1
-SFX_Battle_22:: ; 2022b (8:422b)
+SFX_Battle_22::
dbw CH7, SFX_Battle_22_Ch1
-SFX_Battle_23:: ; 2022e (8:422e)
+SFX_Battle_23::
dbw CH7, SFX_Battle_23_Ch1
-SFX_Battle_24:: ; 20231 (8:4231)
+SFX_Battle_24::
dbw ( $40 | CH4 ), SFX_Battle_24_Ch1
dbw CH7, SFX_Battle_24_Ch2
-SFX_Battle_25:: ; 20237 (8:4237)
+SFX_Battle_25::
dbw CH7, SFX_Battle_25_Ch1
-SFX_Battle_26:: ; 2023a (8:423a)
+SFX_Battle_26::
dbw CH7, SFX_Battle_26_Ch1
-SFX_Battle_27:: ; 2023d (8:423d)
+SFX_Battle_27::
dbw ( $80 | CH4 ), SFX_Battle_27_Ch1
dbw CH5, SFX_Battle_27_Ch2
dbw CH7, SFX_Battle_27_Ch3
-SFX_Battle_28:: ; 20246 (8:4246)
+SFX_Battle_28::
dbw ( $80 | CH4 ), SFX_Battle_28_Ch1
dbw CH5, SFX_Battle_28_Ch2
dbw CH7, SFX_Battle_28_Ch3
-SFX_Earthquake:: ; 2024f (8:424f)
+SFX_Earthquake::
dbw ( $40 | CH4 ), SFX_Earthquake_Ch1
dbw CH7, SFX_Earthquake_Ch2
-SFX_Battle_2A:: ; 20255 (8:4255)
+SFX_Battle_2A::
dbw ( $80 | CH4 ), SFX_Battle_2A_Ch1
dbw CH5, SFX_Battle_2A_Ch2
dbw CH7, SFX_Battle_2A_Ch3
-SFX_Battle_2B:: ; 2025e (8:425e)
+SFX_Battle_2B::
dbw ( $40 | CH4 ), SFX_Battle_2B_Ch1
dbw CH7, SFX_Battle_2B_Ch2
-SFX_Battle_2C:: ; 20264 (8:4264)
+SFX_Battle_2C::
dbw ( $80 | CH4 ), SFX_Battle_2C_Ch1
dbw CH5, SFX_Battle_2C_Ch2
dbw CH7, SFX_Battle_2C_Ch3
-SFX_Psybeam:: ; 2026d (8:426d)
+SFX_Psybeam::
dbw ( $80 | CH4 ), SFX_Psybeam_Ch1
dbw CH5, SFX_Psybeam_Ch2
dbw CH7, SFX_Psybeam_Ch3
-SFX_Battle_2E:: ; 20276 (8:4276)
+SFX_Battle_2E::
dbw ( $80 | CH4 ), SFX_Battle_2E_Ch1
dbw CH5, SFX_Battle_2E_Ch2
dbw CH7, SFX_Battle_2E_Ch3
-SFX_Thunderbolt:: ; 2027f (8:427f)
+SFX_Thunderbolt::
dbw ( $80 | CH4 ), SFX_Thunderbolt_Ch1
dbw CH5, SFX_Thunderbolt_Ch2
dbw CH7, SFX_Thunderbolt_Ch3
-SFX_Psychic_M:: ; 20288 (8:4288)
+SFX_Psychic_M::
dbw ( $80 | CH4 ), SFX_Psychic_M_Ch1
dbw CH5, SFX_Psychic_M_Ch2
dbw CH7, SFX_Psychic_M_Ch3
-SFX_Battle_31:: ; 20291 (8:4291)
+SFX_Battle_31::
dbw ( $40 | CH4 ), SFX_Battle_31_Ch1
dbw CH5, SFX_Battle_31_Ch2
-SFX_Battle_32:: ; 20297 (8:4297)
+SFX_Battle_32::
dbw ( $40 | CH4 ), SFX_Battle_32_Ch1
dbw CH5, SFX_Battle_32_Ch2
-SFX_Battle_33:: ; 2029d (8:429d)
+SFX_Battle_33::
dbw ( $40 | CH4 ), SFX_Battle_33_Ch1
dbw CH5, SFX_Battle_33_Ch2
-SFX_Battle_34:: ; 202a3 (8:42a3)
+SFX_Battle_34::
dbw ( $80 | CH4 ), SFX_Battle_34_Ch1
dbw CH5, SFX_Battle_34_Ch2
dbw CH7, SFX_Battle_34_Ch3
-SFX_Battle_35:: ; 202ac (8:42ac)
+SFX_Battle_35::
dbw ( $40 | CH4 ), SFX_Battle_35_Ch1
dbw CH5, SFX_Battle_35_Ch2
-SFX_Battle_36:: ; 202b2 (8:42b2)
+SFX_Battle_36::
dbw ( $80 | CH4 ), SFX_Battle_36_Ch1
dbw CH5, SFX_Battle_36_Ch2
dbw CH7, SFX_Battle_36_Ch3
-SFX_Silph_Scope:: ; 202bb (8:42bb)
+SFX_Silph_Scope::
dbw CH4, SFX_Silph_Scope_Ch1
diff --git a/audio/headers/sfxheaders3.asm b/audio/headers/sfxheaders3.asm
index 8328d6c7..cd940357 100644
--- a/audio/headers/sfxheaders3.asm
+++ b/audio/headers/sfxheaders3.asm
@@ -1,402 +1,402 @@
SFX_Headers_3::
dbw -1, -1 ; padding
-SFX_Snare1_3:: ; 7c003 (1f:4003)
+SFX_Snare1_3::
dbw CH7, SFX_Snare1_3_Ch1
-SFX_Snare2_3:: ; 7c006 (1f:4006)
+SFX_Snare2_3::
dbw CH7, SFX_Snare2_3_Ch1
-SFX_Snare3_3:: ; 7c009 (1f:4009)
+SFX_Snare3_3::
dbw CH7, SFX_Snare3_3_Ch1
-SFX_Snare4_3:: ; 7c00c (1f:400c)
+SFX_Snare4_3::
dbw CH7, SFX_Snare4_3_Ch1
-SFX_Snare5_3:: ; 7c00f (1f:400f)
+SFX_Snare5_3::
dbw CH7, SFX_Snare5_3_Ch1
-SFX_Triangle1_3:: ; 7c012 (1f:4012)
+SFX_Triangle1_3::
dbw CH7, SFX_Triangle1_3_Ch1
-SFX_Triangle2_3:: ; 7c015 (1f:4015)
+SFX_Triangle2_3::
dbw CH7, SFX_Triangle2_3_Ch1
-SFX_Snare6_3:: ; 7c018 (1f:4018)
+SFX_Snare6_3::
dbw CH7, SFX_Snare6_3_Ch1
-SFX_Snare7_3:: ; 7c01b (1f:401b)
+SFX_Snare7_3::
dbw CH7, SFX_Snare7_3_Ch1
-SFX_Snare8_3:: ; 7c01e (1f:401e)
+SFX_Snare8_3::
dbw CH7, SFX_Snare8_3_Ch1
-SFX_Snare9_3:: ; 7c021 (1f:4021)
+SFX_Snare9_3::
dbw CH7, SFX_Snare9_3_Ch1
-SFX_Cymbal1_3:: ; 7c024 (1f:4024)
+SFX_Cymbal1_3::
dbw CH7, SFX_Cymbal1_3_Ch1
-SFX_Cymbal2_3:: ; 7c027 (1f:4027)
+SFX_Cymbal2_3::
dbw CH7, SFX_Cymbal2_3_Ch1
-SFX_Cymbal3_3:: ; 7c02a (1f:402a)
+SFX_Cymbal3_3::
dbw CH7, SFX_Cymbal3_3_Ch1
-SFX_Muted_Snare1_3:: ; 7c02d (1f:402d)
+SFX_Muted_Snare1_3::
dbw CH7, SFX_Muted_Snare1_3_Ch1
-SFX_Triangle3_3:: ; 7c030 (1f:4030)
+SFX_Triangle3_3::
dbw CH7, SFX_Triangle3_3_Ch1
-SFX_Muted_Snare2_3:: ; 7c033 (1f:4033)
+SFX_Muted_Snare2_3::
dbw CH7, SFX_Muted_Snare2_3_Ch1
-SFX_Muted_Snare3_3:: ; 7c036 (1f:4036)
+SFX_Muted_Snare3_3::
dbw CH7, SFX_Muted_Snare3_3_Ch1
-SFX_Muted_Snare4_3:: ; 7c039 (1f:4039)
+SFX_Muted_Snare4_3::
dbw CH7, SFX_Muted_Snare4_3_Ch1
-SFX_Cry00_3:: ; 7c03c (1f:403c)
+SFX_Cry00_3::
dbw ( $80 | CH4 ), SFX_Cry00_3_Ch1
dbw CH5, SFX_Cry00_3_Ch2
dbw CH7, SFX_Cry00_3_Ch3
-SFX_Cry01_3:: ; 7c045 (1f:4045)
+SFX_Cry01_3::
dbw ( $80 | CH4 ), SFX_Cry01_3_Ch1
dbw CH5, SFX_Cry01_3_Ch2
dbw CH7, SFX_Cry01_3_Ch3
-SFX_Cry02_3:: ; 7c04e (1f:404e)
+SFX_Cry02_3::
dbw ( $80 | CH4 ), SFX_Cry02_3_Ch1
dbw CH5, SFX_Cry02_3_Ch2
dbw CH7, SFX_Cry02_3_Ch3
-SFX_Cry03_3:: ; 7c057 (1f:4057)
+SFX_Cry03_3::
dbw ( $80 | CH4 ), SFX_Cry03_3_Ch1
dbw CH5, SFX_Cry03_3_Ch2
dbw CH7, SFX_Cry03_3_Ch3
-SFX_Cry04_3:: ; 7c060 (1f:4060)
+SFX_Cry04_3::
dbw ( $80 | CH4 ), SFX_Cry04_3_Ch1
dbw CH5, SFX_Cry04_3_Ch2
dbw CH7, SFX_Cry04_3_Ch3
-SFX_Cry05_3:: ; 7c069 (1f:4069)
+SFX_Cry05_3::
dbw ( $80 | CH4 ), SFX_Cry05_3_Ch1
dbw CH5, SFX_Cry05_3_Ch2
dbw CH7, SFX_Cry05_3_Ch3
-SFX_Cry06_3:: ; 7c072 (1f:4072)
+SFX_Cry06_3::
dbw ( $80 | CH4 ), SFX_Cry06_3_Ch1
dbw CH5, SFX_Cry06_3_Ch2
dbw CH7, SFX_Cry06_3_Ch3
-SFX_Cry07_3:: ; 7c07b (1f:407b)
+SFX_Cry07_3::
dbw ( $80 | CH4 ), SFX_Cry07_3_Ch1
dbw CH5, SFX_Cry07_3_Ch2
dbw CH7, SFX_Cry07_3_Ch3
-SFX_Cry08_3:: ; 7c084 (1f:4084)
+SFX_Cry08_3::
dbw ( $80 | CH4 ), SFX_Cry08_3_Ch1
dbw CH5, SFX_Cry08_3_Ch2
dbw CH7, SFX_Cry08_3_Ch3
-SFX_Cry09_3:: ; 7c08d (1f:408d)
+SFX_Cry09_3::
dbw ( $80 | CH4 ), SFX_Cry09_3_Ch1
dbw CH5, SFX_Cry09_3_Ch2
dbw CH7, SFX_Cry09_3_Ch3
-SFX_Cry0A_3:: ; 7c096 (1f:4096)
+SFX_Cry0A_3::
dbw ( $80 | CH4 ), SFX_Cry0A_3_Ch1
dbw CH5, SFX_Cry0A_3_Ch2
dbw CH7, SFX_Cry0A_3_Ch3
-SFX_Cry0B_3:: ; 7c09f (1f:409f)
+SFX_Cry0B_3::
dbw ( $80 | CH4 ), SFX_Cry0B_3_Ch1
dbw CH5, SFX_Cry0B_3_Ch2
dbw CH7, SFX_Cry0B_3_Ch3
-SFX_Cry0C_3:: ; 7c0a8 (1f:40a8)
+SFX_Cry0C_3::
dbw ( $80 | CH4 ), SFX_Cry0C_3_Ch1
dbw CH5, SFX_Cry0C_3_Ch2
dbw CH7, SFX_Cry0C_3_Ch3
-SFX_Cry0D_3:: ; 7c0b1 (1f:40b1)
+SFX_Cry0D_3::
dbw ( $80 | CH4 ), SFX_Cry0D_3_Ch1
dbw CH5, SFX_Cry0D_3_Ch2
dbw CH7, SFX_Cry0D_3_Ch3
-SFX_Cry0E_3:: ; 7c0ba (1f:40ba)
+SFX_Cry0E_3::
dbw ( $80 | CH4 ), SFX_Cry0E_3_Ch1
dbw CH5, SFX_Cry0E_3_Ch2
dbw CH7, SFX_Cry0E_3_Ch3
-SFX_Cry0F_3:: ; 7c0c3 (1f:40c3)
+SFX_Cry0F_3::
dbw ( $80 | CH4 ), SFX_Cry0F_3_Ch1
dbw CH5, SFX_Cry0F_3_Ch2
dbw CH7, SFX_Cry0F_3_Ch3
-SFX_Cry10_3:: ; 7c0cc (1f:40cc)
+SFX_Cry10_3::
dbw ( $80 | CH4 ), SFX_Cry10_3_Ch1
dbw CH5, SFX_Cry10_3_Ch2
dbw CH7, SFX_Cry10_3_Ch3
-SFX_Cry11_3:: ; 7c0d5 (1f:40d5)
+SFX_Cry11_3::
dbw ( $80 | CH4 ), SFX_Cry11_3_Ch1
dbw CH5, SFX_Cry11_3_Ch2
dbw CH7, SFX_Cry11_3_Ch3
-SFX_Cry12_3:: ; 7c0de (1f:40de)
+SFX_Cry12_3::
dbw ( $80 | CH4 ), SFX_Cry12_3_Ch1
dbw CH5, SFX_Cry12_3_Ch2
dbw CH7, SFX_Cry12_3_Ch3
-SFX_Cry13_3:: ; 7c0e7 (1f:40e7)
+SFX_Cry13_3::
dbw ( $80 | CH4 ), SFX_Cry13_3_Ch1
dbw CH5, SFX_Cry13_3_Ch2
dbw CH7, SFX_Cry13_3_Ch3
-SFX_Cry14_3:: ; 7c0f0 (1f:40f0)
+SFX_Cry14_3::
dbw ( $80 | CH4 ), SFX_Cry14_3_Ch1
dbw CH5, SFX_Cry14_3_Ch2
dbw CH7, SFX_Cry14_3_Ch3
-SFX_Cry15_3:: ; 7c0f9 (1f:40f9)
+SFX_Cry15_3::
dbw ( $80 | CH4 ), SFX_Cry15_3_Ch1
dbw CH5, SFX_Cry15_3_Ch2
dbw CH7, SFX_Cry15_3_Ch3
-SFX_Cry16_3:: ; 7c102 (1f:4102)
+SFX_Cry16_3::
dbw ( $80 | CH4 ), SFX_Cry16_3_Ch1
dbw CH5, SFX_Cry16_3_Ch2
dbw CH7, SFX_Cry16_3_Ch3
-SFX_Cry17_3:: ; 7c10b (1f:410b)
+SFX_Cry17_3::
dbw ( $80 | CH4 ), SFX_Cry17_3_Ch1
dbw CH5, SFX_Cry17_3_Ch2
dbw CH7, SFX_Cry17_3_Ch3
-SFX_Cry18_3:: ; 7c114 (1f:4114)
+SFX_Cry18_3::
dbw ( $80 | CH4 ), SFX_Cry18_3_Ch1
dbw CH5, SFX_Cry18_3_Ch2
dbw CH7, SFX_Cry18_3_Ch3
-SFX_Cry19_3:: ; 7c11d (1f:411d)
+SFX_Cry19_3::
dbw ( $80 | CH4 ), SFX_Cry19_3_Ch1
dbw CH5, SFX_Cry19_3_Ch2
dbw CH7, SFX_Cry19_3_Ch3
-SFX_Cry1A_3:: ; 7c126 (1f:4126)
+SFX_Cry1A_3::
dbw ( $80 | CH4 ), SFX_Cry1A_3_Ch1
dbw CH5, SFX_Cry1A_3_Ch2
dbw CH7, SFX_Cry1A_3_Ch3
-SFX_Cry1B_3:: ; 7c12f (1f:412f)
+SFX_Cry1B_3::
dbw ( $80 | CH4 ), SFX_Cry1B_3_Ch1
dbw CH5, SFX_Cry1B_3_Ch2
dbw CH7, SFX_Cry1B_3_Ch3
-SFX_Cry1C_3:: ; 7c138 (1f:4138)
+SFX_Cry1C_3::
dbw ( $80 | CH4 ), SFX_Cry1C_3_Ch1
dbw CH5, SFX_Cry1C_3_Ch2
dbw CH7, SFX_Cry1C_3_Ch3
-SFX_Cry1D_3:: ; 7c141 (1f:4141)
+SFX_Cry1D_3::
dbw ( $80 | CH4 ), SFX_Cry1D_3_Ch1
dbw CH5, SFX_Cry1D_3_Ch2
dbw CH7, SFX_Cry1D_3_Ch3
-SFX_Cry1E_3:: ; 7c14a (1f:414a)
+SFX_Cry1E_3::
dbw ( $80 | CH4 ), SFX_Cry1E_3_Ch1
dbw CH5, SFX_Cry1E_3_Ch2
dbw CH7, SFX_Cry1E_3_Ch3
-SFX_Cry1F_3:: ; 7c153 (1f:4153)
+SFX_Cry1F_3::
dbw ( $80 | CH4 ), SFX_Cry1F_3_Ch1
dbw CH5, SFX_Cry1F_3_Ch2
dbw CH7, SFX_Cry1F_3_Ch3
-SFX_Cry20_3:: ; 7c15c (1f:415c)
+SFX_Cry20_3::
dbw ( $80 | CH4 ), SFX_Cry20_3_Ch1
dbw CH5, SFX_Cry20_3_Ch2
dbw CH7, SFX_Cry20_3_Ch3
-SFX_Cry21_3:: ; 7c165 (1f:4165)
+SFX_Cry21_3::
dbw ( $80 | CH4 ), SFX_Cry21_3_Ch1
dbw CH5, SFX_Cry21_3_Ch2
dbw CH7, SFX_Cry21_3_Ch3
-SFX_Cry22_3:: ; 7c16e (1f:416e)
+SFX_Cry22_3::
dbw ( $80 | CH4 ), SFX_Cry22_3_Ch1
dbw CH5, SFX_Cry22_3_Ch2
dbw CH7, SFX_Cry22_3_Ch3
-SFX_Cry23_3:: ; 7c177 (1f:4177)
+SFX_Cry23_3::
dbw ( $80 | CH4 ), SFX_Cry23_3_Ch1
dbw CH5, SFX_Cry23_3_Ch2
dbw CH7, SFX_Cry23_3_Ch3
-SFX_Cry24_3:: ; 7c180 (1f:4180)
+SFX_Cry24_3::
dbw ( $80 | CH4 ), SFX_Cry24_3_Ch1
dbw CH5, SFX_Cry24_3_Ch2
dbw CH7, SFX_Cry24_3_Ch3
-SFX_Cry25_3:: ; 7c189 (1f:4189)
+SFX_Cry25_3::
dbw ( $80 | CH4 ), SFX_Cry25_3_Ch1
dbw CH5, SFX_Cry25_3_Ch2
dbw CH7, SFX_Cry25_3_Ch3
-SFX_Get_Item1_3:: ; 7c192 (1f:4192)
+SFX_Get_Item1_3::
dbw ( $80 | CH4 ), SFX_Get_Item1_3_Ch1
dbw CH5, SFX_Get_Item1_3_Ch2
dbw CH6, SFX_Get_Item1_3_Ch3
-SFX_Get_Item2_3:: ; 7c19b (1f:419b)
+SFX_Get_Item2_3::
dbw ( $80 | CH4 ), SFX_Get_Item2_3_Ch1
dbw CH5, SFX_Get_Item2_3_Ch2
dbw CH6, SFX_Get_Item2_3_Ch3
-SFX_Tink_3:: ; 7c1a4 (1f:41a4)
+SFX_Tink_3::
dbw CH4, SFX_Tink_3_Ch1
-SFX_Heal_HP_3:: ; 7c1a7 (1f:41a7)
+SFX_Heal_HP_3::
dbw CH4, SFX_Heal_HP_3_Ch1
-SFX_Heal_Ailment_3:: ; 7c1aa (1f:41aa)
+SFX_Heal_Ailment_3::
dbw CH4, SFX_Heal_Ailment_3_Ch1
-SFX_Start_Menu_3:: ; 7c1ad (1f:41ad)
+SFX_Start_Menu_3::
dbw CH7, SFX_Start_Menu_3_Ch1
-SFX_Press_AB_3:: ; 7c1b0 (1f:41b0)
+SFX_Press_AB_3::
dbw CH4, SFX_Press_AB_3_Ch1
-SFX_Pokedex_Rating_3:: ; 7c1b3 (1f:41b3)
+SFX_Pokedex_Rating_3::
dbw ( $80 | CH4 ), SFX_Pokedex_Rating_3_Ch1
dbw CH5, SFX_Pokedex_Rating_3_Ch2
dbw CH6, SFX_Pokedex_Rating_3_Ch3
-SFX_Get_Key_Item_3:: ; 7c1bc (1f:41bc)
+SFX_Get_Key_Item_3::
dbw ( $80 | CH4 ), SFX_Get_Key_Item_3_Ch1
dbw CH5, SFX_Get_Key_Item_3_Ch2
dbw CH6, SFX_Get_Key_Item_3_Ch3
-SFX_Poisoned_3:: ; 7c1c5 (1f:41c5)
+SFX_Poisoned_3::
dbw CH4, SFX_Poisoned_3_Ch1
-SFX_Trade_Machine_3:: ; 7c1c8 (1f:41c8)
+SFX_Trade_Machine_3::
dbw CH4, SFX_Trade_Machine_3_Ch1
-SFX_Turn_On_PC_3:: ; 7c1cb (1f:41cb)
+SFX_Turn_On_PC_3::
dbw CH4, SFX_Turn_On_PC_3_Ch1
-SFX_Turn_Off_PC_3:: ; 7c1ce (1f:41ce)
+SFX_Turn_Off_PC_3::
dbw CH4, SFX_Turn_Off_PC_3_Ch1
-SFX_Enter_PC_3:: ; 7c1d1 (1f:41d1)
+SFX_Enter_PC_3::
dbw CH4, SFX_Enter_PC_3_Ch1
-SFX_Shrink_3:: ; 7c1d4 (1f:41d4)
+SFX_Shrink_3::
dbw CH4, SFX_Shrink_3_Ch1
-SFX_Switch_3:: ; 7c1d7 (1f:41d7)
+SFX_Switch_3::
dbw CH4, SFX_Switch_3_Ch1
-SFX_Healing_Machine_3:: ; 7c1da (1f:41da)
+SFX_Healing_Machine_3::
dbw CH4, SFX_Healing_Machine_3_Ch1
-SFX_Teleport_Exit1_3:: ; 7c1dd (1f:41dd)
+SFX_Teleport_Exit1_3::
dbw CH4, SFX_Teleport_Exit1_3_Ch1
-SFX_Teleport_Enter1_3:: ; 7c1e0 (1f:41e0)
+SFX_Teleport_Enter1_3::
dbw CH4, SFX_Teleport_Enter1_3_Ch1
-SFX_Teleport_Exit2_3:: ; 7c1e3 (1f:41e3)
+SFX_Teleport_Exit2_3::
dbw CH4, SFX_Teleport_Exit2_3_Ch1
-SFX_Ledge_3:: ; 7c1e6 (1f:41e6)
+SFX_Ledge_3::
dbw CH4, SFX_Ledge_3_Ch1
-SFX_Teleport_Enter2_3:: ; 7c1e9 (1f:41e9)
+SFX_Teleport_Enter2_3::
dbw CH7, SFX_Teleport_Enter2_3_Ch1
-SFX_Fly_3:: ; 7c1ec (1f:41ec)
+SFX_Fly_3::
dbw CH7, SFX_Fly_3_Ch1
-SFX_Denied_3:: ; 7c1ef (1f:41ef)
+SFX_Denied_3::
dbw ( $40 | CH4 ), SFX_Denied_3_Ch1
dbw CH5, SFX_Denied_3_Ch2
-SFX_Arrow_Tiles_3:: ; 7c1f5 (1f:41f5)
+SFX_Arrow_Tiles_3::
dbw CH4, SFX_Arrow_Tiles_3_Ch1
-SFX_Push_Boulder_3:: ; 7c1f8 (1f:41f8)
+SFX_Push_Boulder_3::
dbw CH7, SFX_Push_Boulder_3_Ch1
-SFX_SS_Anne_Horn_3:: ; 7c1fb (1f:41fb)
+SFX_SS_Anne_Horn_3::
dbw ( $40 | CH4 ), SFX_SS_Anne_Horn_3_Ch1
dbw CH5, SFX_SS_Anne_Horn_3_Ch2
-SFX_Withdraw_Deposit_3:: ; 7c201 (1f:4201)
+SFX_Withdraw_Deposit_3::
dbw CH4, SFX_Withdraw_Deposit_3_Ch1
-SFX_Cut_3:: ; 7c204 (1f:4204)
+SFX_Cut_3::
dbw CH7, SFX_Cut_3_Ch1
-SFX_Go_Inside_3:: ; 7c207 (1f:4207)
+SFX_Go_Inside_3::
dbw CH7, SFX_Go_Inside_3_Ch1
-SFX_Swap_3:: ; 7c20a (1f:420a)
+SFX_Swap_3::
dbw ( $40 | CH4 ), SFX_Swap_3_Ch1
dbw CH5, SFX_Swap_3_Ch2
-SFX_59_3:: ; 7c210 (1f:4210)
+SFX_59_3::
dbw ( $40 | CH4 ), SFX_59_3_Ch1
dbw CH5, SFX_59_3_Ch2
-SFX_Purchase_3:: ; 7c216 (1f:4216)
+SFX_Purchase_3::
dbw ( $40 | CH4 ), SFX_Purchase_3_Ch1
dbw CH5, SFX_Purchase_3_Ch2
-SFX_Collision_3:: ; 7c21c (1f:421c)
+SFX_Collision_3::
dbw CH4, SFX_Collision_3_Ch1
-SFX_Go_Outside_3:: ; 7c21f (1f:421f)
+SFX_Go_Outside_3::
dbw CH7, SFX_Go_Outside_3_Ch1
-SFX_Save_3:: ; 7c222 (1f:4222)
+SFX_Save_3::
dbw ( $40 | CH4 ), SFX_Save_3_Ch1
dbw CH5, SFX_Save_3_Ch2
-SFX_Intro_Lunge:: ; 7c228 (1f:4228)
+SFX_Intro_Lunge::
dbw CH7, SFX_Intro_Lunge_Ch1
-SFX_Intro_Hip:: ; 7c22b (1f:422b)
+SFX_Intro_Hip::
dbw CH4, SFX_Intro_Hip_Ch1
-SFX_Intro_Hop:: ; 7c22e (1f:422e)
+SFX_Intro_Hop::
dbw CH4, SFX_Intro_Hop_Ch1
-SFX_Intro_Raise:: ; 7c231 (1f:4231)
+SFX_Intro_Raise::
dbw CH7, SFX_Intro_Raise_Ch1
-SFX_Intro_Crash:: ; 7c234 (1f:4234)
+SFX_Intro_Crash::
dbw CH7, SFX_Intro_Crash_Ch1
-SFX_Intro_Whoosh:: ; 7c237 (1f:4237)
+SFX_Intro_Whoosh::
dbw CH7, SFX_Intro_Whoosh_Ch1
-SFX_Slots_Stop_Wheel:: ; 7c23a (1f:423a)
+SFX_Slots_Stop_Wheel::
dbw CH4, SFX_Slots_Stop_Wheel_Ch1
-SFX_Slots_Reward:: ; 7c23d (1f:423d)
+SFX_Slots_Reward::
dbw CH4, SFX_Slots_Reward_Ch1
-SFX_Slots_New_Spin:: ; 7c240 (1f:4240)
+SFX_Slots_New_Spin::
dbw ( $40 | CH4 ), SFX_Slots_New_Spin_Ch1
dbw CH5, SFX_Slots_New_Spin_Ch2
-SFX_Shooting_Star:: ; 7c246 (1f:4246)
+SFX_Shooting_Star::
dbw CH4, SFX_Shooting_Star_Ch1
diff --git a/audio/headers/sfxheaders4.asm b/audio/headers/sfxheaders4.asm
index bb60c5bd..16e69e1f 100644
--- a/audio/headers/sfxheaders4.asm
+++ b/audio/headers/sfxheaders4.asm
@@ -1,294 +1,294 @@
-SFX_Headers_4:: ; 80000 (20:4000)
+SFX_Headers_4::
dbw -1, -1 ; padding
-SFX_Snare1_4:: ; 80003 (20:4003)
+SFX_Snare1_4::
dbw CH7, SFX_Snare1_4_Ch7
-SFX_Snare2_4:: ; 80006 (20:4006)
+SFX_Snare2_4::
dbw CH7, SFX_Snare2_4_Ch7
-SFX_Snare3_4:: ; 80009 (20:4009)
+SFX_Snare3_4::
dbw CH7, SFX_Snare3_4_Ch7
-SFX_Snare4_4:: ; 8000c (20:400c)
+SFX_Snare4_4::
dbw CH7, SFX_Snare4_4_Ch7
-SFX_Snare5_4:: ; 8000f (20:400f)
+SFX_Snare5_4::
dbw CH7, SFX_Snare5_4_Ch7
-SFX_Triangle1_4:: ; 80012 (20:4012)
+SFX_Triangle1_4::
dbw CH7, SFX_Triangle1_4_Ch7
-SFX_Triangle2_4:: ; 80015 (20:4015)
+SFX_Triangle2_4::
dbw CH7, SFX_Triangle2_4_Ch7
-SFX_Snare6_4:: ; 80018 (20:4018)
+SFX_Snare6_4::
dbw CH7, SFX_Snare6_4_Ch7
-SFX_Snare7_4:: ; 8001b (20:401b)
+SFX_Snare7_4::
dbw CH7, SFX_Snare7_4_Ch7
-SFX_Snare8_4:: ; 8001e (20:401e)
+SFX_Snare8_4::
dbw CH7, SFX_Snare8_4_Ch7
-SFX_Snare9_4:: ; 80021 (20:4021)
+SFX_Snare9_4::
dbw CH7, SFX_Snare9_4_Ch7
-SFX_Cymbal1_4:: ; 80024 (20:4024)
+SFX_Cymbal1_4::
dbw CH7, SFX_Cymbal1_4_Ch7
-SFX_Cymbal2_4:: ; 80027 (20:4027)
+SFX_Cymbal2_4::
dbw CH7, SFX_Cymbal2_4_Ch7
-SFX_Cymbal3_4:: ; 8002a (20:402a)
+SFX_Cymbal3_4::
dbw CH7, SFX_Cymbal3_4_Ch7
-SFX_Muted_Snare1_4:: ; 8002d (20:402d)
+SFX_Muted_Snare1_4::
dbw CH7, SFX_Muted_Snare1_4_Ch7
-SFX_Triangle3_4:: ; 80030 (20:4030)
+SFX_Triangle3_4::
dbw CH7, SFX_Triangle3_4_Ch7
-SFX_Muted_Snare2_4:: ; 80033 (20:4033)
+SFX_Muted_Snare2_4::
dbw CH7, SFX_Muted_Snare2_4_Ch7
-SFX_Muted_Snare3_4:: ; 80036 (20:4036)
+SFX_Muted_Snare3_4::
dbw CH7, SFX_Muted_Snare3_4_Ch7
-SFX_Muted_Snare4_4:: ; 80039 (20:4039)
+SFX_Muted_Snare4_4::
dbw CH7, SFX_Muted_Snare4_4_Ch7
-SFX_8003c_4:: ; 8003c (20:403c)
+SFX_8003c_4::
dbw ( $80 | CH4 ), SFX_805db_4_Ch4
dbw CH5, SFX_805ea_4_Ch5
dbw CH7, SFX_805f9_4_Ch7
-SFX_80045_4:: ; 80045 (20:4045)
+SFX_80045_4::
dbw ( $80 | CH4 ), SFX_807eb_4_Ch4
dbw CH5, SFX_807fe_4_Ch5
dbw CH7, SFX_80811_4_Ch7
-SFX_8004e_4:: ; 8004e (20:404e)
+SFX_8004e_4::
dbw ( $80 | CH4 ), SFX_80760_4_Ch4
dbw CH5, SFX_8076f_4_Ch5
dbw CH7, SFX_8077d_4_Ch7
-SFX_80057_4:: ; 80057 (20:4057)
+SFX_80057_4::
dbw ( $80 | CH4 ), SFX_804fa_4_Ch4
dbw CH5, SFX_80519_4_Ch5
dbw CH7, SFX_80538_4_Ch7
-SFX_80060_4:: ; 80060 (20:4060)
+SFX_80060_4::
dbw ( $80 | CH4 ), SFX_808a9_4_Ch4
dbw CH5, SFX_808c8_4_Ch5
dbw CH7, SFX_808e7_4_Ch7
-SFX_80069_4:: ; 80069 (20:4069)
+SFX_80069_4::
dbw ( $80 | CH4 ), SFX_80689_4_Ch4
dbw CH5, SFX_8069c_4_Ch5
dbw CH7, SFX_806ae_4_Ch7
-SFX_80072_4:: ; 80072 (20:4072)
+SFX_80072_4::
dbw ( $80 | CH4 ), SFX_80633_4_Ch4
dbw CH5, SFX_8064d_4_Ch5
dbw CH7, SFX_8064e_4_Ch7
-SFX_8007b_4:: ; 8007b (20:407b)
+SFX_8007b_4::
dbw ( $80 | CH4 ), SFX_80661_4_Ch4
dbw CH5, SFX_80670_4_Ch5
dbw CH7, SFX_8067f_4_Ch7
-SFX_80084_4:: ; 80084 (20:4084)
+SFX_80084_4::
dbw ( $80 | CH4 ), SFX_80879_4_Ch4
dbw CH5, SFX_8088c_4_Ch5
dbw CH7, SFX_8089f_4_Ch7
-SFX_8008d_4:: ; 8008d (20:408d)
+SFX_8008d_4::
dbw ( $80 | CH4 ), SFX_80383_4_Ch4
dbw CH5, SFX_803a0_4_Ch5
dbw CH7, SFX_803c1_4_Ch7
-SFX_80096_4:: ; 80096 (20:4096)
+SFX_80096_4::
dbw ( $80 | CH4 ), SFX_8081e_4_Ch4
dbw CH5, SFX_8083d_4_Ch5
dbw CH7, SFX_80860_4_Ch7
-SFX_8009f_4:: ; 8009f (20:409f)
+SFX_8009f_4::
dbw ( $80 | CH4 ), SFX_806af_4_Ch4
dbw CH5, SFX_806da_4_Ch5
dbw CH7, SFX_806f9_4_Ch7
-SFX_800a8_4:: ; 800a8 (20:40a8)
+SFX_800a8_4::
dbw ( $80 | CH4 ), SFX_80712_4_Ch4
dbw CH5, SFX_80739_4_Ch5
dbw CH7, SFX_8075f_4_Ch7
-SFX_800b1_4:: ; 800b1 (20:40b1)
+SFX_800b1_4::
dbw ( $80 | CH4 ), SFX_8077e_4_Ch4
dbw CH5, SFX_8079d_4_Ch5
dbw CH7, SFX_807cc_4_Ch7
-SFX_800ba_4:: ; 800ba (20:40ba)
+SFX_800ba_4::
dbw ( $80 | CH4 ), SFX_80603_4_Ch4
dbw CH5, SFX_80616_4_Ch5
dbw CH7, SFX_80629_4_Ch7
-SFX_800c3_4:: ; 800c3 (20:40c3)
+SFX_800c3_4::
dbw ( $80 | CH4 ), SFX_80545_4_Ch4
dbw CH5, SFX_80560_4_Ch5
dbw CH7, SFX_8057b_4_Ch7
-SFX_800cc_4:: ; 800cc (20:40cc)
+SFX_800cc_4::
dbw ( $80 | CH4 ), SFX_8058b_4_Ch4
dbw CH5, SFX_805ae_4_Ch5
dbw CH7, SFX_805d1_4_Ch7
-SFX_800d5_4:: ; 800d5 (20:40d5)
+SFX_800d5_4::
dbw ( $80 | CH4 ), SFX_80467_4_Ch4
dbw CH5, SFX_80486_4_Ch5
dbw CH7, SFX_804a9_4_Ch7
-SFX_800de_4:: ; 800de (20:40de)
+SFX_800de_4::
dbw ( $80 | CH4 ), SFX_8097f_4_Ch4
dbw CH5, SFX_80992_4_Ch5
dbw CH7, SFX_809a5_4_Ch7
-SFX_800e7_4:: ; 800e7 (20:40e7)
+SFX_800e7_4::
dbw ( $80 | CH4 ), SFX_809b2_4_Ch4
dbw CH5, SFX_809cd_4_Ch5
dbw CH7, SFX_809e8_4_Ch7
-SFX_800f0_4:: ; 800f0 (20:40f0)
+SFX_800f0_4::
dbw ( $80 | CH4 ), SFX_809fb_4_Ch4
dbw CH5, SFX_80a0a_4_Ch5
dbw CH7, SFX_80a19_4_Ch7
-SFX_800f9_4:: ; 800f9 (20:40f9)
+SFX_800f9_4::
dbw ( $80 | CH4 ), SFX_80a89_4_Ch4
dbw CH5, SFX_80aa4_4_Ch5
dbw CH7, SFX_80abf_4_Ch7
-SFX_80102_4:: ; 80102 (20:4102)
+SFX_80102_4::
dbw ( $80 | CH4 ), SFX_8091c_4_Ch4
dbw CH5, SFX_8092b_4_Ch5
dbw CH7, SFX_8093a_4_Ch7
-SFX_8010b_4:: ; 8010b (20:410b)
+SFX_8010b_4::
dbw ( $80 | CH4 ), SFX_80ad2_4_Ch4
dbw CH5, SFX_80ae5_4_Ch5
dbw CH7, SFX_80af8_4_Ch7
-SFX_80114_4:: ; 80114 (20:4114)
+SFX_80114_4::
dbw ( $80 | CH4 ), SFX_80be2_4_Ch4
dbw CH5, SFX_80c05_4_Ch5
dbw CH7, SFX_80c28_4_Ch7
-SFX_8011d_4:: ; 8011d (20:411d)
+SFX_8011d_4::
dbw ( $80 | CH4 ), SFX_808fa_4_Ch4
dbw CH5, SFX_80909_4_Ch5
dbw CH7, SFX_8091b_4_Ch7
-SFX_80126_4:: ; 80126 (20:4126)
+SFX_80126_4::
dbw ( $80 | CH4 ), SFX_80b53_4_Ch4
dbw CH5, SFX_80b6e_4_Ch5
dbw CH7, SFX_80b89_4_Ch7
-SFX_8012f_4:: ; 8012f (20:412f)
+SFX_8012f_4::
dbw ( $80 | CH4 ), SFX_80944_4_Ch4
dbw CH5, SFX_8095b_4_Ch5
dbw CH7, SFX_80972_4_Ch7
-SFX_80138_4:: ; 80138 (20:4138)
+SFX_80138_4::
dbw ( $80 | CH4 ), SFX_80b05_4_Ch4
dbw CH5, SFX_80b28_4_Ch5
dbw CH7, SFX_80b43_4_Ch7
-SFX_80141_4:: ; 80141 (20:4141)
+SFX_80141_4::
dbw ( $80 | CH4 ), SFX_80b9c_4_Ch4
dbw CH5, SFX_80bb7_4_Ch5
dbw CH7, SFX_80bd2_4_Ch7
-SFX_8014a_4:: ; 8014a (20:414a)
+SFX_8014a_4::
dbw ( $80 | CH4 ), SFX_80a23_4_Ch4
dbw CH5, SFX_80a46_4_Ch5
dbw CH7, SFX_80a6d_4_Ch7
-SFX_80153_4:: ; 80153 (20:4153)
+SFX_80153_4::
dbw ( $80 | CH4 ), SFX_80c3b_4_Ch4
dbw CH5, SFX_80c4e_4_Ch5
dbw CH7, SFX_80c61_4_Ch7
-SFX_8015c_4:: ; 8015c (20:415c)
+SFX_8015c_4::
dbw ( $80 | CH4 ), SFX_80c6e_4_Ch4
dbw CH5, SFX_80c81_4_Ch5
dbw CH7, SFX_80c94_4_Ch7
-SFX_80165_4:: ; 80165 (20:4165)
+SFX_80165_4::
dbw ( $80 | CH4 ), SFX_80ca1_4_Ch4
dbw CH5, SFX_80cc4_4_Ch5
dbw CH7, SFX_80ce6_4_Ch7
-SFX_8016e_4:: ; 8016e (20:416e)
+SFX_8016e_4::
dbw ( $80 | CH4 ), SFX_80ce7_4_Ch4
dbw CH5, SFX_80cfa_4_Ch5
dbw CH7, SFX_80d0d_4_Ch7
-SFX_80177_4:: ; 80177 (20:4177)
+SFX_80177_4::
dbw ( $80 | CH4 ), SFX_803da_4_Ch4
dbw CH5, SFX_803f1_4_Ch5
dbw CH7, SFX_80404_4_Ch7
-SFX_80180_4:: ; 80180 (20:4180)
+SFX_80180_4::
dbw ( $80 | CH4 ), SFX_80411_4_Ch4
dbw CH5, SFX_80434_4_Ch5
dbw CH7, SFX_80457_4_Ch7
-SFX_80189_4:: ; 80189 (20:4189)
+SFX_80189_4::
dbw ( $80 | CH4 ), SFX_804bf_4_Ch4
dbw CH5, SFX_804d6_4_Ch5
dbw CH7, SFX_804ed_4_Ch7
-SFX_Get_Item1_4:: ; 80192 (20:4192)
+SFX_Get_Item1_4::
dbw ( $80 | CH4 ), SFX_80e5a_4_Ch4
dbw CH5, SFX_80e71_4_Ch5
dbw CH6, SFX_80e81_4_Ch6
-SFX_Get_Item2_4:: ; 8019b (20:419b)
+SFX_Get_Item2_4::
dbw ( $80 | CH4 ), SFX_80ec8_4_Ch4
dbw CH5, SFX_80ee7_4_Ch5
dbw CH6, SFX_80eff_4_Ch6
-SFX_Tink_4:: ; 801a4 (20:41a4)
+SFX_Tink_4::
dbw CH4, SFX_8028e_4_Ch4
-SFX_Heal_Ailment_4:: ; 801a7 (20:41a7)
+SFX_Heal_Ailment_4::
dbw CH4, SFX_8027f_4_Ch4
-SFX_Start_Menu_4:: ; 801aa (20:41aa)
+SFX_Start_Menu_4::
dbw CH4, SFX_8026a_4_Ch4
-SFX_PressAB_4:: ; 801ad (20:41ad)
+SFX_PressAB_4::
dbw CH7, SFX_80263_4_Ch7
-SFX_801b0_4:: ; 801b0 (20:41b0)
+SFX_801b0_4::
dbw CH4, SFX_80250_4_Ch4
-SFX_801b3_4:: ; 801b3 (20:41b3)
+SFX_801b3_4::
dbw CH7, SFX_8029f_4_Ch7
-SFX_801b6_4:: ; 801b6 (20:41b6)
+SFX_801b6_4::
dbw CH4, SFX_802b5_4_Ch4
-SFX_801b9_4:: ; 801b9 (20:41b9)
+SFX_801b9_4::
dbw CH7, SFX_802e1_4_Ch7
-SFX_801bc_4:: ; 801bc (20:41bc)
+SFX_801bc_4::
dbw CH4, SFX_802cc_4_Ch4
-SFX_801bf_4:: ; 801bf (20:41bf)
+SFX_801bf_4::
dbw CH7, SFX_802d7_4_Ch7
-SFX_Get_Item2_4_2:: ; 801c2 (20:41c2)
+SFX_Get_Item2_4_2::
dbw ( $80 | CH4 ), SFX_Get_Item2_4_2_Ch1
dbw CH5, SFX_Get_Item2_4_2_Ch2
dbw CH6, SFX_Get_Item2_4_2_Ch3
diff --git a/audio/music/bikeriding.asm b/audio/music/bikeriding.asm
index 6da2f9d6..b5378a94 100644
--- a/audio/music/bikeriding.asm
+++ b/audio/music/bikeriding.asm
@@ -1,4 +1,4 @@
-Music_BikeRiding_Ch1:: ; 7dbbb (1f:5bbb)
+Music_BikeRiding_Ch1::
tempo 144
volume 7, 7
duty 3
@@ -153,7 +153,7 @@ Music_BikeRiding_branch_7dbc9::
loopchannel 0, Music_BikeRiding_branch_7dbc9
-Music_BikeRiding_Ch2:: ; 7dc6c (1f:5c6c)
+Music_BikeRiding_Ch2::
duty 2
vibrato 6, 1, 5
notetype 12, 12, 3
@@ -302,7 +302,7 @@ Music_BikeRiding_branch_7dc75::
loopchannel 0, Music_BikeRiding_branch_7dc75
-Music_BikeRiding_Ch3:: ; 7dd14 (1f:5d14)
+Music_BikeRiding_Ch3::
notetype 12, 1, 3
rest 2
@@ -643,7 +643,7 @@ Music_BikeRiding_branch_7dd17::
loopchannel 0, Music_BikeRiding_branch_7dd17
-Music_BikeRiding_Ch4:: ; 7de68 (1f:5e68)
+Music_BikeRiding_Ch4::
dspeed 12
rest 2
diff --git a/audio/music/celadon.asm b/audio/music/celadon.asm
index 71758fe4..3f015d8d 100644
--- a/audio/music/celadon.asm
+++ b/audio/music/celadon.asm
@@ -1,4 +1,4 @@
-Music_Celadon_Ch1:: ; b6c7 (2:76c7)
+Music_Celadon_Ch1::
tempo 144
volume 7, 7
duty 3
@@ -107,7 +107,7 @@ Music_Celadon_branch_b6d4::
loopchannel 0, Music_Celadon_branch_b6d4
-Music_Celadon_Ch2:: ; b73a (2:773a)
+Music_Celadon_Ch2::
duty 3
notetype 12, 12, 2
octave 4
@@ -226,7 +226,7 @@ Music_Celadon_branch_b74a::
loopchannel 0, Music_Celadon_branch_b74a
-Music_Celadon_Ch3:: ; b7b5 (2:77b5)
+Music_Celadon_Ch3::
notetype 12, 1, 3
rest 8
octave 5
diff --git a/audio/music/cinnabar.asm b/audio/music/cinnabar.asm
index f3a12c5e..4fe93c31 100644
--- a/audio/music/cinnabar.asm
+++ b/audio/music/cinnabar.asm
@@ -1,4 +1,4 @@
-Music_Cinnabar_Ch1:: ; b86d (2:786d)
+Music_Cinnabar_Ch1::
tempo 144
volume 7, 7
duty 3
@@ -85,7 +85,7 @@ Music_Cinnabar_branch_b878::
loopchannel 0, Music_Cinnabar_branch_b878
-Music_Cinnabar_Ch2:: ; b8d4 (2:78d4)
+Music_Cinnabar_Ch2::
duty 3
vibrato 10, 2, 3
@@ -179,7 +179,7 @@ Music_Cinnabar_branch_b8d9::
loopchannel 0, Music_Cinnabar_branch_b8d9
-Music_Cinnabar_Ch3:: ; b93d (2:793d)
+Music_Cinnabar_Ch3::
notetype 12, 1, 0
Music_Cinnabar_branch_b93f::
diff --git a/audio/music/cinnabarmansion.asm b/audio/music/cinnabarmansion.asm
index f461ec56..438c2f18 100644
--- a/audio/music/cinnabarmansion.asm
+++ b/audio/music/cinnabarmansion.asm
@@ -1,4 +1,4 @@
-Music_CinnabarMansion_Ch1:: ; 7ed0f (1f:6d0f)
+Music_CinnabarMansion_Ch1::
tempo 144
volume 7, 7
vibrato 11, 2, 5
@@ -38,7 +38,7 @@ Music_CinnabarMansion_branch_7ed19::
loopchannel 0, Music_CinnabarMansion_branch_7ed19
-Music_CinnabarMansion_Ch2:: ; 7ed40 (1f:6d40)
+Music_CinnabarMansion_Ch2::
duty 2
toggleperfectpitch
vibrato 10, 2, 4
@@ -95,7 +95,7 @@ Music_CinnabarMansion_branch_7ed6c::
endchannel
-Music_CinnabarMansion_Ch3:: ; 7ed7e (1f:6d7e)
+Music_CinnabarMansion_Ch3::
notetype 12, 1, 1
Music_CinnabarMansion_branch_7ed80::
@@ -143,7 +143,7 @@ Music_CinnabarMansion_branch_7ed80::
loopchannel 0, Music_CinnabarMansion_branch_7ed80
-Music_CinnabarMansion_Ch4:: ; 7edb0 (1f:6db0)
+Music_CinnabarMansion_Ch4::
dspeed 6
rest 16
rest 16
diff --git a/audio/music/cities1.asm b/audio/music/cities1.asm
index 4b068045..eb9ccde5 100644
--- a/audio/music/cities1.asm
+++ b/audio/music/cities1.asm
@@ -2,7 +2,7 @@ Music_Cities1_branch_aa6f::
tempo 232
loopchannel 0, Music_Cities1_branch_aa79
-Music_Cities1_Ch1:: ; aa76 (2:6a76)
+Music_Cities1_Ch1::
tempo 144
Music_Cities1_branch_aa79::
@@ -268,7 +268,7 @@ Music_Cities1_branch_ab8a::
endchannel
-Music_Cities1_Ch2:: ; ab92 (2:6b92)
+Music_Cities1_Ch2::
vibrato 5, 1, 5
callchannel Music_Cities1_branch_ac00
octave 4
@@ -401,7 +401,7 @@ Music_Cities1_branch_ac00::
endchannel
-Music_Cities1_Ch3:: ; ac32 (2:6c32)
+Music_Cities1_Ch3::
notetype 12, 1, 1
toggleperfectpitch
@@ -579,7 +579,7 @@ Music_Cities1_branch_acce::
endchannel
-Music_Cities1_Ch4:: ; acef (2:6cef)
+Music_Cities1_Ch4::
dspeed 12
callchannel Music_Cities1_branch_ad36
diff --git a/audio/music/cities2.asm b/audio/music/cities2.asm
index e0e4ab5e..897fb8c9 100644
--- a/audio/music/cities2.asm
+++ b/audio/music/cities2.asm
@@ -1,4 +1,4 @@
-Music_Cities2_Ch1:: ; b504 (2:7504)
+Music_Cities2_Ch1::
tempo 148
volume 7, 7
duty 3
@@ -94,7 +94,7 @@ Music_Cities2_branch_b51a::
loopchannel 0, Music_Cities2_branch_b51a
-Music_Cities2_Ch2:: ; b569 (2:7569)
+Music_Cities2_Ch2::
duty 3
vibrato 8, 2, 3
notetype 12, 12, 2
@@ -280,7 +280,7 @@ Music_Cities2_branch_b58b::
loopchannel 0, Music_Cities2_branch_b58b
-Music_Cities2_Ch3:: ; b640 (2:7640)
+Music_Cities2_Ch3::
notetype 12, 1, 1
rest 16
octave 4
diff --git a/audio/music/credits.asm b/audio/music/credits.asm
index 803e3d02..d9a5ec35 100644
--- a/audio/music/credits.asm
+++ b/audio/music/credits.asm
@@ -1,4 +1,4 @@
-Music_Credits_Ch1:: ; 7fc1f (1f:7c1f)
+Music_Credits_Ch1::
tempo 140
volume 7, 7
duty 3
@@ -284,7 +284,7 @@ Music_Credits_Ch1:: ; 7fc1f (1f:7c1f)
endchannel
-Music_Credits_Ch2:: ; 7fd5f (1f:7d5f)
+Music_Credits_Ch2::
duty 3
vibrato 10, 2, 5
notetype 12, 12, 5
@@ -574,7 +574,7 @@ Music_Credits_Ch2:: ; 7fd5f (1f:7d5f)
endchannel
-Music_Credits_Ch3:: ; 7fec2 (1f:7ec2)
+Music_Credits_Ch3::
notetype 12, 1, 0
octave 5
C# 6
diff --git a/audio/music/defeatedgymleader.asm b/audio/music/defeatedgymleader.asm
index e3e6a3de..7f0d046d 100644
--- a/audio/music/defeatedgymleader.asm
+++ b/audio/music/defeatedgymleader.asm
@@ -1,4 +1,4 @@
-Music_DefeatedGymLeader_Ch1:: ; 23cad (8:7cad)
+Music_DefeatedGymLeader_Ch1::
tempo 112
volume 7, 7
duty 3
@@ -162,7 +162,7 @@ Music_DefeatedGymLeader_branch_23ccc::
loopchannel 0, Music_DefeatedGymLeader_branch_23ccc
-Music_DefeatedGymLeader_Ch2:: ; 23d6d (8:7d6d)
+Music_DefeatedGymLeader_Ch2::
duty 2
vibrato 24, 2, 4
notetype 12, 12, 4
@@ -352,7 +352,7 @@ Music_DefeatedGymLeader_branch_23d84::
loopchannel 0, Music_DefeatedGymLeader_branch_23d84
-Music_DefeatedGymLeader_Ch3:: ; 23e52 (8:7e52)
+Music_DefeatedGymLeader_Ch3::
notetype 12, 1, 0
vibrato 16, 1, 2
octave 4
diff --git a/audio/music/defeatedtrainer.asm b/audio/music/defeatedtrainer.asm
index 015aaaf5..8ad51afa 100644
--- a/audio/music/defeatedtrainer.asm
+++ b/audio/music/defeatedtrainer.asm
@@ -1,4 +1,4 @@
-Music_DefeatedTrainer_Ch1:: ; 23a53 (8:7a53)
+Music_DefeatedTrainer_Ch1::
tempo 224
volume 7, 7
duty 2
@@ -95,7 +95,7 @@ Music_DefeatedTrainer_branch_23a76::
loopchannel 0, Music_DefeatedTrainer_branch_23a76
-Music_DefeatedTrainer_Ch2:: ; 23ac1 (8:7ac1)
+Music_DefeatedTrainer_Ch2::
duty 2
notetype 4, 12, 3
octave 4
@@ -172,7 +172,7 @@ Music_DefeatedTrainer_branch_23ad2::
loopchannel 0, Music_DefeatedTrainer_branch_23ad2
-Music_DefeatedTrainer_Ch3:: ; 23b15 (8:7b15)
+Music_DefeatedTrainer_Ch3::
notetype 4, 1, 0
octave 5
D_ 2
diff --git a/audio/music/defeatedwildmon.asm b/audio/music/defeatedwildmon.asm
index 6b378400..92326a84 100644
--- a/audio/music/defeatedwildmon.asm
+++ b/audio/music/defeatedwildmon.asm
@@ -1,4 +1,4 @@
-Music_DefeatedWildMon_Ch1:: ; 23b74 (8:7b74)
+Music_DefeatedWildMon_Ch1::
tempo 112
volume 7, 7
executemusic
@@ -67,7 +67,7 @@ Music_DefeatedWildMon_branch_23b8b::
loopchannel 0, Music_DefeatedWildMon_branch_23b8b
-Music_DefeatedWildMon_Ch2:: ; 23bc1 (8:7bc1)
+Music_DefeatedWildMon_Ch2::
executemusic
duty 2
notetype 12, 12, 3
@@ -142,7 +142,7 @@ Music_DefeatedWildMon_branch_23bce::
loopchannel 0, Music_DefeatedWildMon_branch_23bce
-Music_DefeatedWildMon_Ch3:: ; 23c0e (8:7c0e)
+Music_DefeatedWildMon_Ch3::
executemusic
notetype 12, 2, 0
octave 5
diff --git a/audio/music/dungeon1.asm b/audio/music/dungeon1.asm
index 27e4deb9..825207b8 100644
--- a/audio/music/dungeon1.asm
+++ b/audio/music/dungeon1.asm
@@ -1,4 +1,4 @@
-Music_Dungeon1_Ch1:: ; 7ded1 (1f:5ed1)
+Music_Dungeon1_Ch1::
tempo 144
volume 7, 7
duty 3
@@ -224,7 +224,7 @@ Music_Dungeon1_branch_7dfd5::
endchannel
-Music_Dungeon1_Ch2:: ; 7dfde (1f:5fde)
+Music_Dungeon1_Ch2::
vibrato 11, 1, 5
duty 3
notetype 12, 0, 15
@@ -439,7 +439,7 @@ Music_Dungeon1_branch_7e0cd::
endchannel
-Music_Dungeon1_Ch3:: ; 7e0dc (1f:60dc)
+Music_Dungeon1_Ch3::
notetype 12, 1, 1
vibrato 8, 2, 6
rest 14
@@ -594,7 +594,7 @@ Music_Dungeon1_branch_7e177::
endchannel
-Music_Dungeon1_Ch4:: ; 7e18a (1f:618a)
+Music_Dungeon1_Ch4::
dspeed 12
rest 14
cymbal1 1
diff --git a/audio/music/dungeon2.asm b/audio/music/dungeon2.asm
index 57e1805c..44e9d5bf 100644
--- a/audio/music/dungeon2.asm
+++ b/audio/music/dungeon2.asm
@@ -1,4 +1,4 @@
-Music_Dungeon2_Ch1:: ; 7e887 (1f:6887)
+Music_Dungeon2_Ch1::
tempo 144
volume 7, 7
duty 3
@@ -70,7 +70,7 @@ Music_Dungeon2_branch_7e892::
loopchannel 0, Music_Dungeon2_branch_7e892
-Music_Dungeon2_Ch2:: ; 7e8d8 (1f:68d8)
+Music_Dungeon2_Ch2::
vibrato 11, 1, 5
Music_Dungeon2_branch_7e8db::
@@ -162,7 +162,7 @@ Music_Dungeon2_branch_7e8db::
loopchannel 0, Music_Dungeon2_branch_7e8db
-Music_Dungeon2_Ch3:: ; 7e93b (1f:693b)
+Music_Dungeon2_Ch3::
notetype 12, 1, 3
vibrato 8, 2, 6
@@ -302,7 +302,7 @@ Music_Dungeon2_branch_7e9d1::
endchannel
-Music_Dungeon2_Ch4:: ; 7e9dc (1f:69dc)
+Music_Dungeon2_Ch4::
dspeed 12
Music_Dungeon2_branch_7e9dd::
diff --git a/audio/music/dungeon3.asm b/audio/music/dungeon3.asm
index 796d1e78..767ca626 100644
--- a/audio/music/dungeon3.asm
+++ b/audio/music/dungeon3.asm
@@ -1,4 +1,4 @@
-Music_Dungeon3_Ch1:: ; 7e9f1 (1f:69f1)
+Music_Dungeon3_Ch1::
tempo 160
volume 7, 7
duty 3
@@ -335,7 +335,7 @@ Music_Dungeon3_branch_7eafc::
endchannel
-Music_Dungeon3_Ch2:: ; 7eb68 (1f:6b68)
+Music_Dungeon3_Ch2::
vibrato 11, 1, 5
duty 3
@@ -607,7 +607,7 @@ Music_Dungeon3_branch_7eb6d::
loopchannel 0, Music_Dungeon3_branch_7eb6d
-Music_Dungeon3_Ch3:: ; 7ec7a (1f:6c7a)
+Music_Dungeon3_Ch3::
notetype 12, 1, 2
rest 16
rest 16
@@ -710,7 +710,7 @@ Music_Dungeon3_Ch3:: ; 7ec7a (1f:6c7a)
loopchannel 0, Music_Dungeon3_Ch3
-Music_Dungeon3_Ch4:: ; 7ece4 (1f:6ce4)
+Music_Dungeon3_Ch4::
dspeed 12
rest 16
rest 16
diff --git a/audio/music/finalbattle.asm b/audio/music/finalbattle.asm
index 7e4eb43b..9a13f00f 100644
--- a/audio/music/finalbattle.asm
+++ b/audio/music/finalbattle.asm
@@ -1,4 +1,4 @@
-Music_FinalBattle_Ch1:: ; 233a6 (8:73a6)
+Music_FinalBattle_Ch1::
tempo 112
volume 7, 7
duty 3
@@ -381,7 +381,7 @@ Music_FinalBattle_branch_23429::
loopchannel 0, Music_FinalBattle_branch_23429
-Music_FinalBattle_Ch2:: ; 2356a (8:756a)
+Music_FinalBattle_Ch2::
duty 3
vibrato 8, 2, 5
notetype 12, 12, 2
@@ -738,7 +738,7 @@ Music_FinalBattle_branch_23710::
endchannel
-Music_FinalBattle_Ch3:: ; 2371c (8:771c)
+Music_FinalBattle_Ch3::
notetype 12, 1, 1
octave 4
E_ 4
diff --git a/audio/music/gamecorner.asm b/audio/music/gamecorner.asm
index 97ed4e77..52b85e08 100644
--- a/audio/music/gamecorner.asm
+++ b/audio/music/gamecorner.asm
@@ -1,4 +1,4 @@
-Music_GameCorner_Ch1:: ; 7e20b (1f:620b)
+Music_GameCorner_Ch1::
tempo 120
volume 7, 7
duty 3
@@ -183,7 +183,7 @@ Music_GameCorner_branch_7e222::
loopchannel 0, Music_GameCorner_branch_7e222
-Music_GameCorner_Ch2:: ; 7e2df (1f:62df)
+Music_GameCorner_Ch2::
duty 2
vibrato 10, 2, 3
notetype 12, 12, 6
@@ -343,7 +343,7 @@ Music_GameCorner_branch_7e2fa::
loopchannel 0, Music_GameCorner_branch_7e2fa
-Music_GameCorner_Ch3:: ; 7e38b (1f:638b)
+Music_GameCorner_Ch3::
notetype 12, 1, 3
octave 5
C# 1
diff --git a/audio/music/gym.asm b/audio/music/gym.asm
index 3ee51100..b314336d 100644
--- a/audio/music/gym.asm
+++ b/audio/music/gym.asm
@@ -1,4 +1,4 @@
-Music_Gym_Ch1:: ; bcbb (2:7cbb)
+Music_Gym_Ch1::
tempo 138
volume 7, 7
duty 3
@@ -165,7 +165,7 @@ Music_Gym_branch_bcd8::
loopchannel 0, Music_Gym_branch_bcd8
-Music_Gym_Ch2:: ; bd6b (2:7d6b)
+Music_Gym_Ch2::
duty 3
vibrato 10, 2, 5
notetype 12, 12, 7
@@ -288,7 +288,7 @@ Music_Gym_branch_bd82::
loopchannel 0, Music_Gym_branch_bd82
-Music_Gym_Ch3:: ; bdfa (2:7dfa)
+Music_Gym_Ch3::
notetype 12, 1, 1
rest 16
rest 10
diff --git a/audio/music/gymleaderbattle.asm b/audio/music/gymleaderbattle.asm
index c4a702e5..1eb2951d 100644
--- a/audio/music/gymleaderbattle.asm
+++ b/audio/music/gymleaderbattle.asm
@@ -1,4 +1,4 @@
-Music_GymLeaderBattle_Ch1:: ; 22370 (8:6370)
+Music_GymLeaderBattle_Ch1::
tempo 104
volume 7, 7
duty 3
@@ -547,7 +547,7 @@ Music_GymLeaderBattle_branch_223b0::
loopchannel 0, Music_GymLeaderBattle_branch_223b0
-Music_GymLeaderBattle_Ch2:: ; 225a1 (8:65a1)
+Music_GymLeaderBattle_Ch2::
duty 3
vibrato 8, 2, 5
notetype 12, 12, 3
@@ -848,7 +848,7 @@ Music_GymLeaderBattle_branch_225e0::
loopchannel 0, Music_GymLeaderBattle_branch_225e0
-Music_GymLeaderBattle_Ch3:: ; 226ef (8:66ef)
+Music_GymLeaderBattle_Ch3::
vibrato 0, 2, 0
notetype 12, 1, 3
rest 12
diff --git a/audio/music/halloffame.asm b/audio/music/halloffame.asm
index 86fff1c8..69f926f6 100644
--- a/audio/music/halloffame.asm
+++ b/audio/music/halloffame.asm
@@ -1,4 +1,4 @@
-Music_HallOfFame_Ch1:: ; 7fbaf (1f:7baf)
+Music_HallOfFame_Ch1::
tempo 112
volume 7, 7
duty 3
@@ -31,7 +31,7 @@ Music_HallOfFame_branch_7fbc5::
loopchannel 0, Music_HallOfFame_branch_7fbc5
-Music_HallOfFame_Ch2:: ; 7fbda (1f:7bda)
+Music_HallOfFame_Ch2::
vibrato 8, 2, 5
duty 3
@@ -63,7 +63,7 @@ Music_HallOfFame_branch_7fbdf::
loopchannel 0, Music_HallOfFame_branch_7fbdf
-Music_HallOfFame_Ch3:: ; 7fbfc (1f:7bfc)
+Music_HallOfFame_Ch3::
notetype 12, 1, 2
Music_HallOfFame_branch_7fbfe::
diff --git a/audio/music/indigoplateau.asm b/audio/music/indigoplateau.asm
index ab4df7a7..61623e39 100644
--- a/audio/music/indigoplateau.asm
+++ b/audio/music/indigoplateau.asm
@@ -1,4 +1,4 @@
-Music_IndigoPlateau_Ch1:: ; a5f0 (2:65f0)
+Music_IndigoPlateau_Ch1::
tempo 132
volume 7, 7
duty 3
@@ -86,7 +86,7 @@ Music_IndigoPlateau_branch_a659::
endchannel
-Music_IndigoPlateau_Ch2:: ; a664 (2:6664)
+Music_IndigoPlateau_Ch2::
duty 3
vibrato 8, 2, 5
notetype 12, 12, 2
@@ -147,7 +147,7 @@ Music_IndigoPlateau_branch_a6af::
endchannel
-Music_IndigoPlateau_Ch3:: ; a6ba (2:66ba)
+Music_IndigoPlateau_Ch3::
notetype 12, 1, 0
octave 4
D_ 2
@@ -225,7 +225,7 @@ Music_IndigoPlateau_branch_a6fe::
endchannel
-Music_IndigoPlateau_Ch4:: ; a70f (2:670f)
+Music_IndigoPlateau_Ch4::
dspeed 6
mutedsnare2 16
mutedsnare2 16
diff --git a/audio/music/introbattle.asm b/audio/music/introbattle.asm
index ff7d85d8..fd4a8e35 100644
--- a/audio/music/introbattle.asm
+++ b/audio/music/introbattle.asm
@@ -1,4 +1,4 @@
-Music_IntroBattle_Ch1:: ; 7f844 (1f:7844)
+Music_IntroBattle_Ch1::
tempo 98
volume 7, 7
duty 3
@@ -90,7 +90,7 @@ Music_IntroBattle_Ch1:: ; 7f844 (1f:7844)
endchannel
-Music_IntroBattle_Ch2:: ; 7f8bc (1f:78bc)
+Music_IntroBattle_Ch2::
duty 3
vibrato 8, 2, 5
notetype 12, 12, 2
@@ -165,7 +165,7 @@ Music_IntroBattle_Ch2:: ; 7f8bc (1f:78bc)
endchannel
-Music_IntroBattle_Ch3:: ; 7f91d (1f:791d)
+Music_IntroBattle_Ch3::
notetype 12, 1, 0
rest 8
octave 4
@@ -229,7 +229,7 @@ Music_IntroBattle_Ch3:: ; 7f91d (1f:791d)
endchannel
-Music_IntroBattle_Ch4:: ; 7f95b (1f:795b)
+Music_IntroBattle_Ch4::
dspeed 6
mutedsnare4 1
mutedsnare4 1
diff --git a/audio/music/jigglypuffsong.asm b/audio/music/jigglypuffsong.asm
index e21d331f..9a01246b 100644
--- a/audio/music/jigglypuffsong.asm
+++ b/audio/music/jigglypuffsong.asm
@@ -1,4 +1,4 @@
-Music_JigglypuffSong_Ch1:: ; 7fb7d (1f:7b7d)
+Music_JigglypuffSong_Ch1::
tempo 144
volume 7, 7
vibrato 8, 2, 4
@@ -21,7 +21,7 @@ Music_JigglypuffSong_Ch1:: ; 7fb7d (1f:7b7d)
endchannel
-Music_JigglypuffSong_Ch2:: ; 7fb9a (1f:7b9a)
+Music_JigglypuffSong_Ch2::
vibrato 5, 1, 5
duty 2
dutycycle 10
diff --git a/audio/music/lavender.asm b/audio/music/lavender.asm
index b655a488..7b60cc24 100644
--- a/audio/music/lavender.asm
+++ b/audio/music/lavender.asm
@@ -1,4 +1,4 @@
-Music_Lavender_Ch1:: ; bb58 (2:7b58)
+Music_Lavender_Ch1::
tempo 152
volume 7, 7
duty 1
@@ -62,7 +62,7 @@ Music_Lavender_branch_bb6b::
loopchannel 0, Music_Lavender_branch_bb6b
-Music_Lavender_Ch2:: ; bb9e (2:7b9e)
+Music_Lavender_Ch2::
vibrato 0, 3, 4
duty 3
notetype 12, 9, 1
@@ -76,7 +76,7 @@ Music_Lavender_branch_bba5::
loopchannel 0, Music_Lavender_branch_bba5
-Music_Lavender_Ch3:: ; bbae (2:7bae)
+Music_Lavender_Ch3::
vibrato 4, 1, 1
notetype 12, 3, 5
rest 16
@@ -186,7 +186,7 @@ Music_Lavender_branch_bbb9::
loopchannel 0, Music_Lavender_branch_bbb9
-Music_Lavender_Ch4:: ; bc21 (2:7c21)
+Music_Lavender_Ch4::
dspeed 12
rest 16
rest 16
diff --git a/audio/music/meeteviltrainer.asm b/audio/music/meeteviltrainer.asm
index 77324e5c..2378a03a 100644
--- a/audio/music/meeteviltrainer.asm
+++ b/audio/music/meeteviltrainer.asm
@@ -1,4 +1,4 @@
-Music_MeetEvilTrainer_Ch1:: ; 7f69d (1f:769d)
+Music_MeetEvilTrainer_Ch1::
tempo 124
volume 7, 7
duty 2
@@ -21,7 +21,7 @@ Music_MeetEvilTrainer_branch_7f6ae::
loopchannel 0, Music_MeetEvilTrainer_branch_7f6ae
-Music_MeetEvilTrainer_Ch2:: ; 7f6ba (1f:76ba)
+Music_MeetEvilTrainer_Ch2::
duty 1
notetype 12, 11, 6
octave 3
@@ -60,7 +60,7 @@ Music_MeetEvilTrainer_branch_7f6c2::
loopchannel 0, Music_MeetEvilTrainer_branch_7f6c2
-Music_MeetEvilTrainer_Ch3:: ; 7f6e6 (1f:76e6)
+Music_MeetEvilTrainer_Ch3::
notetype 12, 1, 0
rest 8
octave 4
diff --git a/audio/music/meetfemaletrainer.asm b/audio/music/meetfemaletrainer.asm
index b416987d..0f24f99e 100644
--- a/audio/music/meetfemaletrainer.asm
+++ b/audio/music/meetfemaletrainer.asm
@@ -1,4 +1,4 @@
-Music_MeetFemaleTrainer_Ch1:: ; 7f6f9 (1f:76f9)
+Music_MeetFemaleTrainer_Ch1::
tempo 124
volume 7, 7
duty 1
@@ -26,7 +26,7 @@ Music_MeetFemaleTrainer_branch_7f70c::
loopchannel 0, Music_MeetFemaleTrainer_branch_7f70c
-Music_MeetFemaleTrainer_Ch2:: ; 7f71c (1f:771c)
+Music_MeetFemaleTrainer_Ch2::
duty 2
notetype 12, 12, 2
octave 3
@@ -71,7 +71,7 @@ Music_MeetFemaleTrainer_branch_7f726::
loopchannel 0, Music_MeetFemaleTrainer_branch_7f726
-Music_MeetFemaleTrainer_Ch3:: ; 7f74b (1f:774b)
+Music_MeetFemaleTrainer_Ch3::
notetype 12, 1, 0
rest 8
octave 5
diff --git a/audio/music/meetjessiejames.asm b/audio/music/meetjessiejames.asm
index 168b1bdc..086fef53 100644
--- a/audio/music/meetjessiejames.asm
+++ b/audio/music/meetjessiejames.asm
@@ -1,4 +1,4 @@
-Music_MeetJessieJames_Ch1:: ; 8316d (20:716d)
+Music_MeetJessieJames_Ch1::
tempo 144
volume 7, 7
duty 3
@@ -77,7 +77,7 @@ Music_MeetJessieJames_branch_83187::
loopchannel 0, Music_MeetJessieJames_branch_83187
-Music_MeetJessieJames_Ch2:: ; 831c8 (20:71c8)
+Music_MeetJessieJames_Ch2::
duty 3
vibrato 6, 1, 5
notetype 12, 12, 2
@@ -164,7 +164,7 @@ Music_MeetJessieJames_branch_831df::
loopchannel 0, Music_MeetJessieJames_branch_831df
-Music_MeetJessieJames_Ch3:: ; 8322a (20:722a)
+Music_MeetJessieJames_Ch3::
notetype 12, 1, 0
rest 16
rest 8
diff --git a/audio/music/meetmaletrainer.asm b/audio/music/meetmaletrainer.asm
index 0a2e8396..92047849 100644
--- a/audio/music/meetmaletrainer.asm
+++ b/audio/music/meetmaletrainer.asm
@@ -1,4 +1,4 @@
-Music_MeetMaleTrainer_Ch1:: ; 7f77b (1f:777b)
+Music_MeetMaleTrainer_Ch1::
tempo 112
volume 7, 7
duty 3
@@ -32,7 +32,7 @@ Music_MeetMaleTrainer_branch_7f78f::
loopchannel 0, Music_MeetMaleTrainer_branch_7f78f
-Music_MeetMaleTrainer_Ch2:: ; 7f7a2 (1f:77a2)
+Music_MeetMaleTrainer_Ch2::
duty 3
vibrato 24, 2, 2
notetype 12, 12, 4
@@ -75,7 +75,7 @@ Music_MeetMaleTrainer_branch_7f7b5::
loopchannel 0, Music_MeetMaleTrainer_branch_7f7b5
-Music_MeetMaleTrainer_Ch3:: ; 7f7d2 (1f:77d2)
+Music_MeetMaleTrainer_Ch3::
notetype 12, 1, 0
rest 6
octave 4
diff --git a/audio/music/meetprofoak.asm b/audio/music/meetprofoak.asm
index a2f0abca..6532a187 100644
--- a/audio/music/meetprofoak.asm
+++ b/audio/music/meetprofoak.asm
@@ -1,4 +1,4 @@
-Music_MeetProfOak_Ch1:: ; af59 (2:6f59)
+Music_MeetProfOak_Ch1::
tempo 112
volume 7, 7
duty 3
@@ -74,7 +74,7 @@ Music_MeetProfOak_branch_af85::
loopchannel 0, Music_MeetProfOak_branch_af85
-Music_MeetProfOak_Ch2:: ; afa9 (2:6fa9)
+Music_MeetProfOak_Ch2::
vibrato 8, 1, 1
duty 2
notetype 12, 12, 4
@@ -208,7 +208,7 @@ Music_MeetProfOak_branch_b005::
loopchannel 0, Music_MeetProfOak_branch_b005
-Music_MeetProfOak_Ch3:: ; b03d (2:703d)
+Music_MeetProfOak_Ch3::
notetype 12, 1, 2
rest 10
octave 4
diff --git a/audio/music/meetrival.asm b/audio/music/meetrival.asm
index 1588e1c7..153523af 100644
--- a/audio/music/meetrival.asm
+++ b/audio/music/meetrival.asm
@@ -2,7 +2,7 @@ Music_MeetRival_branch_b119::
tempo 100
loopchannel 0, Music_MeetRival_branch_b123
-Music_MeetRival_Ch1:: ; b120 (2:7120)
+Music_MeetRival_Ch1::
tempo 112
Music_MeetRival_branch_b123::
@@ -143,7 +143,7 @@ Music_MeetRival_branch_b1a5::
loopchannel 0, Music_MeetRival_branch_b140
-Music_MeetRival_Ch2:: ; b1bb (2:71bb)
+Music_MeetRival_Ch2::
duty 3
vibrato 10, 2, 6
notetype 12, 12, 7
@@ -248,7 +248,7 @@ Music_MeetRival_branch_b21d::
loopchannel 0, Music_MeetRival_branch_b1d8
-Music_MeetRival_Ch3:: ; b233 (2:7233)
+Music_MeetRival_Ch3::
notetype 12, 1, 4
octave 5
D_ 2
diff --git a/audio/music/museumguy.asm b/audio/music/museumguy.asm
index 2e2b79bf..cb08fcf4 100644
--- a/audio/music/museumguy.asm
+++ b/audio/music/museumguy.asm
@@ -1,4 +1,4 @@
-Music_MuseumGuy_Ch1:: ; adae (2:6dae)
+Music_MuseumGuy_Ch1::
tempo 128
volume 7, 7
duty 2
@@ -54,7 +54,7 @@ Music_MuseumGuy_branch_adec::
endchannel
-Music_MuseumGuy_Ch2:: ; adf1 (2:6df1)
+Music_MuseumGuy_Ch2::
duty 2
notetype 12, 12, 1
octave 4
@@ -165,7 +165,7 @@ Music_MuseumGuy_branch_ae26::
loopchannel 0, Music_MuseumGuy_branch_ae26
-Music_MuseumGuy_Ch3:: ; ae6e (2:6e6e)
+Music_MuseumGuy_Ch3::
notetype 12, 1, 0
rest 16
octave 4
@@ -261,7 +261,7 @@ Music_MuseumGuy_branch_aec1::
endchannel
-Music_MuseumGuy_Ch4:: ; aed1 (2:6ed1)
+Music_MuseumGuy_Ch4::
dspeed 12
rest 16
rest 16
diff --git a/audio/music/oakslab.asm b/audio/music/oakslab.asm
index 018a3e92..7214264c 100644
--- a/audio/music/oakslab.asm
+++ b/audio/music/oakslab.asm
@@ -1,4 +1,4 @@
-Music_OaksLab_Ch1:: ; 7eeb9 (1f:6eb9)
+Music_OaksLab_Ch1::
tempo 140
volume 7, 7
duty 3
@@ -69,7 +69,7 @@ Music_OaksLab_branch_7eed0::
loopchannel 0, Music_OaksLab_branch_7eed0
-Music_OaksLab_Ch2:: ; 7ef05 (1f:6f05)
+Music_OaksLab_Ch2::
duty 3
vibrato 10, 2, 5
notetype 12, 12, 4
@@ -144,7 +144,7 @@ Music_OaksLab_branch_7ef16::
loopchannel 0, Music_OaksLab_branch_7ef16
-Music_OaksLab_Ch3:: ; 7ef52 (1f:6f52)
+Music_OaksLab_Ch3::
notetype 12, 1, 1
rest 2
octave 4
diff --git a/audio/music/pallettown.asm b/audio/music/pallettown.asm
index 9d64b331..0c8b7dbc 100644
--- a/audio/music/pallettown.asm
+++ b/audio/music/pallettown.asm
@@ -1,4 +1,4 @@
-Music_PalletTown_Ch1:: ; a7c5 (2:67c5)
+Music_PalletTown_Ch1::
tempo 160
volume 7, 7
duty 2
@@ -148,7 +148,7 @@ Music_PalletTown_branch_a7ce::
endchannel
-Music_PalletTown_Ch2:: ; a85f (2:685f)
+Music_PalletTown_Ch2::
duty 2
Music_PalletTown_branch_a861::
@@ -262,7 +262,7 @@ Music_PalletTown_branch_a861::
endchannel
-Music_PalletTown_Ch3:: ; a8de (2:68de)
+Music_PalletTown_Ch3::
vibrato 24, 2, 8
notetype 12, 1, 2
diff --git a/audio/music/pkmnhealed.asm b/audio/music/pkmnhealed.asm
index c802f217..2b7b545b 100644
--- a/audio/music/pkmnhealed.asm
+++ b/audio/music/pkmnhealed.asm
@@ -1,4 +1,4 @@
-Music_PkmnHealed_Ch1:: ; 9ba3 (2:5ba3)
+Music_PkmnHealed_Ch1::
tempo 144
volume 7, 7
duty 2
@@ -19,7 +19,7 @@ Music_PkmnHealed_Ch1:: ; 9ba3 (2:5ba3)
endchannel
-Music_PkmnHealed_Ch2:: ; 9bc4 (2:5bc4)
+Music_PkmnHealed_Ch2::
duty 2
notetype 12, 12, 3
octave 4
@@ -33,7 +33,7 @@ Music_PkmnHealed_Ch2:: ; 9bc4 (2:5bc4)
endchannel
-Music_PkmnHealed_Ch3:: ; 9bd2 (2:5bd2)
+Music_PkmnHealed_Ch3::
notetype 12, 1, 0
octave 4
E_ 2
diff --git a/audio/music/pokecenter.asm b/audio/music/pokecenter.asm
index d0c9ef2c..5de546ad 100644
--- a/audio/music/pokecenter.asm
+++ b/audio/music/pokecenter.asm
@@ -1,4 +1,4 @@
-Music_Pokecenter_Ch1:: ; be56 (2:7e56)
+Music_Pokecenter_Ch1::
tempo 144
volume 7, 7
duty 3
@@ -149,7 +149,7 @@ Music_Pokecenter_branch_be61::
loopchannel 0, Music_Pokecenter_branch_be61
-Music_Pokecenter_Ch2:: ; bef9 (2:7ef9)
+Music_Pokecenter_Ch2::
vibrato 8, 2, 5
Music_Pokecenter_branch_befc::
@@ -248,7 +248,7 @@ Music_Pokecenter_branch_bf60::
endchannel
-Music_Pokecenter_Ch3:: ; bf70 (2:7f70)
+Music_Pokecenter_Ch3::
notetype 12, 1, 0
Music_Pokecenter_branch_bf72::
diff --git a/audio/music/pokemontower.asm b/audio/music/pokemontower.asm
index 9bb7826e..afae9a75 100644
--- a/audio/music/pokemontower.asm
+++ b/audio/music/pokemontower.asm
@@ -1,4 +1,4 @@
-Music_PokemonTower_Ch1:: ; 7f04a (1f:704a)
+Music_PokemonTower_Ch1::
tempo 152
volume 7, 7
duty 3
@@ -140,7 +140,7 @@ Music_PokemonTower_branch_7f05a::
loopchannel 0, Music_PokemonTower_branch_7f05a
-Music_PokemonTower_Ch2:: ; 7f0e3 (1f:70e3)
+Music_PokemonTower_Ch2::
vibrato 20, 3, 4
duty 3
notetype 12, 10, 0
@@ -292,7 +292,7 @@ Music_PokemonTower_branch_7f0ee::
loopchannel 0, Music_PokemonTower_branch_7f0ee
-Music_PokemonTower_Ch3:: ; 7f19a (1f:719a)
+Music_PokemonTower_Ch3::
vibrato 4, 1, 1
notetype 12, 1, 3
rest 8
diff --git a/audio/music/routes1.asm b/audio/music/routes1.asm
index 81f138eb..bab18261 100644
--- a/audio/music/routes1.asm
+++ b/audio/music/routes1.asm
@@ -1,4 +1,4 @@
-Music_Routes1_Ch1:: ; 9bde (2:5bde)
+Music_Routes1_Ch1::
tempo 152
volume 7, 7
vibrato 4, 2, 3
@@ -106,7 +106,7 @@ Music_Routes1_branch_9be9::
endchannel
-Music_Routes1_Ch2:: ; 9c51 (2:5c51)
+Music_Routes1_Ch2::
duty 2
Music_Routes1_branch_9c53::
@@ -234,7 +234,7 @@ Music_Routes1_branch_9c8d::
endchannel
-Music_Routes1_Ch3:: ; 9cd8 (2:5cd8)
+Music_Routes1_Ch3::
vibrato 8, 2, 5
notetype 12, 1, 3
@@ -309,7 +309,7 @@ Music_Routes1_branch_9cdd::
endchannel
-Music_Routes1_Ch4:: ; 9d24 (2:5d24)
+Music_Routes1_Ch4::
dspeed 12
rest 4
mutedsnare1 2
diff --git a/audio/music/routes2.asm b/audio/music/routes2.asm
index 3926c8de..42b4deda 100644
--- a/audio/music/routes2.asm
+++ b/audio/music/routes2.asm
@@ -1,4 +1,4 @@
-Music_Routes2_Ch1:: ; 9db9 (2:5db9)
+Music_Routes2_Ch1::
tempo 152
volume 7, 7
vibrato 9, 2, 5
@@ -142,7 +142,7 @@ Music_Routes2_branch_9dc3::
endchannel
-Music_Routes2_Ch2:: ; 9e4f (2:5e4f)
+Music_Routes2_Ch2::
vibrato 8, 2, 6
duty 3
@@ -216,7 +216,7 @@ Music_Routes2_branch_9e54::
endchannel
-Music_Routes2_Ch3:: ; 9e9b (2:5e9b)
+Music_Routes2_Ch3::
vibrato 9, 2, 8
Music_Routes2_branch_9e9e::
@@ -324,7 +324,7 @@ Music_Routes2_branch_9e9e::
endchannel
-Music_Routes2_Ch4:: ; 9f08 (2:5f08)
+Music_Routes2_Ch4::
dspeed 12
snare3 2
rest 2
diff --git a/audio/music/routes3.asm b/audio/music/routes3.asm
index 09a0516f..d0d1672e 100644
--- a/audio/music/routes3.asm
+++ b/audio/music/routes3.asm
@@ -1,4 +1,4 @@
-Music_Routes3_Ch1:: ; 9fad (2:5fad)
+Music_Routes3_Ch1::
tempo 148
volume 7, 7
duty 3
@@ -77,7 +77,7 @@ Music_Routes3_branch_9fc3::
loopchannel 0, Music_Routes3_branch_9fc3
-Music_Routes3_Ch2:: ; a009 (2:6009)
+Music_Routes3_Ch2::
vibrato 8, 2, 3
duty 2
notetype 12, 12, 7
@@ -178,7 +178,7 @@ Music_Routes3_branch_a01a::
loopchannel 0, Music_Routes3_branch_a01a
-Music_Routes3_Ch3:: ; a07f (2:607f)
+Music_Routes3_Ch3::
vibrato 4, 1, 0
notetype 6, 1, 2
octave 4
@@ -354,7 +354,7 @@ Music_Routes3_branch_a0a3::
loopchannel 0, Music_Routes3_branch_a0a3
-Music_Routes3_Ch4:: ; a131 (2:6131)
+Music_Routes3_Ch4::
dspeed 6
mutedsnare4 1
mutedsnare4 1
diff --git a/audio/music/routes4.asm b/audio/music/routes4.asm
index d67411f7..9bbf44ea 100644
--- a/audio/music/routes4.asm
+++ b/audio/music/routes4.asm
@@ -1,4 +1,4 @@
-Music_Routes4_Ch1:: ; a26a (2:626a)
+Music_Routes4_Ch1::
tempo 148
volume 7, 7
duty 3
@@ -138,7 +138,7 @@ Music_Routes4_branch_a28a::
loopchannel 0, Music_Routes4_branch_a28a
-Music_Routes4_Ch2:: ; a304 (2:6304)
+Music_Routes4_Ch2::
vibrato 12, 2, 4
duty 1
notetype 12, 9, 2
@@ -288,7 +288,7 @@ Music_Routes4_branch_a325::
loopchannel 0, Music_Routes4_branch_a325
-Music_Routes4_Ch3:: ; a3c4 (2:63c4)
+Music_Routes4_Ch3::
notetype 12, 1, 0
octave 4
E_ 1
@@ -506,7 +506,7 @@ Music_Routes4_branch_a3d7::
loopchannel 0, Music_Routes4_branch_a3d7
-Music_Routes4_Ch4:: ; a49d (2:649d)
+Music_Routes4_Ch4::
dspeed 12
rest 16
rest 12
diff --git a/audio/music/safarizone.asm b/audio/music/safarizone.asm
index afa81f17..45d84fd0 100644
--- a/audio/music/safarizone.asm
+++ b/audio/music/safarizone.asm
@@ -1,4 +1,4 @@
-Music_SafariZone_Ch1:: ; bc2e (2:7c2e)
+Music_SafariZone_Ch1::
tempo 132
volume 7, 7
vibrato 6, 3, 4
@@ -39,7 +39,7 @@ Music_SafariZone_branch_bc5f::
endchannel
-Music_SafariZone_Ch2:: ; bc6a (2:7c6a)
+Music_SafariZone_Ch2::
duty 2
vibrato 8, 2, 5
notetype 12, 10, 2
@@ -73,7 +73,7 @@ Music_SafariZone_branch_bc89::
endchannel
-Music_SafariZone_Ch3:: ; bc94 (2:7c94)
+Music_SafariZone_Ch3::
notetype 12, 1, 0
rest 8
diff --git a/audio/music/silphco.asm b/audio/music/silphco.asm
index 853d248d..2b6d8134 100644
--- a/audio/music/silphco.asm
+++ b/audio/music/silphco.asm
@@ -1,4 +1,4 @@
-Music_SilphCo_Ch1:: ; 7f243 (1f:7243)
+Music_SilphCo_Ch1::
tempo 160
volume 7, 7
duty 3
@@ -395,7 +395,7 @@ Music_SilphCo_branch_7f3f0::
endchannel
-Music_SilphCo_Ch2:: ; 7f409 (1f:7409)
+Music_SilphCo_Ch2::
vibrato 10, 3, 2
duty 3
notetype 6, 12, 3
@@ -780,7 +780,7 @@ Music_SilphCo_branch_7f42e::
loopchannel 0, Music_SilphCo_branch_7f42e
-Music_SilphCo_Ch3:: ; 7f5be (1f:75be)
+Music_SilphCo_Ch3::
vibrato 8, 1, 1
notetype 12, 1, 1
rest 12
diff --git a/audio/music/ssanne.asm b/audio/music/ssanne.asm
index 62fd1a02..ea6b1a0f 100644
--- a/audio/music/ssanne.asm
+++ b/audio/music/ssanne.asm
@@ -1,4 +1,4 @@
-Music_SSAnne_Ch1:: ; b3a7 (2:73a7)
+Music_SSAnne_Ch1::
tempo 128
volume 7, 7
duty 1
@@ -107,7 +107,7 @@ Music_SSAnne_branch_b3b2::
loopchannel 0, Music_SSAnne_branch_b3b2
-Music_SSAnne_Ch2:: ; b419 (2:7419)
+Music_SSAnne_Ch2::
duty 0
vibrato 12, 2, 4
@@ -282,7 +282,7 @@ Music_SSAnne_branch_b41e::
loopchannel 0, Music_SSAnne_branch_b41e
-Music_SSAnne_Ch3:: ; b4cb (2:74cb)
+Music_SSAnne_Ch3::
notetype 12, 1, 3
rest 16
rest 12
diff --git a/audio/music/surfing.asm b/audio/music/surfing.asm
index 4ee84233..03ebfed0 100644
--- a/audio/music/surfing.asm
+++ b/audio/music/surfing.asm
@@ -1,4 +1,4 @@
-Music_Surfing_Ch1:: ; 7fa19 (1f:7a19)
+Music_Surfing_Ch1::
tempo 160
volume 7, 7
duty 3
@@ -116,7 +116,7 @@ Music_Surfing_branch_7fa30::
loopchannel 0, Music_Surfing_branch_7fa30
-Music_Surfing_Ch2:: ; 7fa9c (1f:7a9c)
+Music_Surfing_Ch2::
duty 3
vibrato 16, 2, 5
notetype 12, 12, 6
@@ -203,7 +203,7 @@ Music_Surfing_branch_7faae::
loopchannel 0, Music_Surfing_branch_7faae
-Music_Surfing_Ch3:: ; 7fafa (1f:7afa)
+Music_Surfing_Ch3::
notetype 12, 1, 0
rest 12
octave 5
diff --git a/audio/music/surfingpikachu.asm b/audio/music/surfingpikachu.asm
index 466a2c53..1ee3f760 100644
--- a/audio/music/surfingpikachu.asm
+++ b/audio/music/surfingpikachu.asm
@@ -1,4 +1,4 @@
-Music_SurfingPikachu_Ch1:: ; 82ce8 (20:6ce8)
+Music_SurfingPikachu_Ch1::
tempo 117
volume 7, 7
duty 3
@@ -162,7 +162,7 @@ Music_SurfingPikachu_branch_82d1a::
loopchannel 0, Music_SurfingPikachu_branch_82d1a
-Music_SurfingPikachu_Ch2:: ; 82d9d (20:6d9d)
+Music_SurfingPikachu_Ch2::
duty 3
vibrato 6, 1, 5
notetype 12, 12, 4
@@ -312,7 +312,7 @@ Music_SurfingPikachu_branch_82de0::
loopchannel 0, Music_SurfingPikachu_branch_82de0
-Music_SurfingPikachu_Ch3:: ; 82e45 (20:6e45)
+Music_SurfingPikachu_Ch3::
notetype 12, 1, 0
octave 4
B_ 6
diff --git a/audio/music/titlescreen.asm b/audio/music/titlescreen.asm
index edd3352f..b28474eb 100644
--- a/audio/music/titlescreen.asm
+++ b/audio/music/titlescreen.asm
@@ -1,4 +1,4 @@
-Music_TitleScreen_Ch1:: ; 7e4c0 (1f:64c0)
+Music_TitleScreen_Ch1::
tempo 144
volume 7, 7
vibrato 9, 3, 4
@@ -154,7 +154,7 @@ Music_TitleScreen_branch_7e55c::
endchannel
-Music_TitleScreen_Ch2:: ; 7e578 (1f:6578)
+Music_TitleScreen_Ch2::
vibrato 16, 4, 6
duty 1
notetype 12, 14, 1
@@ -321,7 +321,7 @@ Music_TitleScreen_branch_7e636::
endchannel
-Music_TitleScreen_Ch3:: ; 7e643 (1f:6643)
+Music_TitleScreen_Ch3::
notetype 12, 1, 0
octave 3
G_ 1
@@ -459,7 +459,7 @@ Music_TitleScreen_branch_7e6e5::
endchannel
-Music_TitleScreen_Ch4:: ; 7e6eb (1f:66eb)
+Music_TitleScreen_Ch4::
dspeed 6
rest 4
snare3 1
diff --git a/audio/music/trainerbattle.asm b/audio/music/trainerbattle.asm
index ffc17e20..395f05de 100644
--- a/audio/music/trainerbattle.asm
+++ b/audio/music/trainerbattle.asm
@@ -1,4 +1,4 @@
-Music_TrainerBattle_Ch1:: ; 22919 (8:6919)
+Music_TrainerBattle_Ch1::
tempo 112
volume 7, 7
duty 3
@@ -649,7 +649,7 @@ Music_TrainerBattle_branch_22962::
loopchannel 0, Music_TrainerBattle_branch_22962
-Music_TrainerBattle_Ch2:: ; 22bae (8:6bae)
+Music_TrainerBattle_Ch2::
duty 3
vibrato 10, 2, 5
notetype 12, 12, 2
@@ -953,7 +953,7 @@ Music_TrainerBattle_branch_22bfc::
loopchannel 0, Music_TrainerBattle_branch_22bfc
-Music_TrainerBattle_Ch3:: ; 22d10 (8:6d10)
+Music_TrainerBattle_Ch3::
vibrato 0, 2, 0
notetype 12, 1, 4
octave 3
diff --git a/audio/music/unusedsong.asm b/audio/music/unusedsong.asm
index c2c87891..10ca4beb 100644
--- a/audio/music/unusedsong.asm
+++ b/audio/music/unusedsong.asm
@@ -1,4 +1,4 @@
-Music_UnusedSong_Ch1:: ; a913 (2:6913)
+Music_UnusedSong_Ch1::
tempo 144
volume 7, 7
vibrato 5, 1, 6
@@ -182,7 +182,7 @@ Music_UnusedSong_branch_a91b::
endchannel
-Music_UnusedSong_Ch2:: ; a9cf (2:69cf)
+Music_UnusedSong_Ch2::
tempo 144
volume 7, 7
toggleperfectpitch
diff --git a/audio/music/vermilion.asm b/audio/music/vermilion.asm
index 59ea3e08..94f87b25 100644
--- a/audio/music/vermilion.asm
+++ b/audio/music/vermilion.asm
@@ -1,4 +1,4 @@
-Music_Vermilion_Ch1:: ; b9eb (2:79eb)
+Music_Vermilion_Ch1::
tempo 156
volume 7, 7
duty 3
@@ -111,7 +111,7 @@ Music_Vermilion_branch_b9f6::
loopchannel 0, Music_Vermilion_branch_b9f6
-Music_Vermilion_Ch2:: ; ba61 (2:7a61)
+Music_Vermilion_Ch2::
duty 3
vibrato 10, 2, 3
@@ -178,7 +178,7 @@ Music_Vermilion_branch_ba66::
loopchannel 0, Music_Vermilion_branch_ba66
-Music_Vermilion_Ch3:: ; baa6 (2:7aa6)
+Music_Vermilion_Ch3::
notetype 12, 1, 0
Music_Vermilion_branch_baa8::
@@ -282,7 +282,7 @@ Music_Vermilion_branch_baa8::
loopchannel 0, Music_Vermilion_branch_baa8
-Music_Vermilion_Ch4:: ; bb0d (2:7b0d)
+Music_Vermilion_Ch4::
dspeed 12
Music_Vermilion_branch_bb0e::
diff --git a/audio/music/wildbattle.asm b/audio/music/wildbattle.asm
index e37e4b06..3a88678f 100644
--- a/audio/music/wildbattle.asm
+++ b/audio/music/wildbattle.asm
@@ -1,4 +1,4 @@
-Music_WildBattle_Ch1:: ; 23099 (8:7099)
+Music_WildBattle_Ch1::
tempo 104
volume 7, 7
duty 3
@@ -300,7 +300,7 @@ Music_WildBattle_branch_230e0::
loopchannel 0, Music_WildBattle_branch_230e0
-Music_WildBattle_Ch2:: ; 231d8 (8:71d8)
+Music_WildBattle_Ch2::
duty 3
vibrato 8, 2, 5
notetype 12, 12, 3
@@ -462,7 +462,7 @@ Music_WildBattle_branch_23225::
loopchannel 0, Music_WildBattle_branch_23225
-Music_WildBattle_Ch3:: ; 23290 (8:7290)
+Music_WildBattle_Ch3::
vibrato 0, 2, 0
notetype 12, 1, 1
octave 4
diff --git a/audio/music/yellowintro.asm b/audio/music/yellowintro.asm
index 9b0b52ab..c809d10f 100644
--- a/audio/music/yellowintro.asm
+++ b/audio/music/yellowintro.asm
@@ -1,4 +1,4 @@
-Music_YellowIntro_Ch1:: ; 7f65c (1f:765c)
+Music_YellowIntro_Ch1::
tempo 116
volume 7, 7
duty 3
@@ -100,7 +100,7 @@ Music_YellowIntro_Ch1:: ; 7f65c (1f:765c)
endchannel
-Music_YellowIntro_Ch2:: ; 7f6d3 (1f:76d3)
+Music_YellowIntro_Ch2::
duty 2
vibrato 6, 1, 5
notetype 12, 12, 2
@@ -203,7 +203,7 @@ Music_YellowIntro_Ch2:: ; 7f6d3 (1f:76d3)
endchannel
-Music_YellowIntro_Ch3:: ; 7f749 (1f:7749)
+Music_YellowIntro_Ch3::
notetype 12, 1, 0
octave 4
E_ 1
diff --git a/audio/music/yellowunusedsong.asm b/audio/music/yellowunusedsong.asm
index 86e55ee8..f65ca164 100644
--- a/audio/music/yellowunusedsong.asm
+++ b/audio/music/yellowunusedsong.asm
@@ -1,4 +1,4 @@
-Music_YellowUnusedSong_Ch1:: ; 82fbe (20:6fbe)
+Music_YellowUnusedSong_Ch1::
tempo 140
volume 7, 7
duty 3
@@ -75,7 +75,7 @@ Music_YellowUnusedSong_branch_82fde::
loopchannel 0, Music_YellowUnusedSong_branch_82fde
-Music_YellowUnusedSong_Ch2:: ; 83010 (20:7010)
+Music_YellowUnusedSong_Ch2::
duty 2
notetype 8, 12, 2
octave 4
@@ -161,7 +161,7 @@ Music_YellowUnusedSong_branch_8302a::
loopchannel 0, Music_YellowUnusedSong_branch_8302a
-Music_YellowUnusedSong_Ch3:: ; 83068 (20:7068)
+Music_YellowUnusedSong_Ch3::
notetype 12, 1, 0
vibrato 2, 1, 5
rest 16
@@ -202,7 +202,7 @@ Music_YellowUnusedSong_branch_83075::
loopchannel 0, Music_YellowUnusedSong_branch_83075
-Music_YellowUnusedSong_Ch4:: ; 83092 (20:7092)
+Music_YellowUnusedSong_Ch4::
dspeed 12
snare3 4
dspeed 8
diff --git a/audio/sfx/59_1.asm b/audio/sfx/59_1.asm
index 6cbfdb16..c14be83e 100644
--- a/audio/sfx/59_1.asm
+++ b/audio/sfx/59_1.asm
@@ -1,10 +1,10 @@
-SFX_59_1_Ch1: ; 841b (2:441b)
+SFX_59_1_Ch1:
duty 2
unknownsfx0x20 4, 241, 128, 7
endchannel
-SFX_59_1_Ch2: ; 8422 (2:4422)
+SFX_59_1_Ch2:
duty 2
unknownsfx0x20 1, 8, 0, 0
unknownsfx0x20 4, 161, 97, 7
diff --git a/audio/sfx/59_3.asm b/audio/sfx/59_3.asm
index 9c808359..3b817f2f 100644
--- a/audio/sfx/59_3.asm
+++ b/audio/sfx/59_3.asm
@@ -1,10 +1,10 @@
-SFX_59_3_Ch1: ; 7c404 (1f:4404)
+SFX_59_3_Ch1:
duty 2
unknownsfx0x20 4, 241, 128, 7
endchannel
-SFX_59_3_Ch2: ; 7c40b (1f:440b)
+SFX_59_3_Ch2:
duty 2
unknownsfx0x20 1, 8, 0, 0
unknownsfx0x20 4, 161, 97, 7
diff --git a/audio/sfx/arrow_tiles_1.asm b/audio/sfx/arrow_tiles_1.asm
index 172907a8..6c3959c9 100644
--- a/audio/sfx/arrow_tiles_1.asm
+++ b/audio/sfx/arrow_tiles_1.asm
@@ -1,4 +1,4 @@
-SFX_Arrow_Tiles_1_Ch1: ; 8649 (2:4649)
+SFX_Arrow_Tiles_1_Ch1:
duty 0
unknownsfx0x10 23
unknownsfx0x20 15, 210, 0, 7
diff --git a/audio/sfx/arrow_tiles_3.asm b/audio/sfx/arrow_tiles_3.asm
index fd225a5f..8ff79858 100644
--- a/audio/sfx/arrow_tiles_3.asm
+++ b/audio/sfx/arrow_tiles_3.asm
@@ -1,4 +1,4 @@
-SFX_Arrow_Tiles_3_Ch1: ; 7c626 (1f:4626)
+SFX_Arrow_Tiles_3_Ch1:
duty 0
unknownsfx0x10 23
unknownsfx0x20 15, 210, 0, 7
diff --git a/audio/sfx/ball_poof.asm b/audio/sfx/ball_poof.asm
index 46fb2a07..6cd9701b 100644
--- a/audio/sfx/ball_poof.asm
+++ b/audio/sfx/ball_poof.asm
@@ -1,4 +1,4 @@
-SFX_Ball_Poof_Ch1: ; 2043d (8:443d)
+SFX_Ball_Poof_Ch1:
duty 2
unknownsfx0x10 22
unknownsfx0x20 15, 242, 0, 4
@@ -6,6 +6,6 @@ SFX_Ball_Poof_Ch1: ; 2043d (8:443d)
endchannel
-SFX_Ball_Poof_Ch2: ; 20448 (8:4448)
+SFX_Ball_Poof_Ch2:
unknownnoise0x20 15, 162, 34
endchannel
diff --git a/audio/sfx/ball_toss.asm b/audio/sfx/ball_toss.asm
index fc9f81cc..49176db3 100644
--- a/audio/sfx/ball_toss.asm
+++ b/audio/sfx/ball_toss.asm
@@ -1,11 +1,11 @@
-SFX_Ball_Toss_Ch1: ; 2042d (8:442d)
+SFX_Ball_Toss_Ch1:
duty 2
unknownsfx0x10 47
unknownsfx0x20 15, 242, 128, 7
endchannel
-SFX_Ball_Toss_Ch2: ; 20436 (8:4436)
+SFX_Ball_Toss_Ch2:
duty 2
unknownsfx0x20 15, 194, 130, 7
endchannel
diff --git a/audio/sfx/battle_09.asm b/audio/sfx/battle_09.asm
index 19e9b9e7..8b92fc50 100644
--- a/audio/sfx/battle_09.asm
+++ b/audio/sfx/battle_09.asm
@@ -1,4 +1,4 @@
-SFX_Battle_09_Ch1: ; 204b9 (8:44b9)
+SFX_Battle_09_Ch1:
duty 1
unknownsfx0x10 151
unknownsfx0x20 15, 242, 0, 5
diff --git a/audio/sfx/battle_0b.asm b/audio/sfx/battle_0b.asm
index 1a7e17ec..27909666 100644
--- a/audio/sfx/battle_0b.asm
+++ b/audio/sfx/battle_0b.asm
@@ -1,3 +1,3 @@
-SFX_Battle_0B_Ch1: ; 204c8 (8:44c8)
+SFX_Battle_0B_Ch1:
unknownnoise0x20 8, 241, 84
endchannel
diff --git a/audio/sfx/battle_0c.asm b/audio/sfx/battle_0c.asm
index b2fdf455..7aa009ba 100644
--- a/audio/sfx/battle_0c.asm
+++ b/audio/sfx/battle_0c.asm
@@ -1,4 +1,4 @@
-SFX_Battle_0C_Ch1: ; 204cc (8:44cc)
+SFX_Battle_0C_Ch1:
unknownnoise0x20 15, 143, 17
unknownnoise0x20 4, 255, 18
unknownnoise0x20 10, 241, 85
diff --git a/audio/sfx/battle_0d.asm b/audio/sfx/battle_0d.asm
index c70b281d..1b69e13f 100644
--- a/audio/sfx/battle_0d.asm
+++ b/audio/sfx/battle_0d.asm
@@ -1,4 +1,4 @@
-SFX_Battle_0D_Ch1: ; 204d6 (8:44d6)
+SFX_Battle_0D_Ch1:
unknownnoise0x20 15, 143, 52
unknownnoise0x20 8, 242, 53
unknownnoise0x20 10, 241, 85
diff --git a/audio/sfx/battle_0e.asm b/audio/sfx/battle_0e.asm
index 20c20628..ff60cb9e 100644
--- a/audio/sfx/battle_0e.asm
+++ b/audio/sfx/battle_0e.asm
@@ -1,4 +1,4 @@
-SFX_Battle_0E_Ch1: ; 204e0 (8:44e0)
+SFX_Battle_0E_Ch1:
unknownnoise0x20 15, 159, 35
unknownnoise0x20 8, 241, 33
endchannel
diff --git a/audio/sfx/battle_0f.asm b/audio/sfx/battle_0f.asm
index d84aed37..3827a5a6 100644
--- a/audio/sfx/battle_0f.asm
+++ b/audio/sfx/battle_0f.asm
@@ -1,4 +1,4 @@
-SFX_Battle_0F_Ch1: ; 204e7 (8:44e7)
+SFX_Battle_0F_Ch1:
unknownnoise0x20 2, 225, 75
unknownnoise0x20 10, 241, 68
unknownnoise0x20 2, 225, 58
diff --git a/audio/sfx/battle_12.asm b/audio/sfx/battle_12.asm
index 324ce9b9..7d301053 100644
--- a/audio/sfx/battle_12.asm
+++ b/audio/sfx/battle_12.asm
@@ -1,4 +1,4 @@
-SFX_Battle_12_Ch1: ; 2050b (8:450b)
+SFX_Battle_12_Ch1:
unknownnoise0x20 8, 79, 35
unknownnoise0x20 4, 196, 34
unknownnoise0x20 6, 242, 35
diff --git a/audio/sfx/battle_13.asm b/audio/sfx/battle_13.asm
index 74349bb5..89b8c555 100644
--- a/audio/sfx/battle_13.asm
+++ b/audio/sfx/battle_13.asm
@@ -1,4 +1,4 @@
-SFX_Battle_13_Ch1: ; 20519 (8:4519)
+SFX_Battle_13_Ch1:
unknownnoise0x20 8, 79, 51
unknownnoise0x20 4, 196, 34
unknownnoise0x20 6, 242, 35
diff --git a/audio/sfx/battle_14.asm b/audio/sfx/battle_14.asm
index 82234904..acc064f7 100644
--- a/audio/sfx/battle_14.asm
+++ b/audio/sfx/battle_14.asm
@@ -1,4 +1,4 @@
-SFX_Battle_14_Ch1: ; 20526 (8:4526)
+SFX_Battle_14_Ch1:
unknownnoise0x20 8, 255, 50
unknownnoise0x20 8, 244, 67
unknownnoise0x20 8, 242, 84
diff --git a/audio/sfx/battle_16.asm b/audio/sfx/battle_16.asm
index a2b5031e..3aa31247 100644
--- a/audio/sfx/battle_16.asm
+++ b/audio/sfx/battle_16.asm
@@ -1,4 +1,4 @@
-SFX_Battle_16_Ch1: ; 2054c (8:454c)
+SFX_Battle_16_Ch1:
unknownnoise0x20 1, 148, 35
unknownnoise0x20 1, 180, 34
unknownnoise0x20 8, 241, 68
diff --git a/audio/sfx/battle_17.asm b/audio/sfx/battle_17.asm
index 4be1d96b..2ff4bd6d 100644
--- a/audio/sfx/battle_17.asm
+++ b/audio/sfx/battle_17.asm
@@ -1,4 +1,4 @@
-SFX_Battle_17_Ch1: ; 20556 (8:4556)
+SFX_Battle_17_Ch1:
unknownnoise0x20 2, 148, 51
unknownnoise0x20 4, 180, 34
unknownnoise0x20 4, 241, 68
diff --git a/audio/sfx/battle_18.asm b/audio/sfx/battle_18.asm
index 6c201d38..81fa2178 100644
--- a/audio/sfx/battle_18.asm
+++ b/audio/sfx/battle_18.asm
@@ -1,4 +1,4 @@
-SFX_Battle_18_Ch1: ; 20563 (8:4563)
+SFX_Battle_18_Ch1:
unknownnoise0x20 4, 255, 85
unknownnoise0x20 8, 241, 101
endchannel
diff --git a/audio/sfx/battle_19.asm b/audio/sfx/battle_19.asm
index 6b54f8cd..9981f5e4 100644
--- a/audio/sfx/battle_19.asm
+++ b/audio/sfx/battle_19.asm
@@ -1,4 +1,4 @@
-SFX_Battle_19_Ch1: ; 2056a (8:456a)
+SFX_Battle_19_Ch1:
unknownnoise0x20 2, 132, 67
unknownnoise0x20 2, 196, 34
unknownnoise0x20 8, 242, 52
diff --git a/audio/sfx/battle_1b.asm b/audio/sfx/battle_1b.asm
index 3bb451d5..9f89e449 100644
--- a/audio/sfx/battle_1b.asm
+++ b/audio/sfx/battle_1b.asm
@@ -1,4 +1,4 @@
-SFX_Battle_1B_Ch1: ; 2057b (8:457b)
+SFX_Battle_1B_Ch1:
unknownnoise0x20 2, 241, 34
unknownnoise0x20 15, 242, 18
endchannel
diff --git a/audio/sfx/battle_1c.asm b/audio/sfx/battle_1c.asm
index 579e36cc..3827b34c 100644
--- a/audio/sfx/battle_1c.asm
+++ b/audio/sfx/battle_1c.asm
@@ -1,4 +1,4 @@
-SFX_Battle_1C_Ch1: ; 20582 (8:4582)
+SFX_Battle_1C_Ch1:
unknownnoise0x20 2, 194, 1
unknownnoise0x20 15, 244, 1
unknownnoise0x20 15, 242, 1
diff --git a/audio/sfx/battle_1e.asm b/audio/sfx/battle_1e.asm
index df556540..f4e9bdc8 100644
--- a/audio/sfx/battle_1e.asm
+++ b/audio/sfx/battle_1e.asm
@@ -1,4 +1,4 @@
-SFX_Battle_1E_Ch1: ; 20593 (8:4593)
+SFX_Battle_1E_Ch1:
duty 0
unknownsfx0x10 58
unknownsfx0x20 4, 242, 0, 2
@@ -8,7 +8,7 @@ SFX_Battle_1E_Ch1: ; 20593 (8:4593)
endchannel
-SFX_Battle_1E_Ch2: ; 205a4 (8:45a4)
+SFX_Battle_1E_Ch2:
unknownnoise0x20 0, 209, 66
unknownnoise0x20 4, 161, 50
unknownnoise0x20 0, 209, 34
diff --git a/audio/sfx/battle_20.asm b/audio/sfx/battle_20.asm
index 142030ee..e8a4d9f3 100644
--- a/audio/sfx/battle_20.asm
+++ b/audio/sfx/battle_20.asm
@@ -1,4 +1,4 @@
-SFX_Battle_20_Ch1: ; 205be (8:45be)
+SFX_Battle_20_Ch1:
unknownnoise0x20 12, 241, 84
unknownnoise0x20 8, 241, 100
endchannel
diff --git a/audio/sfx/battle_21.asm b/audio/sfx/battle_21.asm
index 10ad350e..b59f5833 100644
--- a/audio/sfx/battle_21.asm
+++ b/audio/sfx/battle_21.asm
@@ -1,4 +1,4 @@
-SFX_Battle_21_Ch1: ; 205c5 (8:45c5)
+SFX_Battle_21_Ch1:
unknownnoise0x20 2, 241, 51
unknownnoise0x20 2, 193, 50
unknownnoise0x20 2, 161, 49
diff --git a/audio/sfx/battle_22.asm b/audio/sfx/battle_22.asm
index c6b0d972..66cd218d 100644
--- a/audio/sfx/battle_22.asm
+++ b/audio/sfx/battle_22.asm
@@ -1,4 +1,4 @@
-SFX_Battle_22_Ch1: ; 205d5 (8:45d5)
+SFX_Battle_22_Ch1:
unknownnoise0x20 2, 210, 50
unknownnoise0x20 15, 242, 67
endchannel
diff --git a/audio/sfx/battle_23.asm b/audio/sfx/battle_23.asm
index 474e43b6..7203dcf2 100644
--- a/audio/sfx/battle_23.asm
+++ b/audio/sfx/battle_23.asm
@@ -1,4 +1,4 @@
-SFX_Battle_23_Ch1: ; 205dc (8:45dc)
+SFX_Battle_23_Ch1:
unknownnoise0x20 2, 242, 67
unknownnoise0x20 4, 181, 50
unknownnoise0x20 9, 134, 49
diff --git a/audio/sfx/battle_24.asm b/audio/sfx/battle_24.asm
index 4fea9cf9..7c81b40b 100644
--- a/audio/sfx/battle_24.asm
+++ b/audio/sfx/battle_24.asm
@@ -1,4 +1,4 @@
-SFX_Battle_24_Ch1: ; 205ec (8:45ec)
+SFX_Battle_24_Ch1:
duty 1
unknownsfx0x10 151
unknownsfx0x20 15, 242, 0, 7
@@ -6,7 +6,7 @@ SFX_Battle_24_Ch1: ; 205ec (8:45ec)
endchannel
-SFX_Battle_24_Ch2: ; 205f7 (8:45f7)
+SFX_Battle_24_Ch2:
unknownnoise0x20 15, 63, 34
unknownnoise0x20 15, 242, 33
endchannel
diff --git a/audio/sfx/battle_25.asm b/audio/sfx/battle_25.asm
index 18a70f45..b1f4fc54 100644
--- a/audio/sfx/battle_25.asm
+++ b/audio/sfx/battle_25.asm
@@ -1,4 +1,4 @@
-SFX_Battle_25_Ch1: ; 205fe (8:45fe)
+SFX_Battle_25_Ch1:
unknownnoise0x20 15, 79, 65
unknownnoise0x20 8, 143, 65
unknownnoise0x20 8, 207, 65
diff --git a/audio/sfx/battle_26.asm b/audio/sfx/battle_26.asm
index 943078e1..c656264b 100644
--- a/audio/sfx/battle_26.asm
+++ b/audio/sfx/battle_26.asm
@@ -1,4 +1,4 @@
-SFX_Battle_26_Ch1: ; 2060e (8:460e)
+SFX_Battle_26_Ch1:
unknownnoise0x20 10, 255, 80
unknownnoise0x20 15, 255, 81
unknownnoise0x20 8, 242, 81
diff --git a/audio/sfx/battle_27.asm b/audio/sfx/battle_27.asm
index ddd4e452..af86c33f 100644
--- a/audio/sfx/battle_27.asm
+++ b/audio/sfx/battle_27.asm
@@ -1,4 +1,4 @@
-SFX_Battle_27_Ch1: ; 20624 (8:4624)
+SFX_Battle_27_Ch1:
duty 2
unknownsfx0x20 15, 63, 192, 7
@@ -9,7 +9,7 @@ SFX_Battle_27_branch_2062a:
endchannel
-SFX_Battle_27_Ch2: ; 20637 (8:4637)
+SFX_Battle_27_Ch2:
dutycycle 179
unknownsfx0x20 15, 47, 200, 7
@@ -20,7 +20,7 @@ SFX_Battle_27_branch_2063d:
endchannel
-SFX_Battle_27_Ch3: ; 2064a (8:464a)
+SFX_Battle_27_Ch3:
unknownnoise0x20 3, 151, 18
unknownnoise0x20 3, 161, 17
loopchannel 10, SFX_Battle_27_Ch3
diff --git a/audio/sfx/battle_28.asm b/audio/sfx/battle_28.asm
index 73855179..1c974e85 100644
--- a/audio/sfx/battle_28.asm
+++ b/audio/sfx/battle_28.asm
@@ -1,4 +1,4 @@
-SFX_Battle_28_Ch1: ; 20655 (8:4655)
+SFX_Battle_28_Ch1:
duty 0
unknownsfx0x20 0, 241, 192, 7
unknownsfx0x20 0, 241, 0, 7
@@ -6,7 +6,7 @@ SFX_Battle_28_Ch1: ; 20655 (8:4655)
endchannel
-SFX_Battle_28_Ch2: ; 20664 (8:4664)
+SFX_Battle_28_Ch2:
dutycycle 179
unknownsfx0x20 0, 225, 193, 7
unknownsfx0x20 0, 225, 1, 7
@@ -14,7 +14,7 @@ SFX_Battle_28_Ch2: ; 20664 (8:4664)
endchannel
-SFX_Battle_28_Ch3: ; 20673 (8:4673)
+SFX_Battle_28_Ch3:
unknownnoise0x20 1, 209, 73
unknownnoise0x20 1, 209, 41
loopchannel 6, SFX_Battle_28_Ch3
diff --git a/audio/sfx/battle_29.asm b/audio/sfx/battle_29.asm
index 80a81950..0db98b36 100644
--- a/audio/sfx/battle_29.asm
+++ b/audio/sfx/battle_29.asm
@@ -1,4 +1,4 @@
-SFX_Earthquake_Ch1: ; 2067e (8:467e)
+SFX_Earthquake_Ch1:
dutycycle 201
unknownsfx0x20 11, 243, 32, 1
unknownsfx0x20 9, 211, 80, 1
@@ -8,7 +8,7 @@ SFX_Earthquake_Ch1: ; 2067e (8:467e)
endchannel
-SFX_Earthquake_Ch2: ; 20695 (8:4695)
+SFX_Earthquake_Ch2:
unknownnoise0x20 10, 243, 53
unknownnoise0x20 14, 246, 69
loopchannel 4, SFX_Earthquake_Ch2
diff --git a/audio/sfx/battle_2a.asm b/audio/sfx/battle_2a.asm
index d7334aae..ab01bf85 100644
--- a/audio/sfx/battle_2a.asm
+++ b/audio/sfx/battle_2a.asm
@@ -1,4 +1,4 @@
-SFX_Battle_2A_Ch1: ; 206a9 (8:46a9)
+SFX_Battle_2A_Ch1:
dutycycle 57
unknownsfx0x20 4, 244, 0, 6
unknownsfx0x20 3, 196, 0, 5
@@ -9,7 +9,7 @@ SFX_Battle_2A_Ch1: ; 206a9 (8:46a9)
endchannel
-SFX_Battle_2A_Ch2: ; 206c4 (8:46c4)
+SFX_Battle_2A_Ch2:
dutycycle 141
unknownsfx0x20 5, 228, 224, 5
unknownsfx0x20 4, 180, 224, 4
@@ -19,7 +19,7 @@ SFX_Battle_2A_Ch2: ; 206c4 (8:46c4)
endchannel
-SFX_Battle_2A_Ch3: ; 206db (8:46db)
+SFX_Battle_2A_Ch3:
unknownnoise0x20 5, 195, 51
unknownnoise0x20 3, 146, 67
unknownnoise0x20 10, 181, 51
diff --git a/audio/sfx/battle_2b.asm b/audio/sfx/battle_2b.asm
index 276627c3..6eddfa76 100644
--- a/audio/sfx/battle_2b.asm
+++ b/audio/sfx/battle_2b.asm
@@ -1,4 +1,4 @@
-SFX_Battle_2B_Ch1: ; 206ec (8:46ec)
+SFX_Battle_2B_Ch1:
dutycycle 210
unknownsfx0x20 3, 129, 0, 3
unknownsfx0x20 3, 193, 0, 4
@@ -10,7 +10,7 @@ SFX_Battle_2B_Ch1: ; 206ec (8:46ec)
endchannel
-SFX_Battle_2B_Ch2: ; 2070b (8:470b)
+SFX_Battle_2B_Ch2:
unknownnoise0x20 3, 98, 34
unknownnoise0x20 3, 162, 50
unknownnoise0x20 3, 210, 51
diff --git a/audio/sfx/battle_2c.asm b/audio/sfx/battle_2c.asm
index 22b902f1..9cd9bd16 100644
--- a/audio/sfx/battle_2c.asm
+++ b/audio/sfx/battle_2c.asm
@@ -1,4 +1,4 @@
-SFX_Battle_2C_Ch1: ; 20722 (8:4722)
+SFX_Battle_2C_Ch1:
dutycycle 57
unknownsfx0x20 15, 244, 0, 5
unknownsfx0x20 15, 196, 0, 4
@@ -7,7 +7,7 @@ SFX_Battle_2C_Ch1: ; 20722 (8:4722)
endchannel
-SFX_Battle_2C_Ch2: ; 20735 (8:4735)
+SFX_Battle_2C_Ch2:
dutycycle 141
unknownsfx0x20 7, 228, 48, 4
unknownsfx0x20 15, 180, 48, 3
@@ -16,7 +16,7 @@ SFX_Battle_2C_Ch2: ; 20735 (8:4735)
endchannel
-SFX_Battle_2C_Ch3: ; 20748 (8:4748)
+SFX_Battle_2C_Ch3:
unknownnoise0x20 9, 244, 68
unknownnoise0x20 9, 242, 67
unknownnoise0x20 15, 244, 66
diff --git a/audio/sfx/battle_2e.asm b/audio/sfx/battle_2e.asm
index 91dda605..a0841ccf 100644
--- a/audio/sfx/battle_2e.asm
+++ b/audio/sfx/battle_2e.asm
@@ -1,4 +1,4 @@
-SFX_Battle_2E_Ch1: ; 20792 (8:4792)
+SFX_Battle_2E_Ch1:
duty 0
unknownsfx0x20 2, 241, 0, 2
unknownsfx0x20 3, 241, 0, 7
@@ -8,7 +8,7 @@ SFX_Battle_2E_Ch1: ; 20792 (8:4792)
endchannel
-SFX_Battle_2E_Ch2: ; 207a9 (8:47a9)
+SFX_Battle_2E_Ch2:
dutycycle 179
unknownsfx0x20 2, 225, 2, 3
unknownsfx0x20 3, 225, 242, 7
@@ -18,7 +18,7 @@ SFX_Battle_2E_Ch2: ; 207a9 (8:47a9)
endchannel
-SFX_Battle_2E_Ch3: ; 207c0 (8:47c0)
+SFX_Battle_2E_Ch3:
unknownnoise0x20 2, 211, 16
unknownnoise0x20 3, 211, 17
unknownnoise0x20 2, 210, 16
diff --git a/audio/sfx/battle_2f.asm b/audio/sfx/battle_2f.asm
index 62624870..f511c832 100644
--- a/audio/sfx/battle_2f.asm
+++ b/audio/sfx/battle_2f.asm
@@ -1,4 +1,4 @@
-SFX_Thunderbolt_Ch1: ; 207d1 (8:47d1)
+SFX_Thunderbolt_Ch1:
dutycycle 43
unknownsfx0x20 3, 241, 240, 7
unknownsfx0x20 4, 242, 0, 2
@@ -6,7 +6,7 @@ SFX_Thunderbolt_Ch1: ; 207d1 (8:47d1)
endchannel
-SFX_Thunderbolt_Ch2: ; 207e0 (8:47e0)
+SFX_Thunderbolt_Ch2:
dutycycle 179
unknownsfx0x20 4, 226, 2, 2
unknownsfx0x20 4, 225, 226, 7
@@ -14,7 +14,7 @@ SFX_Thunderbolt_Ch2: ; 207e0 (8:47e0)
endchannel
-SFX_Thunderbolt_Ch3: ; 207ef (8:47ef)
+SFX_Thunderbolt_Ch3:
unknownnoise0x20 4, 255, 67
unknownnoise0x20 4, 242, 68
loopchannel 9, SFX_Thunderbolt_Ch3
diff --git a/audio/sfx/battle_31.asm b/audio/sfx/battle_31.asm
index 5d3e2e40..c88cc476 100644
--- a/audio/sfx/battle_31.asm
+++ b/audio/sfx/battle_31.asm
@@ -1,4 +1,4 @@
-SFX_Battle_31_Ch1: ; 20847 (8:4847)
+SFX_Battle_31_Ch1:
duty 2
unknownsfx0x20 15, 255, 224, 7
unknownsfx0x20 15, 255, 224, 7
@@ -8,7 +8,7 @@ SFX_Battle_31_Ch1: ; 20847 (8:4847)
endchannel
-SFX_Battle_31_Ch2: ; 2085e (8:485e)
+SFX_Battle_31_Ch2:
duty 3
unknownsfx0x20 15, 255, 226, 7
unknownsfx0x20 15, 255, 225, 7
diff --git a/audio/sfx/battle_32.asm b/audio/sfx/battle_32.asm
index c949fb5b..a85d4334 100644
--- a/audio/sfx/battle_32.asm
+++ b/audio/sfx/battle_32.asm
@@ -1,4 +1,4 @@
-SFX_Battle_32_Ch1: ; 20875 (8:4875)
+SFX_Battle_32_Ch1:
duty 2
unknownsfx0x10 175
unknownsfx0x20 8, 241, 0, 7
@@ -6,7 +6,7 @@ SFX_Battle_32_Ch1: ; 20875 (8:4875)
endchannel
-SFX_Battle_32_Ch2: ; 20880 (8:4880)
+SFX_Battle_32_Ch2:
duty 3
unknownsfx0x20 8, 241, 1, 7
endchannel
diff --git a/audio/sfx/battle_33.asm b/audio/sfx/battle_33.asm
index 8b2bd17d..25b1ee42 100644
--- a/audio/sfx/battle_33.asm
+++ b/audio/sfx/battle_33.asm
@@ -1,4 +1,4 @@
-SFX_Battle_33_Ch1: ; 20887 (8:4887)
+SFX_Battle_33_Ch1:
duty 2
unknownsfx0x20 6, 241, 0, 5
unknownsfx0x20 6, 241, 128, 5
@@ -8,7 +8,7 @@ SFX_Battle_33_Ch1: ; 20887 (8:4887)
endchannel
-SFX_Battle_33_Ch2: ; 2089e (8:489e)
+SFX_Battle_33_Ch2:
duty 3
unknownsfx0x20 6, 225, 16, 5
unknownsfx0x20 6, 225, 144, 5
diff --git a/audio/sfx/battle_34.asm b/audio/sfx/battle_34.asm
index ac80eeea..14718916 100644
--- a/audio/sfx/battle_34.asm
+++ b/audio/sfx/battle_34.asm
@@ -1,4 +1,4 @@
-SFX_Battle_34_Ch1: ; 208b5 (8:48b5)
+SFX_Battle_34_Ch1:
dutycycle 237
unknownsfx0x20 8, 255, 248, 3
unknownsfx0x20 15, 255, 0, 4
@@ -6,7 +6,7 @@ SFX_Battle_34_Ch1: ; 208b5 (8:48b5)
endchannel
-SFX_Battle_34_Ch2: ; 208c4 (8:48c4)
+SFX_Battle_34_Ch2:
dutycycle 180
unknownsfx0x20 8, 239, 192, 3
unknownsfx0x20 15, 239, 192, 3
@@ -14,7 +14,7 @@ SFX_Battle_34_Ch2: ; 208c4 (8:48c4)
endchannel
-SFX_Battle_34_Ch3: ; 208d3 (8:48d3)
+SFX_Battle_34_Ch3:
unknownnoise0x20 4, 255, 81
unknownnoise0x20 8, 255, 84
unknownnoise0x20 15, 255, 85
diff --git a/audio/sfx/battle_35.asm b/audio/sfx/battle_35.asm
index 7e64aca9..2fe57bc4 100644
--- a/audio/sfx/battle_35.asm
+++ b/audio/sfx/battle_35.asm
@@ -1,4 +1,4 @@
-SFX_Battle_35_Ch1: ; 208e0 (8:48e0)
+SFX_Battle_35_Ch1:
executemusic
vibrato 10, 2, 4
duty 2
@@ -13,7 +13,7 @@ SFX_Battle_35_Ch1: ; 208e0 (8:48e0)
endchannel
-SFX_Battle_35_Ch2: ; 208f0 (8:48f0)
+SFX_Battle_35_Ch2:
executemusic
vibrato 10, 2, 3
duty 2
diff --git a/audio/sfx/battle_36.asm b/audio/sfx/battle_36.asm
index f878a1c8..dcf9c56e 100644
--- a/audio/sfx/battle_36.asm
+++ b/audio/sfx/battle_36.asm
@@ -1,4 +1,4 @@
-SFX_Battle_36_Ch1: ; 20902 (8:4902)
+SFX_Battle_36_Ch1:
duty 0
unknownsfx0x20 2, 241, 128, 7
unknownsfx0x20 2, 241, 0, 7
@@ -20,7 +20,7 @@ SFX_Battle_36_branch_20930:
endchannel
-SFX_Battle_36_Ch2: ; 20941 (8:4941)
+SFX_Battle_36_Ch2:
dutycycle 179
unknownsfx0x20 2, 241, 129, 7
unknownsfx0x20 2, 241, 1, 7
@@ -40,7 +40,7 @@ SFX_Battle_36_Ch2: ; 20941 (8:4941)
endchannel
-SFX_Battle_36_Ch3: ; 20980 (8:4980)
+SFX_Battle_36_Ch3:
unknownnoise0x20 1, 209, 73
unknownnoise0x20 1, 209, 41
loopchannel 26, SFX_Battle_36_Ch3
diff --git a/audio/sfx/caught_mon.asm b/audio/sfx/caught_mon.asm
index d841f57a..d4f3e858 100644
--- a/audio/sfx/caught_mon.asm
+++ b/audio/sfx/caught_mon.asm
@@ -1,4 +1,4 @@
-SFX_Caught_Mon_Ch1: ; 23a13 (8:7a13)
+SFX_Caught_Mon_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -22,7 +22,7 @@ SFX_Caught_Mon_Ch1: ; 23a13 (8:7a13)
endchannel
-SFX_Caught_Mon_Ch2: ; 23a2e (8:7a2e)
+SFX_Caught_Mon_Ch2:
executemusic
duty 2
notetype 6, 12, 2
@@ -44,7 +44,7 @@ SFX_Caught_Mon_Ch2: ; 23a2e (8:7a2e)
endchannel
-SFX_Caught_Mon_Ch3: ; 23a44 (8:7a44)
+SFX_Caught_Mon_Ch3:
executemusic
notetype 6, 1, 0
octave 4
diff --git a/audio/sfx/collision_1.asm b/audio/sfx/collision_1.asm
index 4b9c4a7e..7a45bdf4 100644
--- a/audio/sfx/collision_1.asm
+++ b/audio/sfx/collision_1.asm
@@ -1,4 +1,4 @@
-SFX_Collision_1_Ch1: ; 8447 (2:4447)
+SFX_Collision_1_Ch1:
duty 2
unknownsfx0x10 90
unknownsfx0x20 15, 241, 0, 3
diff --git a/audio/sfx/collision_3.asm b/audio/sfx/collision_3.asm
index 18806c1f..601670d5 100644
--- a/audio/sfx/collision_3.asm
+++ b/audio/sfx/collision_3.asm
@@ -1,4 +1,4 @@
-SFX_Collision_3_Ch1: ; 7c430 (1f:4430)
+SFX_Collision_3_Ch1:
duty 2
unknownsfx0x10 90
unknownsfx0x20 15, 241, 0, 3
diff --git a/audio/sfx/cry00_1.asm b/audio/sfx/cry00_1.asm
index f29e29ab..4fc82294 100644
--- a/audio/sfx/cry00_1.asm
+++ b/audio/sfx/cry00_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry00_1_Ch1: ; 8987 (2:4987)
+SFX_Cry00_1_Ch1:
dutycycle 245
unknownsfx0x20 4, 243, 24, 7
unknownsfx0x20 15, 229, 152, 7
@@ -6,7 +6,7 @@ SFX_Cry00_1_Ch1: ; 8987 (2:4987)
endchannel
-SFX_Cry00_1_Ch2: ; 8996 (2:4996)
+SFX_Cry00_1_Ch2:
dutycycle 160
unknownsfx0x20 5, 179, 8, 7
unknownsfx0x20 15, 197, 136, 7
@@ -14,7 +14,7 @@ SFX_Cry00_1_Ch2: ; 8996 (2:4996)
endchannel
-SFX_Cry00_1_Ch3: ; 89a5 (2:49a5)
+SFX_Cry00_1_Ch3:
unknownnoise0x20 3, 161, 28
unknownnoise0x20 14, 148, 44
unknownnoise0x20 8, 129, 28
diff --git a/audio/sfx/cry00_2.asm b/audio/sfx/cry00_2.asm
index fa069f18..ccce6943 100644
--- a/audio/sfx/cry00_2.asm
+++ b/audio/sfx/cry00_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry00_2_Ch1: ; 20c2f (8:4c2f)
+SFX_Cry00_2_Ch1:
dutycycle 245
unknownsfx0x20 4, 243, 24, 7
unknownsfx0x20 15, 229, 152, 7
@@ -6,7 +6,7 @@ SFX_Cry00_2_Ch1: ; 20c2f (8:4c2f)
endchannel
-SFX_Cry00_2_Ch2: ; 20c3e (8:4c3e)
+SFX_Cry00_2_Ch2:
dutycycle 160
unknownsfx0x20 5, 179, 8, 7
unknownsfx0x20 15, 197, 136, 7
@@ -14,7 +14,7 @@ SFX_Cry00_2_Ch2: ; 20c3e (8:4c3e)
endchannel
-SFX_Cry00_2_Ch3: ; 20c4d (8:4c4d)
+SFX_Cry00_2_Ch3:
unknownnoise0x20 3, 161, 28
unknownnoise0x20 14, 148, 44
unknownnoise0x20 8, 129, 28
diff --git a/audio/sfx/cry00_3.asm b/audio/sfx/cry00_3.asm
index bdeadab5..9b8b6fda 100644
--- a/audio/sfx/cry00_3.asm
+++ b/audio/sfx/cry00_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry00_3_Ch1: ; 7c9fc (1f:49fc)
+SFX_Cry00_3_Ch1:
dutycycle 245
unknownsfx0x20 4, 243, 24, 7
unknownsfx0x20 15, 229, 152, 7
@@ -6,7 +6,7 @@ SFX_Cry00_3_Ch1: ; 7c9fc (1f:49fc)
endchannel
-SFX_Cry00_3_Ch2: ; 7ca0b (1f:4a0b)
+SFX_Cry00_3_Ch2:
dutycycle 160
unknownsfx0x20 5, 179, 8, 7
unknownsfx0x20 15, 197, 136, 7
@@ -14,7 +14,7 @@ SFX_Cry00_3_Ch2: ; 7ca0b (1f:4a0b)
endchannel
-SFX_Cry00_3_Ch3: ; 7ca1a (1f:4a1a)
+SFX_Cry00_3_Ch3:
unknownnoise0x20 3, 161, 28
unknownnoise0x20 14, 148, 44
unknownnoise0x20 8, 129, 28
diff --git a/audio/sfx/cry01_1.asm b/audio/sfx/cry01_1.asm
index 835d41f7..d684af6f 100644
--- a/audio/sfx/cry01_1.asm
+++ b/audio/sfx/cry01_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry01_1_Ch1: ; 8b97 (2:4b97)
+SFX_Cry01_1_Ch1:
dutycycle 160
unknownsfx0x20 4, 243, 0, 6
unknownsfx0x20 8, 213, 96, 7
@@ -7,7 +7,7 @@ SFX_Cry01_1_Ch1: ; 8b97 (2:4b97)
endchannel
-SFX_Cry01_1_Ch2: ; 8baa (2:4baa)
+SFX_Cry01_1_Ch2:
dutycycle 90
unknownsfx0x20 5, 179, 241, 6
unknownsfx0x20 7, 197, 82, 7
@@ -16,7 +16,7 @@ SFX_Cry01_1_Ch2: ; 8baa (2:4baa)
endchannel
-SFX_Cry01_1_Ch3: ; 8bbd (2:4bbd)
+SFX_Cry01_1_Ch3:
unknownnoise0x20 3, 162, 60
unknownnoise0x20 12, 148, 44
unknownnoise0x20 3, 130, 28
diff --git a/audio/sfx/cry01_2.asm b/audio/sfx/cry01_2.asm
index bcafa873..0e1030e1 100644
--- a/audio/sfx/cry01_2.asm
+++ b/audio/sfx/cry01_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry01_2_Ch1: ; 20e3f (8:4e3f)
+SFX_Cry01_2_Ch1:
dutycycle 160
unknownsfx0x20 4, 243, 0, 6
unknownsfx0x20 8, 213, 96, 7
@@ -7,7 +7,7 @@ SFX_Cry01_2_Ch1: ; 20e3f (8:4e3f)
endchannel
-SFX_Cry01_2_Ch2: ; 20e52 (8:4e52)
+SFX_Cry01_2_Ch2:
dutycycle 90
unknownsfx0x20 5, 179, 241, 6
unknownsfx0x20 7, 197, 82, 7
@@ -16,7 +16,7 @@ SFX_Cry01_2_Ch2: ; 20e52 (8:4e52)
endchannel
-SFX_Cry01_2_Ch3: ; 20e65 (8:4e65)
+SFX_Cry01_2_Ch3:
unknownnoise0x20 3, 162, 60
unknownnoise0x20 12, 148, 44
unknownnoise0x20 3, 130, 28
diff --git a/audio/sfx/cry01_3.asm b/audio/sfx/cry01_3.asm
index 1a31c7ca..be084d7e 100644
--- a/audio/sfx/cry01_3.asm
+++ b/audio/sfx/cry01_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry01_3_Ch1: ; 7cc0c (1f:4c0c)
+SFX_Cry01_3_Ch1:
dutycycle 160
unknownsfx0x20 4, 243, 0, 6
unknownsfx0x20 8, 213, 96, 7
@@ -7,7 +7,7 @@ SFX_Cry01_3_Ch1: ; 7cc0c (1f:4c0c)
endchannel
-SFX_Cry01_3_Ch2: ; 7cc1f (1f:4c1f)
+SFX_Cry01_3_Ch2:
dutycycle 90
unknownsfx0x20 5, 179, 241, 6
unknownsfx0x20 7, 197, 82, 7
@@ -16,7 +16,7 @@ SFX_Cry01_3_Ch2: ; 7cc1f (1f:4c1f)
endchannel
-SFX_Cry01_3_Ch3: ; 7cc32 (1f:4c32)
+SFX_Cry01_3_Ch3:
unknownnoise0x20 3, 162, 60
unknownnoise0x20 12, 148, 44
unknownnoise0x20 3, 130, 28
diff --git a/audio/sfx/cry02_1.asm b/audio/sfx/cry02_1.asm
index 97cff95e..d4b520c9 100644
--- a/audio/sfx/cry02_1.asm
+++ b/audio/sfx/cry02_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry02_1_Ch1: ; 8b0c (2:4b0c)
+SFX_Cry02_1_Ch1:
duty 0
unknownsfx0x20 8, 245, 128, 4
unknownsfx0x20 2, 225, 224, 5
@@ -6,12 +6,12 @@ SFX_Cry02_1_Ch1: ; 8b0c (2:4b0c)
endchannel
-SFX_Cry02_1_Ch2: ; 8b1b (2:4b1b)
+SFX_Cry02_1_Ch2:
dutycycle 165
unknownsfx0x20 7, 149, 65, 4
unknownsfx0x20 2, 129, 33, 5
unknownsfx0x20 8, 97, 26, 5
-SFX_Cry02_1_Ch3: ; 8b29 (2:4b29)
+SFX_Cry02_1_Ch3:
endchannel
diff --git a/audio/sfx/cry02_2.asm b/audio/sfx/cry02_2.asm
index 7d67fc4a..526e8c48 100644
--- a/audio/sfx/cry02_2.asm
+++ b/audio/sfx/cry02_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry02_2_Ch1: ; 20db4 (8:4db4)
+SFX_Cry02_2_Ch1:
duty 0
unknownsfx0x20 8, 245, 128, 4
unknownsfx0x20 2, 225, 224, 5
@@ -6,12 +6,12 @@ SFX_Cry02_2_Ch1: ; 20db4 (8:4db4)
endchannel
-SFX_Cry02_2_Ch2: ; 20dc3 (8:4dc3)
+SFX_Cry02_2_Ch2:
dutycycle 165
unknownsfx0x20 7, 149, 65, 4
unknownsfx0x20 2, 129, 33, 5
unknownsfx0x20 8, 97, 26, 5
-SFX_Cry02_2_Ch3: ; 20dd1 (8:4dd1)
+SFX_Cry02_2_Ch3:
endchannel
diff --git a/audio/sfx/cry02_3.asm b/audio/sfx/cry02_3.asm
index 604d084a..2366ff97 100644
--- a/audio/sfx/cry02_3.asm
+++ b/audio/sfx/cry02_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry02_3_Ch1: ; 7cb81 (1f:4b81)
+SFX_Cry02_3_Ch1:
duty 0
unknownsfx0x20 8, 245, 128, 4
unknownsfx0x20 2, 225, 224, 5
@@ -6,12 +6,12 @@ SFX_Cry02_3_Ch1: ; 7cb81 (1f:4b81)
endchannel
-SFX_Cry02_3_Ch2: ; 7cb90 (1f:4b90)
+SFX_Cry02_3_Ch2:
dutycycle 165
unknownsfx0x20 7, 149, 65, 4
unknownsfx0x20 2, 129, 33, 5
unknownsfx0x20 8, 97, 26, 5
-SFX_Cry02_3_Ch3: ; 7cb9e (1f:4b9e)
+SFX_Cry02_3_Ch3:
endchannel
diff --git a/audio/sfx/cry03_1.asm b/audio/sfx/cry03_1.asm
index 42f2c5d3..72ea5d38 100644
--- a/audio/sfx/cry03_1.asm
+++ b/audio/sfx/cry03_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry03_1_Ch1: ; 88a6 (2:48a6)
+SFX_Cry03_1_Ch1:
dutycycle 240
unknownsfx0x20 4, 247, 8, 6
unknownsfx0x20 6, 230, 0, 6
@@ -10,7 +10,7 @@ SFX_Cry03_1_Ch1: ; 88a6 (2:48a6)
endchannel
-SFX_Cry03_1_Ch2: ; 88c5 (2:48c5)
+SFX_Cry03_1_Ch2:
dutycycle 10
unknownsfx0x20 4, 199, 4, 5
unknownsfx0x20 6, 166, 2, 5
@@ -22,7 +22,7 @@ SFX_Cry03_1_Ch2: ; 88c5 (2:48c5)
endchannel
-SFX_Cry03_1_Ch3: ; 88e4 (2:48e4)
+SFX_Cry03_1_Ch3:
unknownnoise0x20 12, 228, 76
unknownnoise0x20 10, 199, 92
unknownnoise0x20 12, 182, 76
diff --git a/audio/sfx/cry03_2.asm b/audio/sfx/cry03_2.asm
index 92dab482..de043909 100644
--- a/audio/sfx/cry03_2.asm
+++ b/audio/sfx/cry03_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry03_2_Ch1: ; 20b4e (8:4b4e)
+SFX_Cry03_2_Ch1:
dutycycle 240
unknownsfx0x20 4, 247, 8, 6
unknownsfx0x20 6, 230, 0, 6
@@ -10,7 +10,7 @@ SFX_Cry03_2_Ch1: ; 20b4e (8:4b4e)
endchannel
-SFX_Cry03_2_Ch2: ; 20b6d (8:4b6d)
+SFX_Cry03_2_Ch2:
dutycycle 10
unknownsfx0x20 4, 199, 4, 5
unknownsfx0x20 6, 166, 2, 5
@@ -22,7 +22,7 @@ SFX_Cry03_2_Ch2: ; 20b6d (8:4b6d)
endchannel
-SFX_Cry03_2_Ch3: ; 20b8c (8:4b8c)
+SFX_Cry03_2_Ch3:
unknownnoise0x20 12, 228, 76
unknownnoise0x20 10, 199, 92
unknownnoise0x20 12, 182, 76
diff --git a/audio/sfx/cry03_3.asm b/audio/sfx/cry03_3.asm
index 0161b820..467745f9 100644
--- a/audio/sfx/cry03_3.asm
+++ b/audio/sfx/cry03_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry03_3_Ch1: ; 7c91b (1f:491b)
+SFX_Cry03_3_Ch1:
dutycycle 240
unknownsfx0x20 4, 247, 8, 6
unknownsfx0x20 6, 230, 0, 6
@@ -10,7 +10,7 @@ SFX_Cry03_3_Ch1: ; 7c91b (1f:491b)
endchannel
-SFX_Cry03_3_Ch2: ; 7c93a (1f:493a)
+SFX_Cry03_3_Ch2:
dutycycle 10
unknownsfx0x20 4, 199, 4, 5
unknownsfx0x20 6, 166, 2, 5
@@ -22,7 +22,7 @@ SFX_Cry03_3_Ch2: ; 7c93a (1f:493a)
endchannel
-SFX_Cry03_3_Ch3: ; 7c959 (1f:4959)
+SFX_Cry03_3_Ch3:
unknownnoise0x20 12, 228, 76
unknownnoise0x20 10, 199, 92
unknownnoise0x20 12, 182, 76
diff --git a/audio/sfx/cry04_1.asm b/audio/sfx/cry04_1.asm
index c80a6bd9..2c34f1c6 100644
--- a/audio/sfx/cry04_1.asm
+++ b/audio/sfx/cry04_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry04_1_Ch1: ; 8c55 (2:4c55)
+SFX_Cry04_1_Ch1:
dutycycle 240
unknownsfx0x20 4, 247, 160, 6
unknownsfx0x20 8, 230, 164, 6
@@ -10,7 +10,7 @@ SFX_Cry04_1_Ch1: ; 8c55 (2:4c55)
endchannel
-SFX_Cry04_1_Ch2: ; 8c74 (2:4c74)
+SFX_Cry04_1_Ch2:
dutycycle 90
unknownsfx0x20 4, 231, 1, 6
unknownsfx0x20 8, 214, 3, 6
@@ -22,7 +22,7 @@ SFX_Cry04_1_Ch2: ; 8c74 (2:4c74)
endchannel
-SFX_Cry04_1_Ch3: ; 8c93 (2:4c93)
+SFX_Cry04_1_Ch3:
unknownnoise0x20 7, 214, 92
unknownnoise0x20 8, 230, 76
unknownnoise0x20 4, 212, 92
diff --git a/audio/sfx/cry04_2.asm b/audio/sfx/cry04_2.asm
index dcd866da..38bfbf63 100644
--- a/audio/sfx/cry04_2.asm
+++ b/audio/sfx/cry04_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry04_2_Ch1: ; 20efd (8:4efd)
+SFX_Cry04_2_Ch1:
dutycycle 240
unknownsfx0x20 4, 247, 160, 6
unknownsfx0x20 8, 230, 164, 6
@@ -10,7 +10,7 @@ SFX_Cry04_2_Ch1: ; 20efd (8:4efd)
endchannel
-SFX_Cry04_2_Ch2: ; 20f1c (8:4f1c)
+SFX_Cry04_2_Ch2:
dutycycle 90
unknownsfx0x20 4, 231, 1, 6
unknownsfx0x20 8, 214, 3, 6
@@ -22,7 +22,7 @@ SFX_Cry04_2_Ch2: ; 20f1c (8:4f1c)
endchannel
-SFX_Cry04_2_Ch3: ; 20f3b (8:4f3b)
+SFX_Cry04_2_Ch3:
unknownnoise0x20 7, 214, 92
unknownnoise0x20 8, 230, 76
unknownnoise0x20 4, 212, 92
diff --git a/audio/sfx/cry04_3.asm b/audio/sfx/cry04_3.asm
index 5d8c6df9..bd73c271 100644
--- a/audio/sfx/cry04_3.asm
+++ b/audio/sfx/cry04_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry04_3_Ch1: ; 7ccca (1f:4cca)
+SFX_Cry04_3_Ch1:
dutycycle 240
unknownsfx0x20 4, 247, 160, 6
unknownsfx0x20 8, 230, 164, 6
@@ -10,7 +10,7 @@ SFX_Cry04_3_Ch1: ; 7ccca (1f:4cca)
endchannel
-SFX_Cry04_3_Ch2: ; 7cce9 (1f:4ce9)
+SFX_Cry04_3_Ch2:
dutycycle 90
unknownsfx0x20 4, 231, 1, 6
unknownsfx0x20 8, 214, 3, 6
@@ -22,7 +22,7 @@ SFX_Cry04_3_Ch2: ; 7cce9 (1f:4ce9)
endchannel
-SFX_Cry04_3_Ch3: ; 7cd08 (1f:4d08)
+SFX_Cry04_3_Ch3:
unknownnoise0x20 7, 214, 92
unknownnoise0x20 8, 230, 76
unknownnoise0x20 4, 212, 92
diff --git a/audio/sfx/cry05_1.asm b/audio/sfx/cry05_1.asm
index 891cc50e..8de5bf02 100644
--- a/audio/sfx/cry05_1.asm
+++ b/audio/sfx/cry05_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry05_1_Ch1: ; 8a35 (2:4a35)
+SFX_Cry05_1_Ch1:
dutycycle 10
unknownsfx0x20 6, 226, 0, 5
unknownsfx0x20 6, 227, 128, 5
@@ -7,7 +7,7 @@ SFX_Cry05_1_Ch1: ; 8a35 (2:4a35)
endchannel
-SFX_Cry05_1_Ch2: ; 8a48 (2:4a48)
+SFX_Cry05_1_Ch2:
dutycycle 245
unknownsfx0x20 6, 226, 130, 4
unknownsfx0x20 6, 211, 1, 5
@@ -15,5 +15,5 @@ SFX_Cry05_1_Ch2: ; 8a48 (2:4a48)
unknownsfx0x20 8, 129, 193, 4
-SFX_Cry05_1_Ch3: ; 8a5a (2:4a5a)
+SFX_Cry05_1_Ch3:
endchannel
diff --git a/audio/sfx/cry05_2.asm b/audio/sfx/cry05_2.asm
index 98df4c1d..28879677 100644
--- a/audio/sfx/cry05_2.asm
+++ b/audio/sfx/cry05_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry05_2_Ch1: ; 20cdd (8:4cdd)
+SFX_Cry05_2_Ch1:
dutycycle 10
unknownsfx0x20 6, 226, 0, 5
unknownsfx0x20 6, 227, 128, 5
@@ -7,7 +7,7 @@ SFX_Cry05_2_Ch1: ; 20cdd (8:4cdd)
endchannel
-SFX_Cry05_2_Ch2: ; 20cf0 (8:4cf0)
+SFX_Cry05_2_Ch2:
dutycycle 245
unknownsfx0x20 6, 226, 130, 4
unknownsfx0x20 6, 211, 1, 5
@@ -15,5 +15,5 @@ SFX_Cry05_2_Ch2: ; 20cf0 (8:4cf0)
unknownsfx0x20 8, 129, 193, 4
-SFX_Cry05_2_Ch3: ; 20d02 (8:4d02)
+SFX_Cry05_2_Ch3:
endchannel
diff --git a/audio/sfx/cry05_3.asm b/audio/sfx/cry05_3.asm
index a7f88abf..261492af 100644
--- a/audio/sfx/cry05_3.asm
+++ b/audio/sfx/cry05_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry05_3_Ch1: ; 7caaa (1f:4aaa)
+SFX_Cry05_3_Ch1:
dutycycle 10
unknownsfx0x20 6, 226, 0, 5
unknownsfx0x20 6, 227, 128, 5
@@ -7,7 +7,7 @@ SFX_Cry05_3_Ch1: ; 7caaa (1f:4aaa)
endchannel
-SFX_Cry05_3_Ch2: ; 7cabd (1f:4abd)
+SFX_Cry05_3_Ch2:
dutycycle 245
unknownsfx0x20 6, 226, 130, 4
unknownsfx0x20 6, 211, 1, 5
@@ -15,5 +15,5 @@ SFX_Cry05_3_Ch2: ; 7cabd (1f:4abd)
unknownsfx0x20 8, 129, 193, 4
-SFX_Cry05_3_Ch3: ; 7cacf (1f:4acf)
+SFX_Cry05_3_Ch3:
endchannel
diff --git a/audio/sfx/cry06_1.asm b/audio/sfx/cry06_1.asm
index b26004e2..e171b025 100644
--- a/audio/sfx/cry06_1.asm
+++ b/audio/sfx/cry06_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry06_1_Ch1: ; 89df (2:49df)
+SFX_Cry06_1_Ch1:
dutycycle 250
unknownsfx0x20 6, 131, 71, 2
unknownsfx0x20 15, 98, 38, 2
@@ -8,11 +8,11 @@ SFX_Cry06_1_Ch1: ; 89df (2:49df)
unknownsfx0x20 15, 66, 7, 2
-SFX_Cry06_1_Ch2: ; 89f9 (2:49f9)
+SFX_Cry06_1_Ch2:
endchannel
-SFX_Cry06_1_Ch3: ; 89fa (2:49fa)
+SFX_Cry06_1_Ch3:
unknownnoise0x20 8, 212, 140
unknownnoise0x20 4, 226, 156
unknownnoise0x20 15, 198, 140
diff --git a/audio/sfx/cry06_2.asm b/audio/sfx/cry06_2.asm
index 283c1360..5e6e9e6a 100644
--- a/audio/sfx/cry06_2.asm
+++ b/audio/sfx/cry06_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry06_2_Ch1: ; 20c87 (8:4c87)
+SFX_Cry06_2_Ch1:
dutycycle 250
unknownsfx0x20 6, 131, 71, 2
unknownsfx0x20 15, 98, 38, 2
@@ -8,11 +8,11 @@ SFX_Cry06_2_Ch1: ; 20c87 (8:4c87)
unknownsfx0x20 15, 66, 7, 2
-SFX_Cry06_2_Ch2: ; 20ca1 (8:4ca1)
+SFX_Cry06_2_Ch2:
endchannel
-SFX_Cry06_2_Ch3: ; 20ca2 (8:4ca2)
+SFX_Cry06_2_Ch3:
unknownnoise0x20 8, 212, 140
unknownnoise0x20 4, 226, 156
unknownnoise0x20 15, 198, 140
diff --git a/audio/sfx/cry06_3.asm b/audio/sfx/cry06_3.asm
index 9feecc3b..5d2994f1 100644
--- a/audio/sfx/cry06_3.asm
+++ b/audio/sfx/cry06_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry06_3_Ch1: ; 7ca54 (1f:4a54)
+SFX_Cry06_3_Ch1:
dutycycle 250
unknownsfx0x20 6, 131, 71, 2
unknownsfx0x20 15, 98, 38, 2
@@ -8,11 +8,11 @@ SFX_Cry06_3_Ch1: ; 7ca54 (1f:4a54)
unknownsfx0x20 15, 66, 7, 2
-SFX_Cry06_3_Ch2: ; 7ca6e (1f:4a6e)
+SFX_Cry06_3_Ch2:
endchannel
-SFX_Cry06_3_Ch3: ; 7ca6f (1f:4a6f)
+SFX_Cry06_3_Ch3:
unknownnoise0x20 8, 212, 140
unknownnoise0x20 4, 226, 156
unknownnoise0x20 15, 198, 140
diff --git a/audio/sfx/cry07_1.asm b/audio/sfx/cry07_1.asm
index b1346b94..e48a50a2 100644
--- a/audio/sfx/cry07_1.asm
+++ b/audio/sfx/cry07_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry07_1_Ch1: ; 8a0d (2:4a0d)
+SFX_Cry07_1_Ch1:
dutycycle 240
unknownsfx0x20 4, 243, 224, 6
unknownsfx0x20 15, 228, 64, 6
@@ -6,7 +6,7 @@ SFX_Cry07_1_Ch1: ; 8a0d (2:4a0d)
endchannel
-SFX_Cry07_1_Ch2: ; 8a1c (2:4a1c)
+SFX_Cry07_1_Ch2:
dutycycle 10
unknownsfx0x20 3, 195, 131, 6
unknownsfx0x20 14, 180, 2, 6
@@ -14,7 +14,7 @@ SFX_Cry07_1_Ch2: ; 8a1c (2:4a1c)
endchannel
-SFX_Cry07_1_Ch3: ; 8a2b (2:4a2b)
+SFX_Cry07_1_Ch3:
unknownnoise0x20 4, 211, 92
unknownnoise0x20 15, 230, 76
unknownnoise0x20 8, 177, 92
diff --git a/audio/sfx/cry07_2.asm b/audio/sfx/cry07_2.asm
index 075b7139..ab902a30 100644
--- a/audio/sfx/cry07_2.asm
+++ b/audio/sfx/cry07_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry07_2_Ch1: ; 20cb5 (8:4cb5)
+SFX_Cry07_2_Ch1:
dutycycle 240
unknownsfx0x20 4, 243, 224, 6
unknownsfx0x20 15, 228, 64, 6
@@ -6,7 +6,7 @@ SFX_Cry07_2_Ch1: ; 20cb5 (8:4cb5)
endchannel
-SFX_Cry07_2_Ch2: ; 20cc4 (8:4cc4)
+SFX_Cry07_2_Ch2:
dutycycle 10
unknownsfx0x20 3, 195, 131, 6
unknownsfx0x20 14, 180, 2, 6
@@ -14,7 +14,7 @@ SFX_Cry07_2_Ch2: ; 20cc4 (8:4cc4)
endchannel
-SFX_Cry07_2_Ch3: ; 20cd3 (8:4cd3)
+SFX_Cry07_2_Ch3:
unknownnoise0x20 4, 211, 92
unknownnoise0x20 15, 230, 76
unknownnoise0x20 8, 177, 92
diff --git a/audio/sfx/cry07_3.asm b/audio/sfx/cry07_3.asm
index 4955e115..40fad544 100644
--- a/audio/sfx/cry07_3.asm
+++ b/audio/sfx/cry07_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry07_3_Ch1: ; 7ca82 (1f:4a82)
+SFX_Cry07_3_Ch1:
dutycycle 240
unknownsfx0x20 4, 243, 224, 6
unknownsfx0x20 15, 228, 64, 6
@@ -6,7 +6,7 @@ SFX_Cry07_3_Ch1: ; 7ca82 (1f:4a82)
endchannel
-SFX_Cry07_3_Ch2: ; 7ca91 (1f:4a91)
+SFX_Cry07_3_Ch2:
dutycycle 10
unknownsfx0x20 3, 195, 131, 6
unknownsfx0x20 14, 180, 2, 6
@@ -14,7 +14,7 @@ SFX_Cry07_3_Ch2: ; 7ca91 (1f:4a91)
endchannel
-SFX_Cry07_3_Ch3: ; 7caa0 (1f:4aa0)
+SFX_Cry07_3_Ch3:
unknownnoise0x20 4, 211, 92
unknownnoise0x20 15, 230, 76
unknownnoise0x20 8, 177, 92
diff --git a/audio/sfx/cry08_1.asm b/audio/sfx/cry08_1.asm
index 65131766..6ec5ca3c 100644
--- a/audio/sfx/cry08_1.asm
+++ b/audio/sfx/cry08_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry08_1_Ch1: ; 8c25 (2:4c25)
+SFX_Cry08_1_Ch1:
dutycycle 240
unknownsfx0x20 15, 246, 101, 5
unknownsfx0x20 10, 228, 124, 5
@@ -7,7 +7,7 @@ SFX_Cry08_1_Ch1: ; 8c25 (2:4c25)
endchannel
-SFX_Cry08_1_Ch2: ; 8c38 (2:4c38)
+SFX_Cry08_1_Ch2:
dutycycle 90
unknownsfx0x20 14, 214, 3, 5
unknownsfx0x20 9, 180, 27, 5
@@ -16,7 +16,7 @@ SFX_Cry08_1_Ch2: ; 8c38 (2:4c38)
endchannel
-SFX_Cry08_1_Ch3: ; 8c4b (2:4c4b)
+SFX_Cry08_1_Ch3:
unknownnoise0x20 12, 230, 76
unknownnoise0x20 11, 215, 92
unknownnoise0x20 15, 194, 76
diff --git a/audio/sfx/cry08_2.asm b/audio/sfx/cry08_2.asm
index 71a0e205..9c154b1c 100644
--- a/audio/sfx/cry08_2.asm
+++ b/audio/sfx/cry08_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry08_2_Ch1: ; 20ecd (8:4ecd)
+SFX_Cry08_2_Ch1:
dutycycle 240
unknownsfx0x20 15, 246, 101, 5
unknownsfx0x20 10, 228, 124, 5
@@ -7,7 +7,7 @@ SFX_Cry08_2_Ch1: ; 20ecd (8:4ecd)
endchannel
-SFX_Cry08_2_Ch2: ; 20ee0 (8:4ee0)
+SFX_Cry08_2_Ch2:
dutycycle 90
unknownsfx0x20 14, 214, 3, 5
unknownsfx0x20 9, 180, 27, 5
@@ -16,7 +16,7 @@ SFX_Cry08_2_Ch2: ; 20ee0 (8:4ee0)
endchannel
-SFX_Cry08_2_Ch3: ; 20ef3 (8:4ef3)
+SFX_Cry08_2_Ch3:
unknownnoise0x20 12, 230, 76
unknownnoise0x20 11, 215, 92
unknownnoise0x20 15, 194, 76
diff --git a/audio/sfx/cry08_3.asm b/audio/sfx/cry08_3.asm
index bfda8c3d..95fea40e 100644
--- a/audio/sfx/cry08_3.asm
+++ b/audio/sfx/cry08_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry08_3_Ch1: ; 7cc9a (1f:4c9a)
+SFX_Cry08_3_Ch1:
dutycycle 240
unknownsfx0x20 15, 246, 101, 5
unknownsfx0x20 10, 228, 124, 5
@@ -7,7 +7,7 @@ SFX_Cry08_3_Ch1: ; 7cc9a (1f:4c9a)
endchannel
-SFX_Cry08_3_Ch2: ; 7ccad (1f:4cad)
+SFX_Cry08_3_Ch2:
dutycycle 90
unknownsfx0x20 14, 214, 3, 5
unknownsfx0x20 9, 180, 27, 5
@@ -16,7 +16,7 @@ SFX_Cry08_3_Ch2: ; 7ccad (1f:4cad)
endchannel
-SFX_Cry08_3_Ch3: ; 7ccc0 (1f:4cc0)
+SFX_Cry08_3_Ch3:
unknownnoise0x20 12, 230, 76
unknownnoise0x20 11, 215, 92
unknownnoise0x20 15, 194, 76
diff --git a/audio/sfx/cry09_1.asm b/audio/sfx/cry09_1.asm
index 29dffdb6..46aae33c 100644
--- a/audio/sfx/cry09_1.asm
+++ b/audio/sfx/cry09_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry09_1_Ch1: ; 872f (2:472f)
+SFX_Cry09_1_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 160, 7
unknownsfx0x20 6, 230, 163, 7
@@ -10,7 +10,7 @@ SFX_Cry09_1_Ch1: ; 872f (2:472f)
endchannel
-SFX_Cry09_1_Ch2: ; 874c (2:474c)
+SFX_Cry09_1_Ch2:
dutycycle 5
unknownsfx0x20 2, 8, 0, 0
unknownsfx0x20 15, 167, 161, 6
@@ -23,7 +23,7 @@ SFX_Cry09_1_Ch2: ; 874c (2:474c)
endchannel
-SFX_Cry09_1_Ch3: ; 876d (2:476d)
+SFX_Cry09_1_Ch3:
unknownnoise0x20 2, 242, 60
unknownnoise0x20 8, 228, 62
unknownnoise0x20 15, 215, 60
diff --git a/audio/sfx/cry09_2.asm b/audio/sfx/cry09_2.asm
index c0e61ec7..8ce97609 100644
--- a/audio/sfx/cry09_2.asm
+++ b/audio/sfx/cry09_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry09_2_Ch1: ; 209d7 (8:49d7)
+SFX_Cry09_2_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 160, 7
unknownsfx0x20 6, 230, 163, 7
@@ -10,7 +10,7 @@ SFX_Cry09_2_Ch1: ; 209d7 (8:49d7)
endchannel
-SFX_Cry09_2_Ch2: ; 209f4 (8:49f4)
+SFX_Cry09_2_Ch2:
dutycycle 5
unknownsfx0x20 2, 8, 0, 0
unknownsfx0x20 15, 167, 161, 6
@@ -23,7 +23,7 @@ SFX_Cry09_2_Ch2: ; 209f4 (8:49f4)
endchannel
-SFX_Cry09_2_Ch3: ; 20a15 (8:4a15)
+SFX_Cry09_2_Ch3:
unknownnoise0x20 2, 242, 60
unknownnoise0x20 8, 228, 62
unknownnoise0x20 15, 215, 60
diff --git a/audio/sfx/cry09_3.asm b/audio/sfx/cry09_3.asm
index c5c0f599..a6b40dde 100644
--- a/audio/sfx/cry09_3.asm
+++ b/audio/sfx/cry09_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry09_3_Ch1: ; 7c7a4 (1f:47a4)
+SFX_Cry09_3_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 160, 7
unknownsfx0x20 6, 230, 163, 7
@@ -10,7 +10,7 @@ SFX_Cry09_3_Ch1: ; 7c7a4 (1f:47a4)
endchannel
-SFX_Cry09_3_Ch2: ; 7c7c1 (1f:47c1)
+SFX_Cry09_3_Ch2:
dutycycle 5
unknownsfx0x20 2, 8, 0, 0
unknownsfx0x20 15, 167, 161, 6
@@ -23,7 +23,7 @@ SFX_Cry09_3_Ch2: ; 7c7c1 (1f:47c1)
endchannel
-SFX_Cry09_3_Ch3: ; 7c7e2 (1f:47e2)
+SFX_Cry09_3_Ch3:
unknownnoise0x20 2, 242, 60
unknownnoise0x20 8, 228, 62
unknownnoise0x20 15, 215, 60
diff --git a/audio/sfx/cry0a_1.asm b/audio/sfx/cry0a_1.asm
index 9a8e616b..4264e858 100644
--- a/audio/sfx/cry0a_1.asm
+++ b/audio/sfx/cry0a_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry0A_1_Ch1: ; 8bca (2:4bca)
+SFX_Cry0A_1_Ch1:
dutycycle 240
unknownsfx0x20 8, 247, 224, 6
unknownsfx0x20 6, 230, 229, 6
@@ -10,7 +10,7 @@ SFX_Cry0A_1_Ch1: ; 8bca (2:4bca)
endchannel
-SFX_Cry0A_1_Ch2: ; 8be9 (2:4be9)
+SFX_Cry0A_1_Ch2:
dutycycle 5
unknownsfx0x20 3, 8, 0, 0
unknownsfx0x20 8, 167, 161, 6
@@ -23,7 +23,7 @@ SFX_Cry0A_1_Ch2: ; 8be9 (2:4be9)
endchannel
-SFX_Cry0A_1_Ch3: ; 8c0c (2:4c0c)
+SFX_Cry0A_1_Ch3:
unknownnoise0x20 2, 242, 60
unknownnoise0x20 8, 228, 62
unknownnoise0x20 8, 215, 60
diff --git a/audio/sfx/cry0a_2.asm b/audio/sfx/cry0a_2.asm
index 0386099d..42a8e603 100644
--- a/audio/sfx/cry0a_2.asm
+++ b/audio/sfx/cry0a_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry0A_2_Ch1: ; 20e72 (8:4e72)
+SFX_Cry0A_2_Ch1:
dutycycle 240
unknownsfx0x20 8, 247, 224, 6
unknownsfx0x20 6, 230, 229, 6
@@ -10,7 +10,7 @@ SFX_Cry0A_2_Ch1: ; 20e72 (8:4e72)
endchannel
-SFX_Cry0A_2_Ch2: ; 20e91 (8:4e91)
+SFX_Cry0A_2_Ch2:
dutycycle 5
unknownsfx0x20 3, 8, 0, 0
unknownsfx0x20 8, 167, 161, 6
@@ -23,7 +23,7 @@ SFX_Cry0A_2_Ch2: ; 20e91 (8:4e91)
endchannel
-SFX_Cry0A_2_Ch3: ; 20eb4 (8:4eb4)
+SFX_Cry0A_2_Ch3:
unknownnoise0x20 2, 242, 60
unknownnoise0x20 8, 228, 62
unknownnoise0x20 8, 215, 60
diff --git a/audio/sfx/cry0a_3.asm b/audio/sfx/cry0a_3.asm
index 4cf59333..f8576fa1 100644
--- a/audio/sfx/cry0a_3.asm
+++ b/audio/sfx/cry0a_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry0A_3_Ch1: ; 7cc3f (1f:4c3f)
+SFX_Cry0A_3_Ch1:
dutycycle 240
unknownsfx0x20 8, 247, 224, 6
unknownsfx0x20 6, 230, 229, 6
@@ -10,7 +10,7 @@ SFX_Cry0A_3_Ch1: ; 7cc3f (1f:4c3f)
endchannel
-SFX_Cry0A_3_Ch2: ; 7cc5e (1f:4c5e)
+SFX_Cry0A_3_Ch2:
dutycycle 5
unknownsfx0x20 3, 8, 0, 0
unknownsfx0x20 8, 167, 161, 6
@@ -23,7 +23,7 @@ SFX_Cry0A_3_Ch2: ; 7cc5e (1f:4c5e)
endchannel
-SFX_Cry0A_3_Ch3: ; 7cc81 (1f:4c81)
+SFX_Cry0A_3_Ch3:
unknownnoise0x20 2, 242, 60
unknownnoise0x20 8, 228, 62
unknownnoise0x20 8, 215, 60
diff --git a/audio/sfx/cry0b_1.asm b/audio/sfx/cry0b_1.asm
index 0f0edca7..d0da6c2e 100644
--- a/audio/sfx/cry0b_1.asm
+++ b/audio/sfx/cry0b_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry0B_1_Ch1: ; 8a5b (2:4a5b)
+SFX_Cry0B_1_Ch1:
dutycycle 204
unknownsfx0x20 4, 241, 0, 7
unknownsfx0x20 4, 225, 128, 7
@@ -13,7 +13,7 @@ SFX_Cry0B_1_Ch1: ; 8a5b (2:4a5b)
endchannel
-SFX_Cry0B_1_Ch2: ; 8a86 (2:4a86)
+SFX_Cry0B_1_Ch2:
dutycycle 68
unknownsfx0x20 12, 8, 0, 0
unknownsfx0x20 4, 241, 1, 7
@@ -25,7 +25,7 @@ SFX_Cry0B_1_Ch2: ; 8a86 (2:4a86)
endchannel
-SFX_Cry0B_1_Ch3: ; 8aa5 (2:4aa5)
+SFX_Cry0B_1_Ch3:
unknownnoise0x20 15, 8, 0
unknownnoise0x20 4, 8, 0
unknownnoise0x20 4, 209, 76
diff --git a/audio/sfx/cry0b_2.asm b/audio/sfx/cry0b_2.asm
index 071cd9b1..0fe7840a 100644
--- a/audio/sfx/cry0b_2.asm
+++ b/audio/sfx/cry0b_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry0B_2_Ch1: ; 20d03 (8:4d03)
+SFX_Cry0B_2_Ch1:
dutycycle 204
unknownsfx0x20 4, 241, 0, 7
unknownsfx0x20 4, 225, 128, 7
@@ -13,7 +13,7 @@ SFX_Cry0B_2_Ch1: ; 20d03 (8:4d03)
endchannel
-SFX_Cry0B_2_Ch2: ; 20d2e (8:4d2e)
+SFX_Cry0B_2_Ch2:
dutycycle 68
unknownsfx0x20 12, 8, 0, 0
unknownsfx0x20 4, 241, 1, 7
@@ -25,7 +25,7 @@ SFX_Cry0B_2_Ch2: ; 20d2e (8:4d2e)
endchannel
-SFX_Cry0B_2_Ch3: ; 20d4d (8:4d4d)
+SFX_Cry0B_2_Ch3:
unknownnoise0x20 15, 8, 0
unknownnoise0x20 4, 8, 0
unknownnoise0x20 4, 209, 76
diff --git a/audio/sfx/cry0b_3.asm b/audio/sfx/cry0b_3.asm
index c2bd1809..ff761b85 100644
--- a/audio/sfx/cry0b_3.asm
+++ b/audio/sfx/cry0b_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry0B_3_Ch1: ; 7cad0 (1f:4ad0)
+SFX_Cry0B_3_Ch1:
dutycycle 204
unknownsfx0x20 4, 241, 0, 7
unknownsfx0x20 4, 225, 128, 7
@@ -13,7 +13,7 @@ SFX_Cry0B_3_Ch1: ; 7cad0 (1f:4ad0)
endchannel
-SFX_Cry0B_3_Ch2: ; 7cafb (1f:4afb)
+SFX_Cry0B_3_Ch2:
dutycycle 68
unknownsfx0x20 12, 8, 0, 0
unknownsfx0x20 4, 241, 1, 7
@@ -25,7 +25,7 @@ SFX_Cry0B_3_Ch2: ; 7cafb (1f:4afb)
endchannel
-SFX_Cry0B_3_Ch3: ; 7cb1a (1f:4b1a)
+SFX_Cry0B_3_Ch3:
unknownnoise0x20 15, 8, 0
unknownnoise0x20 4, 8, 0
unknownnoise0x20 4, 209, 76
diff --git a/audio/sfx/cry0c_1.asm b/audio/sfx/cry0c_1.asm
index 1c0f9f65..4ff72662 100644
--- a/audio/sfx/cry0c_1.asm
+++ b/audio/sfx/cry0c_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry0C_1_Ch1: ; 8abe (2:4abe)
+SFX_Cry0C_1_Ch1:
dutycycle 204
unknownsfx0x20 8, 245, 0, 6
unknownsfx0x20 2, 210, 56, 6
@@ -12,7 +12,7 @@ SFX_Cry0C_1_Ch1: ; 8abe (2:4abe)
endchannel
-SFX_Cry0C_1_Ch2: ; 8ae5 (2:4ae5)
+SFX_Cry0C_1_Ch2:
dutycycle 68
unknownsfx0x20 12, 195, 192, 5
unknownsfx0x20 3, 177, 249, 5
@@ -25,5 +25,5 @@ SFX_Cry0C_1_Ch2: ; 8ae5 (2:4ae5)
unknownsfx0x20 8, 145, 225, 5
-SFX_Cry0C_1_Ch3: ; 8b0b (2:4b0b)
+SFX_Cry0C_1_Ch3:
endchannel
diff --git a/audio/sfx/cry0c_2.asm b/audio/sfx/cry0c_2.asm
index ef598b3e..8fb925da 100644
--- a/audio/sfx/cry0c_2.asm
+++ b/audio/sfx/cry0c_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry0C_2_Ch1: ; 20d66 (8:4d66)
+SFX_Cry0C_2_Ch1:
dutycycle 204
unknownsfx0x20 8, 245, 0, 6
unknownsfx0x20 2, 210, 56, 6
@@ -12,7 +12,7 @@ SFX_Cry0C_2_Ch1: ; 20d66 (8:4d66)
endchannel
-SFX_Cry0C_2_Ch2: ; 20d8d (8:4d8d)
+SFX_Cry0C_2_Ch2:
dutycycle 68
unknownsfx0x20 12, 195, 192, 5
unknownsfx0x20 3, 177, 249, 5
@@ -25,5 +25,5 @@ SFX_Cry0C_2_Ch2: ; 20d8d (8:4d8d)
unknownsfx0x20 8, 145, 225, 5
-SFX_Cry0C_2_Ch3: ; 20db3 (8:4db3)
+SFX_Cry0C_2_Ch3:
endchannel
diff --git a/audio/sfx/cry0c_3.asm b/audio/sfx/cry0c_3.asm
index 4075ac51..149b585d 100644
--- a/audio/sfx/cry0c_3.asm
+++ b/audio/sfx/cry0c_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry0C_3_Ch1: ; 7cb33 (1f:4b33)
+SFX_Cry0C_3_Ch1:
dutycycle 204
unknownsfx0x20 8, 245, 0, 6
unknownsfx0x20 2, 210, 56, 6
@@ -12,7 +12,7 @@ SFX_Cry0C_3_Ch1: ; 7cb33 (1f:4b33)
endchannel
-SFX_Cry0C_3_Ch2: ; 7cb5a (1f:4b5a)
+SFX_Cry0C_3_Ch2:
dutycycle 68
unknownsfx0x20 12, 195, 192, 5
unknownsfx0x20 3, 177, 249, 5
@@ -25,5 +25,5 @@ SFX_Cry0C_3_Ch2: ; 7cb5a (1f:4b5a)
unknownsfx0x20 8, 145, 225, 5
-SFX_Cry0C_3_Ch3: ; 7cb80 (1f:4b80)
+SFX_Cry0C_3_Ch3:
endchannel
diff --git a/audio/sfx/cry0d_1.asm b/audio/sfx/cry0d_1.asm
index 591bf58e..dccccb4e 100644
--- a/audio/sfx/cry0d_1.asm
+++ b/audio/sfx/cry0d_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry0D_1_Ch1: ; 8b2a (2:4b2a)
+SFX_Cry0D_1_Ch1:
dutycycle 136
unknownsfx0x20 5, 242, 80, 6
unknownsfx0x20 9, 209, 96, 6
@@ -10,7 +10,7 @@ SFX_Cry0D_1_Ch1: ; 8b2a (2:4b2a)
endchannel
-SFX_Cry0D_1_Ch2: ; 8b49 (2:4b49)
+SFX_Cry0D_1_Ch2:
dutycycle 64
unknownsfx0x20 4, 8, 0, 0
unknownsfx0x20 5, 242, 81, 6
@@ -26,7 +26,7 @@ SFX_Cry0D_1_Ch2: ; 8b49 (2:4b49)
endchannel
-SFX_Cry0D_1_Ch3: ; 8b78 (2:4b78)
+SFX_Cry0D_1_Ch3:
unknownnoise0x20 6, 210, 28
unknownnoise0x20 9, 177, 44
unknownnoise0x20 8, 194, 44
diff --git a/audio/sfx/cry0d_2.asm b/audio/sfx/cry0d_2.asm
index a7ca34f1..718364dd 100644
--- a/audio/sfx/cry0d_2.asm
+++ b/audio/sfx/cry0d_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry0D_2_Ch1: ; 20dd2 (8:4dd2)
+SFX_Cry0D_2_Ch1:
dutycycle 136
unknownsfx0x20 5, 242, 80, 6
unknownsfx0x20 9, 209, 96, 6
@@ -10,7 +10,7 @@ SFX_Cry0D_2_Ch1: ; 20dd2 (8:4dd2)
endchannel
-SFX_Cry0D_2_Ch2: ; 20df1 (8:4df1)
+SFX_Cry0D_2_Ch2:
dutycycle 64
unknownsfx0x20 4, 8, 0, 0
unknownsfx0x20 5, 242, 81, 6
@@ -26,7 +26,7 @@ SFX_Cry0D_2_Ch2: ; 20df1 (8:4df1)
endchannel
-SFX_Cry0D_2_Ch3: ; 20e20 (8:4e20)
+SFX_Cry0D_2_Ch3:
unknownnoise0x20 6, 210, 28
unknownnoise0x20 9, 177, 44
unknownnoise0x20 8, 194, 44
diff --git a/audio/sfx/cry0d_3.asm b/audio/sfx/cry0d_3.asm
index a9187dc8..ce26e7e5 100644
--- a/audio/sfx/cry0d_3.asm
+++ b/audio/sfx/cry0d_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry0D_3_Ch1: ; 7cb9f (1f:4b9f)
+SFX_Cry0D_3_Ch1:
dutycycle 136
unknownsfx0x20 5, 242, 80, 6
unknownsfx0x20 9, 209, 96, 6
@@ -10,7 +10,7 @@ SFX_Cry0D_3_Ch1: ; 7cb9f (1f:4b9f)
endchannel
-SFX_Cry0D_3_Ch2: ; 7cbbe (1f:4bbe)
+SFX_Cry0D_3_Ch2:
dutycycle 64
unknownsfx0x20 4, 8, 0, 0
unknownsfx0x20 5, 242, 81, 6
@@ -26,7 +26,7 @@ SFX_Cry0D_3_Ch2: ; 7cbbe (1f:4bbe)
endchannel
-SFX_Cry0D_3_Ch3: ; 7cbed (1f:4bed)
+SFX_Cry0D_3_Ch3:
unknownnoise0x20 6, 210, 28
unknownnoise0x20 9, 177, 44
unknownnoise0x20 8, 194, 44
diff --git a/audio/sfx/cry0e_1.asm b/audio/sfx/cry0e_1.asm
index 1e778dea..c30aaf20 100644
--- a/audio/sfx/cry0e_1.asm
+++ b/audio/sfx/cry0e_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry0E_1_Ch1: ; 89af (2:49af)
+SFX_Cry0E_1_Ch1:
dutycycle 165
unknownsfx0x20 4, 225, 0, 7
unknownsfx0x20 4, 242, 128, 7
@@ -7,7 +7,7 @@ SFX_Cry0E_1_Ch1: ; 89af (2:49af)
endchannel
-SFX_Cry0E_1_Ch2: ; 89c2 (2:49c2)
+SFX_Cry0E_1_Ch2:
dutycycle 10
unknownsfx0x20 4, 177, 225, 6
unknownsfx0x20 3, 194, 225, 6
@@ -16,7 +16,7 @@ SFX_Cry0E_1_Ch2: ; 89c2 (2:49c2)
endchannel
-SFX_Cry0E_1_Ch3: ; 89d5 (2:49d5)
+SFX_Cry0E_1_Ch3:
unknownnoise0x20 2, 97, 50
unknownnoise0x20 2, 97, 33
unknownnoise0x20 8, 97, 17
diff --git a/audio/sfx/cry0e_2.asm b/audio/sfx/cry0e_2.asm
index bab74449..194fb04b 100644
--- a/audio/sfx/cry0e_2.asm
+++ b/audio/sfx/cry0e_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry0E_2_Ch1: ; 20c57 (8:4c57)
+SFX_Cry0E_2_Ch1:
dutycycle 165
unknownsfx0x20 4, 225, 0, 7
unknownsfx0x20 4, 242, 128, 7
@@ -7,7 +7,7 @@ SFX_Cry0E_2_Ch1: ; 20c57 (8:4c57)
endchannel
-SFX_Cry0E_2_Ch2: ; 20c6a (8:4c6a)
+SFX_Cry0E_2_Ch2:
dutycycle 10
unknownsfx0x20 4, 177, 225, 6
unknownsfx0x20 3, 194, 225, 6
@@ -16,7 +16,7 @@ SFX_Cry0E_2_Ch2: ; 20c6a (8:4c6a)
endchannel
-SFX_Cry0E_2_Ch3: ; 20c7d (8:4c7d)
+SFX_Cry0E_2_Ch3:
unknownnoise0x20 2, 97, 50
unknownnoise0x20 2, 97, 33
unknownnoise0x20 8, 97, 17
diff --git a/audio/sfx/cry0e_3.asm b/audio/sfx/cry0e_3.asm
index da14b3a7..062e8970 100644
--- a/audio/sfx/cry0e_3.asm
+++ b/audio/sfx/cry0e_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry0E_3_Ch1: ; 7ca24 (1f:4a24)
+SFX_Cry0E_3_Ch1:
dutycycle 165
unknownsfx0x20 4, 225, 0, 7
unknownsfx0x20 4, 242, 128, 7
@@ -7,7 +7,7 @@ SFX_Cry0E_3_Ch1: ; 7ca24 (1f:4a24)
endchannel
-SFX_Cry0E_3_Ch2: ; 7ca37 (1f:4a37)
+SFX_Cry0E_3_Ch2:
dutycycle 10
unknownsfx0x20 4, 177, 225, 6
unknownsfx0x20 3, 194, 225, 6
@@ -16,7 +16,7 @@ SFX_Cry0E_3_Ch2: ; 7ca37 (1f:4a37)
endchannel
-SFX_Cry0E_3_Ch3: ; 7ca4a (1f:4a4a)
+SFX_Cry0E_3_Ch3:
unknownnoise0x20 2, 97, 50
unknownnoise0x20 2, 97, 33
unknownnoise0x20 8, 97, 17
diff --git a/audio/sfx/cry0f_1.asm b/audio/sfx/cry0f_1.asm
index 84563293..1646d4b5 100644
--- a/audio/sfx/cry0f_1.asm
+++ b/audio/sfx/cry0f_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry0F_1_Ch1: ; 88f1 (2:48f1)
+SFX_Cry0F_1_Ch1:
dutycycle 241
unknownsfx0x20 4, 247, 192, 7
unknownsfx0x20 12, 230, 194, 7
@@ -9,7 +9,7 @@ SFX_Cry0F_1_Ch1: ; 88f1 (2:48f1)
endchannel
-SFX_Cry0F_1_Ch2: ; 890c (2:490c)
+SFX_Cry0F_1_Ch2:
dutycycle 204
unknownsfx0x20 3, 199, 129, 7
unknownsfx0x20 12, 182, 128, 7
@@ -20,7 +20,7 @@ SFX_Cry0F_1_Ch2: ; 890c (2:490c)
endchannel
-SFX_Cry0F_1_Ch3: ; 8927 (2:4927)
+SFX_Cry0F_1_Ch3:
unknownnoise0x20 3, 228, 60
unknownnoise0x20 12, 214, 44
unknownnoise0x20 4, 228, 60
diff --git a/audio/sfx/cry0f_2.asm b/audio/sfx/cry0f_2.asm
index 0fbaeb7a..6058e7cc 100644
--- a/audio/sfx/cry0f_2.asm
+++ b/audio/sfx/cry0f_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry0F_2_Ch1: ; 20b99 (8:4b99)
+SFX_Cry0F_2_Ch1:
dutycycle 241
unknownsfx0x20 4, 247, 192, 7
unknownsfx0x20 12, 230, 194, 7
@@ -9,7 +9,7 @@ SFX_Cry0F_2_Ch1: ; 20b99 (8:4b99)
endchannel
-SFX_Cry0F_2_Ch2: ; 20bb4 (8:4bb4)
+SFX_Cry0F_2_Ch2:
dutycycle 204
unknownsfx0x20 3, 199, 129, 7
unknownsfx0x20 12, 182, 128, 7
@@ -20,7 +20,7 @@ SFX_Cry0F_2_Ch2: ; 20bb4 (8:4bb4)
endchannel
-SFX_Cry0F_2_Ch3: ; 20bcf (8:4bcf)
+SFX_Cry0F_2_Ch3:
unknownnoise0x20 3, 228, 60
unknownnoise0x20 12, 214, 44
unknownnoise0x20 4, 228, 60
diff --git a/audio/sfx/cry0f_3.asm b/audio/sfx/cry0f_3.asm
index 810ab949..113f5ed1 100644
--- a/audio/sfx/cry0f_3.asm
+++ b/audio/sfx/cry0f_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry0F_3_Ch1: ; 7c966 (1f:4966)
+SFX_Cry0F_3_Ch1:
dutycycle 241
unknownsfx0x20 4, 247, 192, 7
unknownsfx0x20 12, 230, 194, 7
@@ -9,7 +9,7 @@ SFX_Cry0F_3_Ch1: ; 7c966 (1f:4966)
endchannel
-SFX_Cry0F_3_Ch2: ; 7c981 (1f:4981)
+SFX_Cry0F_3_Ch2:
dutycycle 204
unknownsfx0x20 3, 199, 129, 7
unknownsfx0x20 12, 182, 128, 7
@@ -20,7 +20,7 @@ SFX_Cry0F_3_Ch2: ; 7c981 (1f:4981)
endchannel
-SFX_Cry0F_3_Ch3: ; 7c99c (1f:499c)
+SFX_Cry0F_3_Ch3:
unknownnoise0x20 3, 228, 60
unknownnoise0x20 12, 214, 44
unknownnoise0x20 4, 228, 60
diff --git a/audio/sfx/cry10_1.asm b/audio/sfx/cry10_1.asm
index 956fc910..5199b973 100644
--- a/audio/sfx/cry10_1.asm
+++ b/audio/sfx/cry10_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry10_1_Ch1: ; 8937 (2:4937)
+SFX_Cry10_1_Ch1:
dutycycle 201
unknownsfx0x20 8, 247, 128, 6
unknownsfx0x20 2, 247, 96, 6
@@ -11,7 +11,7 @@ SFX_Cry10_1_Ch1: ; 8937 (2:4937)
endchannel
-SFX_Cry10_1_Ch2: ; 895a (2:495a)
+SFX_Cry10_1_Ch2:
dutycycle 121
unknownsfx0x20 10, 231, 130, 6
unknownsfx0x20 2, 231, 98, 6
@@ -24,7 +24,7 @@ SFX_Cry10_1_Ch2: ; 895a (2:495a)
endchannel
-SFX_Cry10_1_Ch3: ; 897d (2:497d)
+SFX_Cry10_1_Ch3:
unknownnoise0x20 4, 116, 33
unknownnoise0x20 4, 116, 16
unknownnoise0x20 4, 113, 32
diff --git a/audio/sfx/cry10_2.asm b/audio/sfx/cry10_2.asm
index 5d4cc3aa..789c61b1 100644
--- a/audio/sfx/cry10_2.asm
+++ b/audio/sfx/cry10_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry10_2_Ch1: ; 20bdf (8:4bdf)
+SFX_Cry10_2_Ch1:
dutycycle 201
unknownsfx0x20 8, 247, 128, 6
unknownsfx0x20 2, 247, 96, 6
@@ -11,7 +11,7 @@ SFX_Cry10_2_Ch1: ; 20bdf (8:4bdf)
endchannel
-SFX_Cry10_2_Ch2: ; 20c02 (8:4c02)
+SFX_Cry10_2_Ch2:
dutycycle 121
unknownsfx0x20 10, 231, 130, 6
unknownsfx0x20 2, 231, 98, 6
@@ -24,7 +24,7 @@ SFX_Cry10_2_Ch2: ; 20c02 (8:4c02)
endchannel
-SFX_Cry10_2_Ch3: ; 20c25 (8:4c25)
+SFX_Cry10_2_Ch3:
unknownnoise0x20 4, 116, 33
unknownnoise0x20 4, 116, 16
unknownnoise0x20 4, 113, 32
diff --git a/audio/sfx/cry10_3.asm b/audio/sfx/cry10_3.asm
index 2d5df465..83980fc7 100644
--- a/audio/sfx/cry10_3.asm
+++ b/audio/sfx/cry10_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry10_3_Ch1: ; 7c9ac (1f:49ac)
+SFX_Cry10_3_Ch1:
dutycycle 201
unknownsfx0x20 8, 247, 128, 6
unknownsfx0x20 2, 247, 96, 6
@@ -11,7 +11,7 @@ SFX_Cry10_3_Ch1: ; 7c9ac (1f:49ac)
endchannel
-SFX_Cry10_3_Ch2: ; 7c9cf (1f:49cf)
+SFX_Cry10_3_Ch2:
dutycycle 121
unknownsfx0x20 10, 231, 130, 6
unknownsfx0x20 2, 231, 98, 6
@@ -24,7 +24,7 @@ SFX_Cry10_3_Ch2: ; 7c9cf (1f:49cf)
endchannel
-SFX_Cry10_3_Ch3: ; 7c9f2 (1f:49f2)
+SFX_Cry10_3_Ch3:
unknownnoise0x20 4, 116, 33
unknownnoise0x20 4, 116, 16
unknownnoise0x20 4, 113, 32
diff --git a/audio/sfx/cry11_1.asm b/audio/sfx/cry11_1.asm
index dd354c90..d7e0b0f9 100644
--- a/audio/sfx/cry11_1.asm
+++ b/audio/sfx/cry11_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry11_1_Ch1: ; 8813 (2:4813)
+SFX_Cry11_1_Ch1:
dutycycle 240
unknownsfx0x20 6, 247, 160, 7
unknownsfx0x20 8, 230, 164, 7
@@ -10,7 +10,7 @@ SFX_Cry11_1_Ch1: ; 8813 (2:4813)
endchannel
-SFX_Cry11_1_Ch2: ; 8832 (2:4832)
+SFX_Cry11_1_Ch2:
dutycycle 10
unknownsfx0x20 4, 8, 0, 0
unknownsfx0x20 6, 167, 65, 7
@@ -23,7 +23,7 @@ SFX_Cry11_1_Ch2: ; 8832 (2:4832)
endchannel
-SFX_Cry11_1_Ch3: ; 8855 (2:4855)
+SFX_Cry11_1_Ch3:
unknownnoise0x20 2, 242, 76
unknownnoise0x20 6, 230, 58
unknownnoise0x20 4, 215, 58
diff --git a/audio/sfx/cry11_2.asm b/audio/sfx/cry11_2.asm
index 37546fe1..f46580eb 100644
--- a/audio/sfx/cry11_2.asm
+++ b/audio/sfx/cry11_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry11_2_Ch1: ; 20abb (8:4abb)
+SFX_Cry11_2_Ch1:
dutycycle 240
unknownsfx0x20 6, 247, 160, 7
unknownsfx0x20 8, 230, 164, 7
@@ -10,7 +10,7 @@ SFX_Cry11_2_Ch1: ; 20abb (8:4abb)
endchannel
-SFX_Cry11_2_Ch2: ; 20ada (8:4ada)
+SFX_Cry11_2_Ch2:
dutycycle 10
unknownsfx0x20 4, 8, 0, 0
unknownsfx0x20 6, 167, 65, 7
@@ -23,7 +23,7 @@ SFX_Cry11_2_Ch2: ; 20ada (8:4ada)
endchannel
-SFX_Cry11_2_Ch3: ; 20afd (8:4afd)
+SFX_Cry11_2_Ch3:
unknownnoise0x20 2, 242, 76
unknownnoise0x20 6, 230, 58
unknownnoise0x20 4, 215, 58
diff --git a/audio/sfx/cry11_3.asm b/audio/sfx/cry11_3.asm
index 75b9a861..c07e01a5 100644
--- a/audio/sfx/cry11_3.asm
+++ b/audio/sfx/cry11_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry11_3_Ch1: ; 7c888 (1f:4888)
+SFX_Cry11_3_Ch1:
dutycycle 240
unknownsfx0x20 6, 247, 160, 7
unknownsfx0x20 8, 230, 164, 7
@@ -10,7 +10,7 @@ SFX_Cry11_3_Ch1: ; 7c888 (1f:4888)
endchannel
-SFX_Cry11_3_Ch2: ; 7c8a7 (1f:48a7)
+SFX_Cry11_3_Ch2:
dutycycle 10
unknownsfx0x20 4, 8, 0, 0
unknownsfx0x20 6, 167, 65, 7
@@ -23,7 +23,7 @@ SFX_Cry11_3_Ch2: ; 7c8a7 (1f:48a7)
endchannel
-SFX_Cry11_3_Ch3: ; 7c8ca (1f:48ca)
+SFX_Cry11_3_Ch3:
unknownnoise0x20 2, 242, 76
unknownnoise0x20 6, 230, 58
unknownnoise0x20 4, 215, 58
diff --git a/audio/sfx/cry12_1.asm b/audio/sfx/cry12_1.asm
index a6b1a0f8..62956626 100644
--- a/audio/sfx/cry12_1.asm
+++ b/audio/sfx/cry12_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry12_1_Ch1: ; 8d2b (2:4d2b)
+SFX_Cry12_1_Ch1:
dutycycle 165
unknownsfx0x20 12, 242, 64, 4
unknownsfx0x20 15, 227, 160, 4
@@ -7,7 +7,7 @@ SFX_Cry12_1_Ch1: ; 8d2b (2:4d2b)
endchannel
-SFX_Cry12_1_Ch2: ; 8d3e (2:4d3e)
+SFX_Cry12_1_Ch2:
dutycycle 238
unknownsfx0x20 11, 210, 56, 4
unknownsfx0x20 14, 198, 152, 4
@@ -16,7 +16,7 @@ SFX_Cry12_1_Ch2: ; 8d3e (2:4d3e)
endchannel
-SFX_Cry12_1_Ch3: ; 8d51 (2:4d51)
+SFX_Cry12_1_Ch3:
unknownnoise0x20 10, 230, 108
unknownnoise0x20 15, 210, 92
unknownnoise0x20 3, 194, 108
diff --git a/audio/sfx/cry12_2.asm b/audio/sfx/cry12_2.asm
index e2b29de7..4acb8911 100644
--- a/audio/sfx/cry12_2.asm
+++ b/audio/sfx/cry12_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry12_2_Ch1: ; 20fd3 (8:4fd3)
+SFX_Cry12_2_Ch1:
dutycycle 165
unknownsfx0x20 12, 242, 64, 4
unknownsfx0x20 15, 227, 160, 4
@@ -7,7 +7,7 @@ SFX_Cry12_2_Ch1: ; 20fd3 (8:4fd3)
endchannel
-SFX_Cry12_2_Ch2: ; 20fe6 (8:4fe6)
+SFX_Cry12_2_Ch2:
dutycycle 238
unknownsfx0x20 11, 210, 56, 4
unknownsfx0x20 14, 198, 152, 4
@@ -16,7 +16,7 @@ SFX_Cry12_2_Ch2: ; 20fe6 (8:4fe6)
endchannel
-SFX_Cry12_2_Ch3: ; 20ff9 (8:4ff9)
+SFX_Cry12_2_Ch3:
unknownnoise0x20 10, 230, 108
unknownnoise0x20 15, 210, 92
unknownnoise0x20 3, 194, 108
diff --git a/audio/sfx/cry12_3.asm b/audio/sfx/cry12_3.asm
index 143f8045..bb433ac9 100644
--- a/audio/sfx/cry12_3.asm
+++ b/audio/sfx/cry12_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry12_3_Ch1: ; 7cda0 (1f:4da0)
+SFX_Cry12_3_Ch1:
dutycycle 165
unknownsfx0x20 12, 242, 64, 4
unknownsfx0x20 15, 227, 160, 4
@@ -7,7 +7,7 @@ SFX_Cry12_3_Ch1: ; 7cda0 (1f:4da0)
endchannel
-SFX_Cry12_3_Ch2: ; 7cdb3 (1f:4db3)
+SFX_Cry12_3_Ch2:
dutycycle 238
unknownsfx0x20 11, 210, 56, 4
unknownsfx0x20 14, 198, 152, 4
@@ -16,7 +16,7 @@ SFX_Cry12_3_Ch2: ; 7cdb3 (1f:4db3)
endchannel
-SFX_Cry12_3_Ch3: ; 7cdc6 (1f:4dc6)
+SFX_Cry12_3_Ch3:
unknownnoise0x20 10, 230, 108
unknownnoise0x20 15, 210, 92
unknownnoise0x20 3, 194, 108
diff --git a/audio/sfx/cry13_1.asm b/audio/sfx/cry13_1.asm
index c2f1002f..7f9ef226 100644
--- a/audio/sfx/cry13_1.asm
+++ b/audio/sfx/cry13_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry13_1_Ch1: ; 8d5e (2:4d5e)
+SFX_Cry13_1_Ch1:
dutycycle 51
unknownsfx0x20 15, 246, 192, 5
unknownsfx0x20 8, 227, 188, 5
@@ -9,7 +9,7 @@ SFX_Cry13_1_Ch1: ; 8d5e (2:4d5e)
endchannel
-SFX_Cry13_1_Ch2: ; 8d79 (2:4d79)
+SFX_Cry13_1_Ch2:
dutycycle 153
unknownsfx0x20 14, 198, 177, 4
unknownsfx0x20 7, 195, 173, 4
@@ -20,7 +20,7 @@ SFX_Cry13_1_Ch2: ; 8d79 (2:4d79)
endchannel
-SFX_Cry13_1_Ch3: ; 8d94 (2:4d94)
+SFX_Cry13_1_Ch3:
unknownnoise0x20 10, 230, 92
unknownnoise0x20 10, 214, 108
unknownnoise0x20 4, 194, 76
diff --git a/audio/sfx/cry13_2.asm b/audio/sfx/cry13_2.asm
index b072fb07..35d723dd 100644
--- a/audio/sfx/cry13_2.asm
+++ b/audio/sfx/cry13_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry13_2_Ch1: ; 21006 (8:5006)
+SFX_Cry13_2_Ch1:
dutycycle 51
unknownsfx0x20 15, 246, 192, 5
unknownsfx0x20 8, 227, 188, 5
@@ -9,7 +9,7 @@ SFX_Cry13_2_Ch1: ; 21006 (8:5006)
endchannel
-SFX_Cry13_2_Ch2: ; 21021 (8:5021)
+SFX_Cry13_2_Ch2:
dutycycle 153
unknownsfx0x20 14, 198, 177, 4
unknownsfx0x20 7, 195, 173, 4
@@ -20,7 +20,7 @@ SFX_Cry13_2_Ch2: ; 21021 (8:5021)
endchannel
-SFX_Cry13_2_Ch3: ; 2103c (8:503c)
+SFX_Cry13_2_Ch3:
unknownnoise0x20 10, 230, 92
unknownnoise0x20 10, 214, 108
unknownnoise0x20 4, 194, 76
diff --git a/audio/sfx/cry13_3.asm b/audio/sfx/cry13_3.asm
index f2c110b8..a298e5ff 100644
--- a/audio/sfx/cry13_3.asm
+++ b/audio/sfx/cry13_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry13_3_Ch1: ; 7cdd3 (1f:4dd3)
+SFX_Cry13_3_Ch1:
dutycycle 51
unknownsfx0x20 15, 246, 192, 5
unknownsfx0x20 8, 227, 188, 5
@@ -9,7 +9,7 @@ SFX_Cry13_3_Ch1: ; 7cdd3 (1f:4dd3)
endchannel
-SFX_Cry13_3_Ch2: ; 7cdee (1f:4dee)
+SFX_Cry13_3_Ch2:
dutycycle 153
unknownsfx0x20 14, 198, 177, 4
unknownsfx0x20 7, 195, 173, 4
@@ -20,7 +20,7 @@ SFX_Cry13_3_Ch2: ; 7cdee (1f:4dee)
endchannel
-SFX_Cry13_3_Ch3: ; 7ce09 (1f:4e09)
+SFX_Cry13_3_Ch3:
unknownnoise0x20 10, 230, 92
unknownnoise0x20 10, 214, 108
unknownnoise0x20 4, 194, 76
diff --git a/audio/sfx/cry14_1.asm b/audio/sfx/cry14_1.asm
index 125fe86e..b3cb43b9 100644
--- a/audio/sfx/cry14_1.asm
+++ b/audio/sfx/cry14_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry14_1_Ch1: ; 8da7 (2:4da7)
+SFX_Cry14_1_Ch1:
dutycycle 240
unknownsfx0x20 8, 228, 144, 7
unknownsfx0x20 15, 245, 192, 7
@@ -6,7 +6,7 @@ SFX_Cry14_1_Ch1: ; 8da7 (2:4da7)
endchannel
-SFX_Cry14_1_Ch2: ; 8db6 (2:4db6)
+SFX_Cry14_1_Ch2:
dutycycle 165
unknownsfx0x20 10, 196, 113, 7
unknownsfx0x20 15, 182, 162, 7
@@ -14,7 +14,7 @@ SFX_Cry14_1_Ch2: ; 8db6 (2:4db6)
endchannel
-SFX_Cry14_1_Ch3: ; 8dc5 (2:4dc5)
+SFX_Cry14_1_Ch3:
unknownnoise0x20 8, 228, 76
unknownnoise0x20 14, 196, 60
unknownnoise0x20 8, 209, 44
diff --git a/audio/sfx/cry14_2.asm b/audio/sfx/cry14_2.asm
index 3ba2ac26..d243bcbd 100644
--- a/audio/sfx/cry14_2.asm
+++ b/audio/sfx/cry14_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry14_2_Ch1: ; 2104f (8:504f)
+SFX_Cry14_2_Ch1:
dutycycle 240
unknownsfx0x20 8, 228, 144, 7
unknownsfx0x20 15, 245, 192, 7
@@ -6,7 +6,7 @@ SFX_Cry14_2_Ch1: ; 2104f (8:504f)
endchannel
-SFX_Cry14_2_Ch2: ; 2105e (8:505e)
+SFX_Cry14_2_Ch2:
dutycycle 165
unknownsfx0x20 10, 196, 113, 7
unknownsfx0x20 15, 182, 162, 7
@@ -14,7 +14,7 @@ SFX_Cry14_2_Ch2: ; 2105e (8:505e)
endchannel
-SFX_Cry14_2_Ch3: ; 2106d (8:506d)
+SFX_Cry14_2_Ch3:
unknownnoise0x20 8, 228, 76
unknownnoise0x20 14, 196, 60
unknownnoise0x20 8, 209, 44
diff --git a/audio/sfx/cry14_3.asm b/audio/sfx/cry14_3.asm
index fe2cd1e8..b1a32bc4 100644
--- a/audio/sfx/cry14_3.asm
+++ b/audio/sfx/cry14_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry14_3_Ch1: ; 7ce1c (1f:4e1c)
+SFX_Cry14_3_Ch1:
dutycycle 240
unknownsfx0x20 8, 228, 144, 7
unknownsfx0x20 15, 245, 192, 7
@@ -6,7 +6,7 @@ SFX_Cry14_3_Ch1: ; 7ce1c (1f:4e1c)
endchannel
-SFX_Cry14_3_Ch2: ; 7ce2b (1f:4e2b)
+SFX_Cry14_3_Ch2:
dutycycle 165
unknownsfx0x20 10, 196, 113, 7
unknownsfx0x20 15, 182, 162, 7
@@ -14,7 +14,7 @@ SFX_Cry14_3_Ch2: ; 7ce2b (1f:4e2b)
endchannel
-SFX_Cry14_3_Ch3: ; 7ce3a (1f:4e3a)
+SFX_Cry14_3_Ch3:
unknownnoise0x20 8, 228, 76
unknownnoise0x20 14, 196, 60
unknownnoise0x20 8, 209, 44
diff --git a/audio/sfx/cry15_1.asm b/audio/sfx/cry15_1.asm
index 54f94deb..4ebd4963 100644
--- a/audio/sfx/cry15_1.asm
+++ b/audio/sfx/cry15_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry15_1_Ch1: ; 8e35 (2:4e35)
+SFX_Cry15_1_Ch1:
dutycycle 240
unknownsfx0x20 4, 243, 128, 7
unknownsfx0x20 15, 231, 0, 7
@@ -9,7 +9,7 @@ SFX_Cry15_1_Ch1: ; 8e35 (2:4e35)
endchannel
-SFX_Cry15_1_Ch2: ; 8e50 (2:4e50)
+SFX_Cry15_1_Ch2:
dutycycle 90
unknownsfx0x20 6, 195, 1, 7
unknownsfx0x20 14, 183, 129, 6
@@ -20,7 +20,7 @@ SFX_Cry15_1_Ch2: ; 8e50 (2:4e50)
endchannel
-SFX_Cry15_1_Ch3: ; 8e6b (2:4e6b)
+SFX_Cry15_1_Ch3:
unknownnoise0x20 6, 227, 92
unknownnoise0x20 14, 214, 76
unknownnoise0x20 6, 198, 60
diff --git a/audio/sfx/cry15_2.asm b/audio/sfx/cry15_2.asm
index 14b1af72..77807203 100644
--- a/audio/sfx/cry15_2.asm
+++ b/audio/sfx/cry15_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry15_2_Ch1: ; 210dd (8:50dd)
+SFX_Cry15_2_Ch1:
dutycycle 240
unknownsfx0x20 4, 243, 128, 7
unknownsfx0x20 15, 231, 0, 7
@@ -9,7 +9,7 @@ SFX_Cry15_2_Ch1: ; 210dd (8:50dd)
endchannel
-SFX_Cry15_2_Ch2: ; 210f8 (8:50f8)
+SFX_Cry15_2_Ch2:
dutycycle 90
unknownsfx0x20 6, 195, 1, 7
unknownsfx0x20 14, 183, 129, 6
@@ -20,7 +20,7 @@ SFX_Cry15_2_Ch2: ; 210f8 (8:50f8)
endchannel
-SFX_Cry15_2_Ch3: ; 21113 (8:5113)
+SFX_Cry15_2_Ch3:
unknownnoise0x20 6, 227, 92
unknownnoise0x20 14, 214, 76
unknownnoise0x20 6, 198, 60
diff --git a/audio/sfx/cry15_3.asm b/audio/sfx/cry15_3.asm
index 36951439..2c24d658 100644
--- a/audio/sfx/cry15_3.asm
+++ b/audio/sfx/cry15_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry15_3_Ch1: ; 7ceaa (1f:4eaa)
+SFX_Cry15_3_Ch1:
dutycycle 240
unknownsfx0x20 4, 243, 128, 7
unknownsfx0x20 15, 231, 0, 7
@@ -9,7 +9,7 @@ SFX_Cry15_3_Ch1: ; 7ceaa (1f:4eaa)
endchannel
-SFX_Cry15_3_Ch2: ; 7cec5 (1f:4ec5)
+SFX_Cry15_3_Ch2:
dutycycle 90
unknownsfx0x20 6, 195, 1, 7
unknownsfx0x20 14, 183, 129, 6
@@ -20,7 +20,7 @@ SFX_Cry15_3_Ch2: ; 7cec5 (1f:4ec5)
endchannel
-SFX_Cry15_3_Ch3: ; 7cee0 (1f:4ee0)
+SFX_Cry15_3_Ch3:
unknownnoise0x20 6, 227, 92
unknownnoise0x20 14, 214, 76
unknownnoise0x20 6, 198, 60
diff --git a/audio/sfx/cry16_1.asm b/audio/sfx/cry16_1.asm
index 91fa2596..8a7ee4c1 100644
--- a/audio/sfx/cry16_1.asm
+++ b/audio/sfx/cry16_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry16_1_Ch1: ; 8cc8 (2:4cc8)
+SFX_Cry16_1_Ch1:
dutycycle 240
unknownsfx0x20 15, 215, 128, 7
unknownsfx0x20 4, 230, 160, 7
@@ -6,7 +6,7 @@ SFX_Cry16_1_Ch1: ; 8cc8 (2:4cc8)
endchannel
-SFX_Cry16_1_Ch2: ; 8cd7 (2:4cd7)
+SFX_Cry16_1_Ch2:
dutycycle 90
unknownsfx0x20 15, 199, 83, 7
unknownsfx0x20 5, 182, 114, 7
@@ -14,7 +14,7 @@ SFX_Cry16_1_Ch2: ; 8cd7 (2:4cd7)
endchannel
-SFX_Cry16_1_Ch3: ; 8ce6 (2:4ce6)
+SFX_Cry16_1_Ch3:
unknownnoise0x20 13, 246, 76
unknownnoise0x20 4, 230, 60
unknownnoise0x20 15, 242, 76
diff --git a/audio/sfx/cry16_2.asm b/audio/sfx/cry16_2.asm
index 5e29eba8..46729c2a 100644
--- a/audio/sfx/cry16_2.asm
+++ b/audio/sfx/cry16_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry16_2_Ch1: ; 20f70 (8:4f70)
+SFX_Cry16_2_Ch1:
dutycycle 240
unknownsfx0x20 15, 215, 128, 7
unknownsfx0x20 4, 230, 160, 7
@@ -6,7 +6,7 @@ SFX_Cry16_2_Ch1: ; 20f70 (8:4f70)
endchannel
-SFX_Cry16_2_Ch2: ; 20f7f (8:4f7f)
+SFX_Cry16_2_Ch2:
dutycycle 90
unknownsfx0x20 15, 199, 83, 7
unknownsfx0x20 5, 182, 114, 7
@@ -14,7 +14,7 @@ SFX_Cry16_2_Ch2: ; 20f7f (8:4f7f)
endchannel
-SFX_Cry16_2_Ch3: ; 20f8e (8:4f8e)
+SFX_Cry16_2_Ch3:
unknownnoise0x20 13, 246, 76
unknownnoise0x20 4, 230, 60
unknownnoise0x20 15, 242, 76
diff --git a/audio/sfx/cry16_3.asm b/audio/sfx/cry16_3.asm
index af32e9ef..a94ac495 100644
--- a/audio/sfx/cry16_3.asm
+++ b/audio/sfx/cry16_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry16_3_Ch1: ; 7cd3d (1f:4d3d)
+SFX_Cry16_3_Ch1:
dutycycle 240
unknownsfx0x20 15, 215, 128, 7
unknownsfx0x20 4, 230, 160, 7
@@ -6,7 +6,7 @@ SFX_Cry16_3_Ch1: ; 7cd3d (1f:4d3d)
endchannel
-SFX_Cry16_3_Ch2: ; 7cd4c (1f:4d4c)
+SFX_Cry16_3_Ch2:
dutycycle 90
unknownsfx0x20 15, 199, 83, 7
unknownsfx0x20 5, 182, 114, 7
@@ -14,7 +14,7 @@ SFX_Cry16_3_Ch2: ; 7cd4c (1f:4d4c)
endchannel
-SFX_Cry16_3_Ch3: ; 7cd5b (1f:4d5b)
+SFX_Cry16_3_Ch3:
unknownnoise0x20 13, 246, 76
unknownnoise0x20 4, 230, 60
unknownnoise0x20 15, 242, 76
diff --git a/audio/sfx/cry17_1.asm b/audio/sfx/cry17_1.asm
index 2f2cde11..ddf0967d 100644
--- a/audio/sfx/cry17_1.asm
+++ b/audio/sfx/cry17_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry17_1_Ch1: ; 8e7e (2:4e7e)
+SFX_Cry17_1_Ch1:
dutycycle 15
unknownsfx0x20 15, 247, 0, 5
unknownsfx0x20 15, 231, 8, 5
@@ -7,7 +7,7 @@ SFX_Cry17_1_Ch1: ; 8e7e (2:4e7e)
endchannel
-SFX_Cry17_1_Ch2: ; 8e91 (2:4e91)
+SFX_Cry17_1_Ch2:
dutycycle 68
unknownsfx0x20 14, 215, 129, 4
unknownsfx0x20 14, 199, 137, 4
@@ -16,7 +16,7 @@ SFX_Cry17_1_Ch2: ; 8e91 (2:4e91)
endchannel
-SFX_Cry17_1_Ch3: ; 8ea4 (2:4ea4)
+SFX_Cry17_1_Ch3:
unknownnoise0x20 14, 247, 124
unknownnoise0x20 12, 246, 108
unknownnoise0x20 9, 228, 124
diff --git a/audio/sfx/cry17_2.asm b/audio/sfx/cry17_2.asm
index cca78ae2..f2528875 100644
--- a/audio/sfx/cry17_2.asm
+++ b/audio/sfx/cry17_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry17_2_Ch1: ; 21126 (8:5126)
+SFX_Cry17_2_Ch1:
dutycycle 15
unknownsfx0x20 15, 247, 0, 5
unknownsfx0x20 15, 231, 8, 5
@@ -7,7 +7,7 @@ SFX_Cry17_2_Ch1: ; 21126 (8:5126)
endchannel
-SFX_Cry17_2_Ch2: ; 21139 (8:5139)
+SFX_Cry17_2_Ch2:
dutycycle 68
unknownsfx0x20 14, 215, 129, 4
unknownsfx0x20 14, 199, 137, 4
@@ -16,7 +16,7 @@ SFX_Cry17_2_Ch2: ; 21139 (8:5139)
endchannel
-SFX_Cry17_2_Ch3: ; 2114c (8:514c)
+SFX_Cry17_2_Ch3:
unknownnoise0x20 14, 247, 124
unknownnoise0x20 12, 246, 108
unknownnoise0x20 9, 228, 124
diff --git a/audio/sfx/cry17_3.asm b/audio/sfx/cry17_3.asm
index 6aad35d0..f180a3b8 100644
--- a/audio/sfx/cry17_3.asm
+++ b/audio/sfx/cry17_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry17_3_Ch1: ; 7cef3 (1f:4ef3)
+SFX_Cry17_3_Ch1:
dutycycle 15
unknownsfx0x20 15, 247, 0, 5
unknownsfx0x20 15, 231, 8, 5
@@ -7,7 +7,7 @@ SFX_Cry17_3_Ch1: ; 7cef3 (1f:4ef3)
endchannel
-SFX_Cry17_3_Ch2: ; 7cf06 (1f:4f06)
+SFX_Cry17_3_Ch2:
dutycycle 68
unknownsfx0x20 14, 215, 129, 4
unknownsfx0x20 14, 199, 137, 4
@@ -16,7 +16,7 @@ SFX_Cry17_3_Ch2: ; 7cf06 (1f:4f06)
endchannel
-SFX_Cry17_3_Ch3: ; 7cf19 (1f:4f19)
+SFX_Cry17_3_Ch3:
unknownnoise0x20 14, 247, 124
unknownnoise0x20 12, 246, 108
unknownnoise0x20 9, 228, 124
diff --git a/audio/sfx/cry18_1.asm b/audio/sfx/cry18_1.asm
index 576ea693..c28bf7f4 100644
--- a/audio/sfx/cry18_1.asm
+++ b/audio/sfx/cry18_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry18_1_Ch1: ; 8f8e (2:4f8e)
+SFX_Cry18_1_Ch1:
dutycycle 80
unknownsfx0x20 10, 245, 128, 6
unknownsfx0x20 3, 226, 160, 6
@@ -11,7 +11,7 @@ SFX_Cry18_1_Ch1: ; 8f8e (2:4f8e)
endchannel
-SFX_Cry18_1_Ch2: ; 8fb1 (2:4fb1)
+SFX_Cry18_1_Ch2:
dutycycle 15
unknownsfx0x20 9, 213, 49, 6
unknownsfx0x20 3, 210, 82, 6
@@ -24,7 +24,7 @@ SFX_Cry18_1_Ch2: ; 8fb1 (2:4fb1)
endchannel
-SFX_Cry18_1_Ch3: ; 8fd4 (2:4fd4)
+SFX_Cry18_1_Ch3:
unknownnoise0x20 6, 227, 76
unknownnoise0x20 4, 195, 60
unknownnoise0x20 5, 212, 60
diff --git a/audio/sfx/cry18_2.asm b/audio/sfx/cry18_2.asm
index 333ddb9e..1c3c26b9 100644
--- a/audio/sfx/cry18_2.asm
+++ b/audio/sfx/cry18_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry18_2_Ch1: ; 21236 (8:5236)
+SFX_Cry18_2_Ch1:
dutycycle 80
unknownsfx0x20 10, 245, 128, 6
unknownsfx0x20 3, 226, 160, 6
@@ -11,7 +11,7 @@ SFX_Cry18_2_Ch1: ; 21236 (8:5236)
endchannel
-SFX_Cry18_2_Ch2: ; 21259 (8:5259)
+SFX_Cry18_2_Ch2:
dutycycle 15
unknownsfx0x20 9, 213, 49, 6
unknownsfx0x20 3, 210, 82, 6
@@ -24,7 +24,7 @@ SFX_Cry18_2_Ch2: ; 21259 (8:5259)
endchannel
-SFX_Cry18_2_Ch3: ; 2127c (8:527c)
+SFX_Cry18_2_Ch3:
unknownnoise0x20 6, 227, 76
unknownnoise0x20 4, 195, 60
unknownnoise0x20 5, 212, 60
diff --git a/audio/sfx/cry18_3.asm b/audio/sfx/cry18_3.asm
index 3c7b1a99..ceeda42f 100644
--- a/audio/sfx/cry18_3.asm
+++ b/audio/sfx/cry18_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry18_3_Ch1: ; 7d003 (1f:5003)
+SFX_Cry18_3_Ch1:
dutycycle 80
unknownsfx0x20 10, 245, 128, 6
unknownsfx0x20 3, 226, 160, 6
@@ -11,7 +11,7 @@ SFX_Cry18_3_Ch1: ; 7d003 (1f:5003)
endchannel
-SFX_Cry18_3_Ch2: ; 7d026 (1f:5026)
+SFX_Cry18_3_Ch2:
dutycycle 15
unknownsfx0x20 9, 213, 49, 6
unknownsfx0x20 3, 210, 82, 6
@@ -24,7 +24,7 @@ SFX_Cry18_3_Ch2: ; 7d026 (1f:5026)
endchannel
-SFX_Cry18_3_Ch3: ; 7d049 (1f:5049)
+SFX_Cry18_3_Ch3:
unknownnoise0x20 6, 227, 76
unknownnoise0x20 4, 195, 60
unknownnoise0x20 5, 212, 60
diff --git a/audio/sfx/cry19_1.asm b/audio/sfx/cry19_1.asm
index 94607b9b..4b5b4ed0 100644
--- a/audio/sfx/cry19_1.asm
+++ b/audio/sfx/cry19_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry19_1_Ch1: ; 8ca6 (2:4ca6)
+SFX_Cry19_1_Ch1:
dutycycle 27
unknownsfx0x20 7, 210, 64, 7
unknownsfx0x20 15, 229, 96, 7
@@ -6,7 +6,7 @@ SFX_Cry19_1_Ch1: ; 8ca6 (2:4ca6)
endchannel
-SFX_Cry19_1_Ch2: ; 8cb5 (2:4cb5)
+SFX_Cry19_1_Ch2:
dutycycle 129
unknownsfx0x20 2, 194, 1, 7
unknownsfx0x20 4, 194, 8, 7
@@ -14,5 +14,5 @@ SFX_Cry19_1_Ch2: ; 8cb5 (2:4cb5)
unknownsfx0x20 15, 162, 1, 7
-SFX_Cry19_1_Ch3: ; 8cc7 (2:4cc7)
+SFX_Cry19_1_Ch3:
endchannel
diff --git a/audio/sfx/cry19_2.asm b/audio/sfx/cry19_2.asm
index 717a5d2b..9c9557a9 100644
--- a/audio/sfx/cry19_2.asm
+++ b/audio/sfx/cry19_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry19_2_Ch1: ; 20f4e (8:4f4e)
+SFX_Cry19_2_Ch1:
dutycycle 27
unknownsfx0x20 7, 210, 64, 7
unknownsfx0x20 15, 229, 96, 7
@@ -6,7 +6,7 @@ SFX_Cry19_2_Ch1: ; 20f4e (8:4f4e)
endchannel
-SFX_Cry19_2_Ch2: ; 20f5d (8:4f5d)
+SFX_Cry19_2_Ch2:
dutycycle 129
unknownsfx0x20 2, 194, 1, 7
unknownsfx0x20 4, 194, 8, 7
@@ -14,5 +14,5 @@ SFX_Cry19_2_Ch2: ; 20f5d (8:4f5d)
unknownsfx0x20 15, 162, 1, 7
-SFX_Cry19_2_Ch3: ; 20f6f (8:4f6f)
+SFX_Cry19_2_Ch3:
endchannel
diff --git a/audio/sfx/cry19_3.asm b/audio/sfx/cry19_3.asm
index 535be2b6..71eccbf8 100644
--- a/audio/sfx/cry19_3.asm
+++ b/audio/sfx/cry19_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry19_3_Ch1: ; 7cd1b (1f:4d1b)
+SFX_Cry19_3_Ch1:
dutycycle 27
unknownsfx0x20 7, 210, 64, 7
unknownsfx0x20 15, 229, 96, 7
@@ -6,7 +6,7 @@ SFX_Cry19_3_Ch1: ; 7cd1b (1f:4d1b)
endchannel
-SFX_Cry19_3_Ch2: ; 7cd2a (1f:4d2a)
+SFX_Cry19_3_Ch2:
dutycycle 129
unknownsfx0x20 2, 194, 1, 7
unknownsfx0x20 4, 194, 8, 7
@@ -14,5 +14,5 @@ SFX_Cry19_3_Ch2: ; 7cd2a (1f:4d2a)
unknownsfx0x20 15, 162, 1, 7
-SFX_Cry19_3_Ch3: ; 7cd3c (1f:4d3c)
+SFX_Cry19_3_Ch3:
endchannel
diff --git a/audio/sfx/cry1a_1.asm b/audio/sfx/cry1a_1.asm
index 0217deef..7f8911c7 100644
--- a/audio/sfx/cry1a_1.asm
+++ b/audio/sfx/cry1a_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry1A_1_Ch1: ; 8eff (2:4eff)
+SFX_Cry1A_1_Ch1:
dutycycle 240
unknownsfx0x20 6, 247, 64, 7
unknownsfx0x20 12, 230, 68, 7
@@ -9,7 +9,7 @@ SFX_Cry1A_1_Ch1: ; 8eff (2:4eff)
endchannel
-SFX_Cry1A_1_Ch2: ; 8f1a (2:4f1a)
+SFX_Cry1A_1_Ch2:
dutycycle 10
unknownsfx0x20 6, 199, 1, 7
unknownsfx0x20 11, 182, 2, 7
@@ -20,7 +20,7 @@ SFX_Cry1A_1_Ch2: ; 8f1a (2:4f1a)
endchannel
-SFX_Cry1A_1_Ch3: ; 8f35 (2:4f35)
+SFX_Cry1A_1_Ch3:
unknownnoise0x20 3, 226, 60
unknownnoise0x20 8, 214, 76
unknownnoise0x20 5, 212, 60
diff --git a/audio/sfx/cry1a_2.asm b/audio/sfx/cry1a_2.asm
index c94fc657..da54ff6e 100644
--- a/audio/sfx/cry1a_2.asm
+++ b/audio/sfx/cry1a_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry1A_2_Ch1: ; 211a7 (8:51a7)
+SFX_Cry1A_2_Ch1:
dutycycle 240
unknownsfx0x20 6, 247, 64, 7
unknownsfx0x20 12, 230, 68, 7
@@ -9,7 +9,7 @@ SFX_Cry1A_2_Ch1: ; 211a7 (8:51a7)
endchannel
-SFX_Cry1A_2_Ch2: ; 211c2 (8:51c2)
+SFX_Cry1A_2_Ch2:
dutycycle 10
unknownsfx0x20 6, 199, 1, 7
unknownsfx0x20 11, 182, 2, 7
@@ -20,7 +20,7 @@ SFX_Cry1A_2_Ch2: ; 211c2 (8:51c2)
endchannel
-SFX_Cry1A_2_Ch3: ; 211dd (8:51dd)
+SFX_Cry1A_2_Ch3:
unknownnoise0x20 3, 226, 60
unknownnoise0x20 8, 214, 76
unknownnoise0x20 5, 212, 60
diff --git a/audio/sfx/cry1a_3.asm b/audio/sfx/cry1a_3.asm
index 29ff2ec0..d16cf035 100644
--- a/audio/sfx/cry1a_3.asm
+++ b/audio/sfx/cry1a_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry1A_3_Ch1: ; 7cf74 (1f:4f74)
+SFX_Cry1A_3_Ch1:
dutycycle 240
unknownsfx0x20 6, 247, 64, 7
unknownsfx0x20 12, 230, 68, 7
@@ -9,7 +9,7 @@ SFX_Cry1A_3_Ch1: ; 7cf74 (1f:4f74)
endchannel
-SFX_Cry1A_3_Ch2: ; 7cf8f (1f:4f8f)
+SFX_Cry1A_3_Ch2:
dutycycle 10
unknownsfx0x20 6, 199, 1, 7
unknownsfx0x20 11, 182, 2, 7
@@ -20,7 +20,7 @@ SFX_Cry1A_3_Ch2: ; 7cf8f (1f:4f8f)
endchannel
-SFX_Cry1A_3_Ch3: ; 7cfaa (1f:4faa)
+SFX_Cry1A_3_Ch3:
unknownnoise0x20 3, 226, 60
unknownnoise0x20 8, 214, 76
unknownnoise0x20 5, 212, 60
diff --git a/audio/sfx/cry1b_1.asm b/audio/sfx/cry1b_1.asm
index 858d724a..f6f03c98 100644
--- a/audio/sfx/cry1b_1.asm
+++ b/audio/sfx/cry1b_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry1B_1_Ch1: ; 8cf0 (2:4cf0)
+SFX_Cry1B_1_Ch1:
dutycycle 240
unknownsfx0x20 6, 247, 192, 6
unknownsfx0x20 15, 231, 0, 7
@@ -8,7 +8,7 @@ SFX_Cry1B_1_Ch1: ; 8cf0 (2:4cf0)
endchannel
-SFX_Cry1B_1_Ch2: ; 8d07 (2:4d07)
+SFX_Cry1B_1_Ch2:
dutycycle 10
unknownsfx0x20 7, 230, 129, 6
unknownsfx0x20 14, 213, 193, 6
@@ -18,7 +18,7 @@ SFX_Cry1B_1_Ch2: ; 8d07 (2:4d07)
endchannel
-SFX_Cry1B_1_Ch3: ; 8d1e (2:4d1e)
+SFX_Cry1B_1_Ch3:
unknownnoise0x20 10, 166, 60
unknownnoise0x20 14, 148, 44
unknownnoise0x20 5, 163, 60
diff --git a/audio/sfx/cry1b_2.asm b/audio/sfx/cry1b_2.asm
index 423258ee..fe96943d 100644
--- a/audio/sfx/cry1b_2.asm
+++ b/audio/sfx/cry1b_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry1B_2_Ch1: ; 20f98 (8:4f98)
+SFX_Cry1B_2_Ch1:
dutycycle 240
unknownsfx0x20 6, 247, 192, 6
unknownsfx0x20 15, 231, 0, 7
@@ -8,7 +8,7 @@ SFX_Cry1B_2_Ch1: ; 20f98 (8:4f98)
endchannel
-SFX_Cry1B_2_Ch2: ; 20faf (8:4faf)
+SFX_Cry1B_2_Ch2:
dutycycle 10
unknownsfx0x20 7, 230, 129, 6
unknownsfx0x20 14, 213, 193, 6
@@ -18,7 +18,7 @@ SFX_Cry1B_2_Ch2: ; 20faf (8:4faf)
endchannel
-SFX_Cry1B_2_Ch3: ; 20fc6 (8:4fc6)
+SFX_Cry1B_2_Ch3:
unknownnoise0x20 10, 166, 60
unknownnoise0x20 14, 148, 44
unknownnoise0x20 5, 163, 60
diff --git a/audio/sfx/cry1b_3.asm b/audio/sfx/cry1b_3.asm
index 7fe6019f..8a034b1e 100644
--- a/audio/sfx/cry1b_3.asm
+++ b/audio/sfx/cry1b_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry1B_3_Ch1: ; 7cd65 (1f:4d65)
+SFX_Cry1B_3_Ch1:
dutycycle 240
unknownsfx0x20 6, 247, 192, 6
unknownsfx0x20 15, 231, 0, 7
@@ -8,7 +8,7 @@ SFX_Cry1B_3_Ch1: ; 7cd65 (1f:4d65)
endchannel
-SFX_Cry1B_3_Ch2: ; 7cd7c (1f:4d7c)
+SFX_Cry1B_3_Ch2:
dutycycle 10
unknownsfx0x20 7, 230, 129, 6
unknownsfx0x20 14, 213, 193, 6
@@ -18,7 +18,7 @@ SFX_Cry1B_3_Ch2: ; 7cd7c (1f:4d7c)
endchannel
-SFX_Cry1B_3_Ch3: ; 7cd93 (1f:4d93)
+SFX_Cry1B_3_Ch3:
unknownnoise0x20 10, 166, 60
unknownnoise0x20 14, 148, 44
unknownnoise0x20 5, 163, 60
diff --git a/audio/sfx/cry1c_1.asm b/audio/sfx/cry1c_1.asm
index f7e66dfb..1561353e 100644
--- a/audio/sfx/cry1c_1.asm
+++ b/audio/sfx/cry1c_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry1C_1_Ch1: ; 8eb1 (2:4eb1)
+SFX_Cry1C_1_Ch1:
dutycycle 245
unknownsfx0x20 7, 214, 225, 7
unknownsfx0x20 6, 198, 226, 7
@@ -11,7 +11,7 @@ SFX_Cry1C_1_Ch1: ; 8eb1 (2:4eb1)
endchannel
-SFX_Cry1C_1_Ch2: ; 8ed4 (2:4ed4)
+SFX_Cry1C_1_Ch2:
dutycycle 68
unknownsfx0x20 6, 195, 201, 7
unknownsfx0x20 6, 179, 199, 7
@@ -22,7 +22,7 @@ SFX_Cry1C_1_Ch2: ; 8ed4 (2:4ed4)
endchannel
-SFX_Cry1C_1_Ch3: ; 8eef (2:4eef)
+SFX_Cry1C_1_Ch3:
unknownnoise0x20 13, 25, 124
unknownnoise0x20 13, 247, 140
unknownnoise0x20 12, 214, 124
diff --git a/audio/sfx/cry1c_2.asm b/audio/sfx/cry1c_2.asm
index 8037fc96..c589a24d 100644
--- a/audio/sfx/cry1c_2.asm
+++ b/audio/sfx/cry1c_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry1C_2_Ch1: ; 21159 (8:5159)
+SFX_Cry1C_2_Ch1:
dutycycle 245
unknownsfx0x20 7, 214, 225, 7
unknownsfx0x20 6, 198, 226, 7
@@ -11,7 +11,7 @@ SFX_Cry1C_2_Ch1: ; 21159 (8:5159)
endchannel
-SFX_Cry1C_2_Ch2: ; 2117c (8:517c)
+SFX_Cry1C_2_Ch2:
dutycycle 68
unknownsfx0x20 6, 195, 201, 7
unknownsfx0x20 6, 179, 199, 7
@@ -22,7 +22,7 @@ SFX_Cry1C_2_Ch2: ; 2117c (8:517c)
endchannel
-SFX_Cry1C_2_Ch3: ; 21197 (8:5197)
+SFX_Cry1C_2_Ch3:
unknownnoise0x20 13, 25, 124
unknownnoise0x20 13, 247, 140
unknownnoise0x20 12, 214, 124
diff --git a/audio/sfx/cry1c_3.asm b/audio/sfx/cry1c_3.asm
index 853eb1c6..930e3368 100644
--- a/audio/sfx/cry1c_3.asm
+++ b/audio/sfx/cry1c_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry1C_3_Ch1: ; 7cf26 (1f:4f26)
+SFX_Cry1C_3_Ch1:
dutycycle 245
unknownsfx0x20 7, 214, 225, 7
unknownsfx0x20 6, 198, 226, 7
@@ -11,7 +11,7 @@ SFX_Cry1C_3_Ch1: ; 7cf26 (1f:4f26)
endchannel
-SFX_Cry1C_3_Ch2: ; 7cf49 (1f:4f49)
+SFX_Cry1C_3_Ch2:
dutycycle 68
unknownsfx0x20 6, 195, 201, 7
unknownsfx0x20 6, 179, 199, 7
@@ -22,7 +22,7 @@ SFX_Cry1C_3_Ch2: ; 7cf49 (1f:4f49)
endchannel
-SFX_Cry1C_3_Ch3: ; 7cf64 (1f:4f64)
+SFX_Cry1C_3_Ch3:
unknownnoise0x20 13, 25, 124
unknownnoise0x20 13, 247, 140
unknownnoise0x20 12, 214, 124
diff --git a/audio/sfx/cry1d_1.asm b/audio/sfx/cry1d_1.asm
index 6e2818c1..6b8b3f79 100644
--- a/audio/sfx/cry1d_1.asm
+++ b/audio/sfx/cry1d_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry1D_1_Ch1: ; 8f48 (2:4f48)
+SFX_Cry1D_1_Ch1:
dutycycle 244
unknownsfx0x20 15, 240, 5, 7
unknownsfx0x20 10, 224, 0, 7
@@ -9,7 +9,7 @@ SFX_Cry1D_1_Ch1: ; 8f48 (2:4f48)
endchannel
-SFX_Cry1D_1_Ch2: ; 8f63 (2:4f63)
+SFX_Cry1D_1_Ch2:
dutycycle 34
unknownsfx0x20 15, 176, 195, 6
unknownsfx0x20 10, 160, 193, 6
@@ -20,7 +20,7 @@ SFX_Cry1D_1_Ch2: ; 8f63 (2:4f63)
endchannel
-SFX_Cry1D_1_Ch3: ; 8f7e (2:4f7e)
+SFX_Cry1D_1_Ch3:
unknownnoise0x20 6, 230, 76
unknownnoise0x20 15, 214, 60
unknownnoise0x20 10, 197, 74
diff --git a/audio/sfx/cry1d_2.asm b/audio/sfx/cry1d_2.asm
index c7a2c512..31fccb8d 100644
--- a/audio/sfx/cry1d_2.asm
+++ b/audio/sfx/cry1d_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry1D_2_Ch1: ; 211f0 (8:51f0)
+SFX_Cry1D_2_Ch1:
dutycycle 244
unknownsfx0x20 15, 240, 5, 7
unknownsfx0x20 10, 224, 0, 7
@@ -9,7 +9,7 @@ SFX_Cry1D_2_Ch1: ; 211f0 (8:51f0)
endchannel
-SFX_Cry1D_2_Ch2: ; 2120b (8:520b)
+SFX_Cry1D_2_Ch2:
dutycycle 34
unknownsfx0x20 15, 176, 195, 6
unknownsfx0x20 10, 160, 193, 6
@@ -20,7 +20,7 @@ SFX_Cry1D_2_Ch2: ; 2120b (8:520b)
endchannel
-SFX_Cry1D_2_Ch3: ; 21226 (8:5226)
+SFX_Cry1D_2_Ch3:
unknownnoise0x20 6, 230, 76
unknownnoise0x20 15, 214, 60
unknownnoise0x20 10, 197, 74
diff --git a/audio/sfx/cry1d_3.asm b/audio/sfx/cry1d_3.asm
index 7210406c..fbbe9ca5 100644
--- a/audio/sfx/cry1d_3.asm
+++ b/audio/sfx/cry1d_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry1D_3_Ch1: ; 7cfbd (1f:4fbd)
+SFX_Cry1D_3_Ch1:
dutycycle 244
unknownsfx0x20 15, 240, 5, 7
unknownsfx0x20 10, 224, 0, 7
@@ -9,7 +9,7 @@ SFX_Cry1D_3_Ch1: ; 7cfbd (1f:4fbd)
endchannel
-SFX_Cry1D_3_Ch2: ; 7cfd8 (1f:4fd8)
+SFX_Cry1D_3_Ch2:
dutycycle 34
unknownsfx0x20 15, 176, 195, 6
unknownsfx0x20 10, 160, 193, 6
@@ -20,7 +20,7 @@ SFX_Cry1D_3_Ch2: ; 7cfd8 (1f:4fd8)
endchannel
-SFX_Cry1D_3_Ch3: ; 7cff3 (1f:4ff3)
+SFX_Cry1D_3_Ch3:
unknownnoise0x20 6, 230, 76
unknownnoise0x20 15, 214, 60
unknownnoise0x20 10, 197, 74
diff --git a/audio/sfx/cry1e_1.asm b/audio/sfx/cry1e_1.asm
index e445fdd7..9501a06a 100644
--- a/audio/sfx/cry1e_1.asm
+++ b/audio/sfx/cry1e_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry1E_1_Ch1: ; 8dcf (2:4dcf)
+SFX_Cry1E_1_Ch1:
dutycycle 240
unknownsfx0x20 6, 242, 0, 6
unknownsfx0x20 6, 226, 64, 6
@@ -11,7 +11,7 @@ SFX_Cry1E_1_Ch1: ; 8dcf (2:4dcf)
endchannel
-SFX_Cry1E_1_Ch2: ; 8df2 (2:4df2)
+SFX_Cry1E_1_Ch2:
dutycycle 17
unknownsfx0x20 3, 8, 1, 0
unknownsfx0x20 6, 194, 193, 5
@@ -25,7 +25,7 @@ SFX_Cry1E_1_Ch2: ; 8df2 (2:4df2)
endchannel
-SFX_Cry1E_1_Ch3: ; 8e19 (2:4e19)
+SFX_Cry1E_1_Ch3:
unknownnoise0x20 6, 8, 1
unknownnoise0x20 5, 226, 92
unknownnoise0x20 5, 194, 76
diff --git a/audio/sfx/cry1e_2.asm b/audio/sfx/cry1e_2.asm
index 59c9985f..fe112101 100644
--- a/audio/sfx/cry1e_2.asm
+++ b/audio/sfx/cry1e_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry1E_2_Ch1: ; 21077 (8:5077)
+SFX_Cry1E_2_Ch1:
dutycycle 240
unknownsfx0x20 6, 242, 0, 6
unknownsfx0x20 6, 226, 64, 6
@@ -11,7 +11,7 @@ SFX_Cry1E_2_Ch1: ; 21077 (8:5077)
endchannel
-SFX_Cry1E_2_Ch2: ; 2109a (8:509a)
+SFX_Cry1E_2_Ch2:
dutycycle 17
unknownsfx0x20 3, 8, 1, 0
unknownsfx0x20 6, 194, 193, 5
@@ -25,7 +25,7 @@ SFX_Cry1E_2_Ch2: ; 2109a (8:509a)
endchannel
-SFX_Cry1E_2_Ch3: ; 210c1 (8:50c1)
+SFX_Cry1E_2_Ch3:
unknownnoise0x20 6, 8, 1
unknownnoise0x20 5, 226, 92
unknownnoise0x20 5, 194, 76
diff --git a/audio/sfx/cry1e_3.asm b/audio/sfx/cry1e_3.asm
index 1c50d4b8..f5bdbe08 100644
--- a/audio/sfx/cry1e_3.asm
+++ b/audio/sfx/cry1e_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry1E_3_Ch1: ; 7ce44 (1f:4e44)
+SFX_Cry1E_3_Ch1:
dutycycle 240
unknownsfx0x20 6, 242, 0, 6
unknownsfx0x20 6, 226, 64, 6
@@ -11,7 +11,7 @@ SFX_Cry1E_3_Ch1: ; 7ce44 (1f:4e44)
endchannel
-SFX_Cry1E_3_Ch2: ; 7ce67 (1f:4e67)
+SFX_Cry1E_3_Ch2:
dutycycle 17
unknownsfx0x20 3, 8, 1, 0
unknownsfx0x20 6, 194, 193, 5
@@ -25,7 +25,7 @@ SFX_Cry1E_3_Ch2: ; 7ce67 (1f:4e67)
endchannel
-SFX_Cry1E_3_Ch3: ; 7ce8e (1f:4e8e)
+SFX_Cry1E_3_Ch3:
unknownnoise0x20 6, 8, 1
unknownnoise0x20 5, 226, 92
unknownnoise0x20 5, 194, 76
diff --git a/audio/sfx/cry1f_1.asm b/audio/sfx/cry1f_1.asm
index 52be80df..28b91c61 100644
--- a/audio/sfx/cry1f_1.asm
+++ b/audio/sfx/cry1f_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry1F_1_Ch1: ; 8fe7 (2:4fe7)
+SFX_Cry1F_1_Ch1:
dutycycle 165
unknownsfx0x20 3, 244, 65, 6
unknownsfx0x20 13, 214, 33, 7
@@ -7,7 +7,7 @@ SFX_Cry1F_1_Ch1: ; 8fe7 (2:4fe7)
endchannel
-SFX_Cry1F_1_Ch2: ; 8ffa (2:4ffa)
+SFX_Cry1F_1_Ch2:
dutycycle 204
unknownsfx0x20 4, 244, 128, 5
unknownsfx0x20 14, 230, 224, 6
@@ -16,7 +16,7 @@ SFX_Cry1F_1_Ch2: ; 8ffa (2:4ffa)
endchannel
-SFX_Cry1F_1_Ch3: ; 900d (2:500d)
+SFX_Cry1F_1_Ch3:
unknownnoise0x20 5, 196, 70
unknownnoise0x20 13, 165, 68
unknownnoise0x20 8, 196, 69
diff --git a/audio/sfx/cry1f_2.asm b/audio/sfx/cry1f_2.asm
index da7df61a..9691654f 100644
--- a/audio/sfx/cry1f_2.asm
+++ b/audio/sfx/cry1f_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry1F_2_Ch1: ; 2128f (8:528f)
+SFX_Cry1F_2_Ch1:
dutycycle 165
unknownsfx0x20 3, 244, 65, 6
unknownsfx0x20 13, 214, 33, 7
@@ -7,7 +7,7 @@ SFX_Cry1F_2_Ch1: ; 2128f (8:528f)
endchannel
-SFX_Cry1F_2_Ch2: ; 212a2 (8:52a2)
+SFX_Cry1F_2_Ch2:
dutycycle 204
unknownsfx0x20 4, 244, 128, 5
unknownsfx0x20 14, 230, 224, 6
@@ -16,7 +16,7 @@ SFX_Cry1F_2_Ch2: ; 212a2 (8:52a2)
endchannel
-SFX_Cry1F_2_Ch3: ; 212b5 (8:52b5)
+SFX_Cry1F_2_Ch3:
unknownnoise0x20 5, 196, 70
unknownnoise0x20 13, 165, 68
unknownnoise0x20 8, 196, 69
diff --git a/audio/sfx/cry1f_3.asm b/audio/sfx/cry1f_3.asm
index 2f6c1eda..3c50327b 100644
--- a/audio/sfx/cry1f_3.asm
+++ b/audio/sfx/cry1f_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry1F_3_Ch1: ; 7d05c (1f:505c)
+SFX_Cry1F_3_Ch1:
dutycycle 165
unknownsfx0x20 3, 244, 65, 6
unknownsfx0x20 13, 214, 33, 7
@@ -7,7 +7,7 @@ SFX_Cry1F_3_Ch1: ; 7d05c (1f:505c)
endchannel
-SFX_Cry1F_3_Ch2: ; 7d06f (1f:506f)
+SFX_Cry1F_3_Ch2:
dutycycle 204
unknownsfx0x20 4, 244, 128, 5
unknownsfx0x20 14, 230, 224, 6
@@ -16,7 +16,7 @@ SFX_Cry1F_3_Ch2: ; 7d06f (1f:506f)
endchannel
-SFX_Cry1F_3_Ch3: ; 7d082 (1f:5082)
+SFX_Cry1F_3_Ch3:
unknownnoise0x20 5, 196, 70
unknownnoise0x20 13, 165, 68
unknownnoise0x20 8, 196, 69
diff --git a/audio/sfx/cry20_1.asm b/audio/sfx/cry20_1.asm
index d6586bdd..0e9ffb00 100644
--- a/audio/sfx/cry20_1.asm
+++ b/audio/sfx/cry20_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry20_1_Ch1: ; 901a (2:501a)
+SFX_Cry20_1_Ch1:
dutycycle 240
unknownsfx0x20 13, 241, 17, 5
unknownsfx0x20 13, 225, 21, 5
@@ -7,7 +7,7 @@ SFX_Cry20_1_Ch1: ; 901a (2:501a)
endchannel
-SFX_Cry20_1_Ch2: ; 902d (2:502d)
+SFX_Cry20_1_Ch2:
dutycycle 21
unknownsfx0x20 12, 225, 12, 5
unknownsfx0x20 12, 209, 16, 5
@@ -16,7 +16,7 @@ SFX_Cry20_1_Ch2: ; 902d (2:502d)
endchannel
-SFX_Cry20_1_Ch3: ; 9040 (2:5040)
+SFX_Cry20_1_Ch3:
unknownnoise0x20 14, 242, 101
unknownnoise0x20 13, 226, 85
unknownnoise0x20 14, 210, 86
diff --git a/audio/sfx/cry20_2.asm b/audio/sfx/cry20_2.asm
index b345eba5..91891b4f 100644
--- a/audio/sfx/cry20_2.asm
+++ b/audio/sfx/cry20_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry20_2_Ch1: ; 212c2 (8:52c2)
+SFX_Cry20_2_Ch1:
dutycycle 240
unknownsfx0x20 13, 241, 17, 5
unknownsfx0x20 13, 225, 21, 5
@@ -7,7 +7,7 @@ SFX_Cry20_2_Ch1: ; 212c2 (8:52c2)
endchannel
-SFX_Cry20_2_Ch2: ; 212d5 (8:52d5)
+SFX_Cry20_2_Ch2:
dutycycle 21
unknownsfx0x20 12, 225, 12, 5
unknownsfx0x20 12, 209, 16, 5
@@ -16,7 +16,7 @@ SFX_Cry20_2_Ch2: ; 212d5 (8:52d5)
endchannel
-SFX_Cry20_2_Ch3: ; 212e8 (8:52e8)
+SFX_Cry20_2_Ch3:
unknownnoise0x20 14, 242, 101
unknownnoise0x20 13, 226, 85
unknownnoise0x20 14, 210, 86
diff --git a/audio/sfx/cry20_3.asm b/audio/sfx/cry20_3.asm
index 5bcdf3df..1fae1bb3 100644
--- a/audio/sfx/cry20_3.asm
+++ b/audio/sfx/cry20_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry20_3_Ch1: ; 7d08f (1f:508f)
+SFX_Cry20_3_Ch1:
dutycycle 240
unknownsfx0x20 13, 241, 17, 5
unknownsfx0x20 13, 225, 21, 5
@@ -7,7 +7,7 @@ SFX_Cry20_3_Ch1: ; 7d08f (1f:508f)
endchannel
-SFX_Cry20_3_Ch2: ; 7d0a2 (1f:50a2)
+SFX_Cry20_3_Ch2:
dutycycle 21
unknownsfx0x20 12, 225, 12, 5
unknownsfx0x20 12, 209, 16, 5
@@ -16,7 +16,7 @@ SFX_Cry20_3_Ch2: ; 7d0a2 (1f:50a2)
endchannel
-SFX_Cry20_3_Ch3: ; 7d0b5 (1f:50b5)
+SFX_Cry20_3_Ch3:
unknownnoise0x20 14, 242, 101
unknownnoise0x20 13, 226, 85
unknownnoise0x20 14, 210, 86
diff --git a/audio/sfx/cry21_1.asm b/audio/sfx/cry21_1.asm
index 9b81e2a3..17d1e16c 100644
--- a/audio/sfx/cry21_1.asm
+++ b/audio/sfx/cry21_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry21_1_Ch1: ; 904d (2:504d)
+SFX_Cry21_1_Ch1:
dutycycle 27
unknownsfx0x20 3, 243, 100, 5
unknownsfx0x20 2, 226, 68, 5
@@ -11,7 +11,7 @@ SFX_Cry21_1_Ch1: ; 904d (2:504d)
endchannel
-SFX_Cry21_1_Ch2: ; 9070 (2:5070)
+SFX_Cry21_1_Ch2:
dutycycle 204
unknownsfx0x20 3, 211, 96, 5
unknownsfx0x20 2, 194, 64, 5
@@ -23,5 +23,5 @@ SFX_Cry21_1_Ch2: ; 9070 (2:5070)
unknownsfx0x20 8, 193, 0, 5
-SFX_Cry21_1_Ch3: ; 9092 (2:5092)
+SFX_Cry21_1_Ch3:
endchannel
diff --git a/audio/sfx/cry21_2.asm b/audio/sfx/cry21_2.asm
index f5571642..14856fc9 100644
--- a/audio/sfx/cry21_2.asm
+++ b/audio/sfx/cry21_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry21_2_Ch1: ; 212f5 (8:52f5)
+SFX_Cry21_2_Ch1:
dutycycle 27
unknownsfx0x20 3, 243, 100, 5
unknownsfx0x20 2, 226, 68, 5
@@ -11,7 +11,7 @@ SFX_Cry21_2_Ch1: ; 212f5 (8:52f5)
endchannel
-SFX_Cry21_2_Ch2: ; 21318 (8:5318)
+SFX_Cry21_2_Ch2:
dutycycle 204
unknownsfx0x20 3, 211, 96, 5
unknownsfx0x20 2, 194, 64, 5
@@ -23,5 +23,5 @@ SFX_Cry21_2_Ch2: ; 21318 (8:5318)
unknownsfx0x20 8, 193, 0, 5
-SFX_Cry21_2_Ch3: ; 2133a (8:533a)
+SFX_Cry21_2_Ch3:
endchannel
diff --git a/audio/sfx/cry21_3.asm b/audio/sfx/cry21_3.asm
index d91177b8..40cbf7f2 100644
--- a/audio/sfx/cry21_3.asm
+++ b/audio/sfx/cry21_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry21_3_Ch1: ; 7d0c2 (1f:50c2)
+SFX_Cry21_3_Ch1:
dutycycle 27
unknownsfx0x20 3, 243, 100, 5
unknownsfx0x20 2, 226, 68, 5
@@ -11,7 +11,7 @@ SFX_Cry21_3_Ch1: ; 7d0c2 (1f:50c2)
endchannel
-SFX_Cry21_3_Ch2: ; 7d0e5 (1f:50e5)
+SFX_Cry21_3_Ch2:
dutycycle 204
unknownsfx0x20 3, 211, 96, 5
unknownsfx0x20 2, 194, 64, 5
@@ -23,5 +23,5 @@ SFX_Cry21_3_Ch2: ; 7d0e5 (1f:50e5)
unknownsfx0x20 8, 193, 0, 5
-SFX_Cry21_3_Ch3: ; 7d107 (1f:5107)
+SFX_Cry21_3_Ch3:
endchannel
diff --git a/audio/sfx/cry22_1.asm b/audio/sfx/cry22_1.asm
index 90961298..fb0c6b23 100644
--- a/audio/sfx/cry22_1.asm
+++ b/audio/sfx/cry22_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry22_1_Ch1: ; 9093 (2:5093)
+SFX_Cry22_1_Ch1:
dutycycle 17
unknownsfx0x20 2, 61, 129, 3
unknownsfx0x20 7, 245, 1, 6
@@ -7,7 +7,7 @@ SFX_Cry22_1_Ch1: ; 9093 (2:5093)
endchannel
-SFX_Cry22_1_Ch2: ; 90a6 (2:50a6)
+SFX_Cry22_1_Ch2:
dutycycle 238
unknownsfx0x20 2, 62, 176, 5
unknownsfx0x20 7, 213, 93, 7
@@ -16,7 +16,7 @@ SFX_Cry22_1_Ch2: ; 90a6 (2:50a6)
endchannel
-SFX_Cry22_1_Ch3: ; 90b9 (2:50b9)
+SFX_Cry22_1_Ch3:
unknownnoise0x20 2, 146, 73
unknownnoise0x20 7, 181, 41
unknownnoise0x20 1, 162, 57
diff --git a/audio/sfx/cry22_2.asm b/audio/sfx/cry22_2.asm
index 861c3bfb..7653234e 100644
--- a/audio/sfx/cry22_2.asm
+++ b/audio/sfx/cry22_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry22_2_Ch1: ; 2133b (8:533b)
+SFX_Cry22_2_Ch1:
dutycycle 17
unknownsfx0x20 2, 61, 129, 3
unknownsfx0x20 7, 245, 1, 6
@@ -7,7 +7,7 @@ SFX_Cry22_2_Ch1: ; 2133b (8:533b)
endchannel
-SFX_Cry22_2_Ch2: ; 2134e (8:534e)
+SFX_Cry22_2_Ch2:
dutycycle 238
unknownsfx0x20 2, 62, 176, 5
unknownsfx0x20 7, 213, 93, 7
@@ -16,7 +16,7 @@ SFX_Cry22_2_Ch2: ; 2134e (8:534e)
endchannel
-SFX_Cry22_2_Ch3: ; 21361 (8:5361)
+SFX_Cry22_2_Ch3:
unknownnoise0x20 2, 146, 73
unknownnoise0x20 7, 181, 41
unknownnoise0x20 1, 162, 57
diff --git a/audio/sfx/cry22_3.asm b/audio/sfx/cry22_3.asm
index 42b3039c..96fae832 100644
--- a/audio/sfx/cry22_3.asm
+++ b/audio/sfx/cry22_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry22_3_Ch1: ; 7d108 (1f:5108)
+SFX_Cry22_3_Ch1:
dutycycle 17
unknownsfx0x20 2, 61, 129, 3
unknownsfx0x20 7, 245, 1, 6
@@ -7,7 +7,7 @@ SFX_Cry22_3_Ch1: ; 7d108 (1f:5108)
endchannel
-SFX_Cry22_3_Ch2: ; 7d11b (1f:511b)
+SFX_Cry22_3_Ch2:
dutycycle 238
unknownsfx0x20 2, 62, 176, 5
unknownsfx0x20 7, 213, 93, 7
@@ -16,7 +16,7 @@ SFX_Cry22_3_Ch2: ; 7d11b (1f:511b)
endchannel
-SFX_Cry22_3_Ch3: ; 7d12e (1f:512e)
+SFX_Cry22_3_Ch3:
unknownnoise0x20 2, 146, 73
unknownnoise0x20 7, 181, 41
unknownnoise0x20 1, 162, 57
diff --git a/audio/sfx/cry23_1.asm b/audio/sfx/cry23_1.asm
index 02868042..4aaa3bfa 100644
--- a/audio/sfx/cry23_1.asm
+++ b/audio/sfx/cry23_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry23_1_Ch1: ; 8786 (2:4786)
+SFX_Cry23_1_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 192, 7
unknownsfx0x20 6, 228, 193, 7
@@ -8,7 +8,7 @@ SFX_Cry23_1_Ch1: ; 8786 (2:4786)
endchannel
-SFX_Cry23_1_Ch2: ; 879d (2:479d)
+SFX_Cry23_1_Ch2:
dutycycle 95
unknownsfx0x20 15, 151, 129, 7
unknownsfx0x20 6, 132, 128, 7
@@ -17,7 +17,7 @@ SFX_Cry23_1_Ch2: ; 879d (2:479d)
endchannel
-SFX_Cry23_1_Ch3: ; 87b0 (2:47b0)
+SFX_Cry23_1_Ch3:
unknownnoise0x20 3, 242, 60
unknownnoise0x20 13, 230, 44
unknownnoise0x20 15, 215, 60
diff --git a/audio/sfx/cry23_2.asm b/audio/sfx/cry23_2.asm
index 089a233c..644b14cf 100644
--- a/audio/sfx/cry23_2.asm
+++ b/audio/sfx/cry23_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry23_2_Ch1: ; 20a2e (8:4a2e)
+SFX_Cry23_2_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 192, 7
unknownsfx0x20 6, 228, 193, 7
@@ -8,7 +8,7 @@ SFX_Cry23_2_Ch1: ; 20a2e (8:4a2e)
endchannel
-SFX_Cry23_2_Ch2: ; 20a45 (8:4a45)
+SFX_Cry23_2_Ch2:
dutycycle 95
unknownsfx0x20 15, 151, 129, 7
unknownsfx0x20 6, 132, 128, 7
@@ -17,7 +17,7 @@ SFX_Cry23_2_Ch2: ; 20a45 (8:4a45)
endchannel
-SFX_Cry23_2_Ch3: ; 20a58 (8:4a58)
+SFX_Cry23_2_Ch3:
unknownnoise0x20 3, 242, 60
unknownnoise0x20 13, 230, 44
unknownnoise0x20 15, 215, 60
diff --git a/audio/sfx/cry23_3.asm b/audio/sfx/cry23_3.asm
index 31ba3743..d86dfcd4 100644
--- a/audio/sfx/cry23_3.asm
+++ b/audio/sfx/cry23_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry23_3_Ch1: ; 7c7fb (1f:47fb)
+SFX_Cry23_3_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 192, 7
unknownsfx0x20 6, 228, 193, 7
@@ -8,7 +8,7 @@ SFX_Cry23_3_Ch1: ; 7c7fb (1f:47fb)
endchannel
-SFX_Cry23_3_Ch2: ; 7c812 (1f:4812)
+SFX_Cry23_3_Ch2:
dutycycle 95
unknownsfx0x20 15, 151, 129, 7
unknownsfx0x20 6, 132, 128, 7
@@ -17,7 +17,7 @@ SFX_Cry23_3_Ch2: ; 7c812 (1f:4812)
endchannel
-SFX_Cry23_3_Ch3: ; 7c825 (1f:4825)
+SFX_Cry23_3_Ch3:
unknownnoise0x20 3, 242, 60
unknownnoise0x20 13, 230, 44
unknownnoise0x20 15, 215, 60
diff --git a/audio/sfx/cry24_1.asm b/audio/sfx/cry24_1.asm
index 061ed65a..a94803c1 100644
--- a/audio/sfx/cry24_1.asm
+++ b/audio/sfx/cry24_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry24_1_Ch1: ; 87bd (2:47bd)
+SFX_Cry24_1_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 128, 6
unknownsfx0x20 10, 230, 132, 6
@@ -11,7 +11,7 @@ SFX_Cry24_1_Ch1: ; 87bd (2:47bd)
endchannel
-SFX_Cry24_1_Ch2: ; 87e0 (2:47e0)
+SFX_Cry24_1_Ch2:
dutycycle 5
unknownsfx0x20 15, 183, 65, 6
unknownsfx0x20 10, 150, 66, 6
@@ -24,7 +24,7 @@ SFX_Cry24_1_Ch2: ; 87e0 (2:47e0)
endchannel
-SFX_Cry24_1_Ch3: ; 8803 (2:4803)
+SFX_Cry24_1_Ch3:
unknownnoise0x20 15, 228, 60
unknownnoise0x20 10, 199, 76
unknownnoise0x20 10, 199, 60
diff --git a/audio/sfx/cry24_2.asm b/audio/sfx/cry24_2.asm
index 52986829..cc8b2f87 100644
--- a/audio/sfx/cry24_2.asm
+++ b/audio/sfx/cry24_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry24_2_Ch1: ; 20a65 (8:4a65)
+SFX_Cry24_2_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 128, 6
unknownsfx0x20 10, 230, 132, 6
@@ -11,7 +11,7 @@ SFX_Cry24_2_Ch1: ; 20a65 (8:4a65)
endchannel
-SFX_Cry24_2_Ch2: ; 20a88 (8:4a88)
+SFX_Cry24_2_Ch2:
dutycycle 5
unknownsfx0x20 15, 183, 65, 6
unknownsfx0x20 10, 150, 66, 6
@@ -24,7 +24,7 @@ SFX_Cry24_2_Ch2: ; 20a88 (8:4a88)
endchannel
-SFX_Cry24_2_Ch3: ; 20aab (8:4aab)
+SFX_Cry24_2_Ch3:
unknownnoise0x20 15, 228, 60
unknownnoise0x20 10, 199, 76
unknownnoise0x20 10, 199, 60
diff --git a/audio/sfx/cry24_3.asm b/audio/sfx/cry24_3.asm
index 8c9cfc81..37926146 100644
--- a/audio/sfx/cry24_3.asm
+++ b/audio/sfx/cry24_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry24_3_Ch1: ; 7c832 (1f:4832)
+SFX_Cry24_3_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 128, 6
unknownsfx0x20 10, 230, 132, 6
@@ -11,7 +11,7 @@ SFX_Cry24_3_Ch1: ; 7c832 (1f:4832)
endchannel
-SFX_Cry24_3_Ch2: ; 7c855 (1f:4855)
+SFX_Cry24_3_Ch2:
dutycycle 5
unknownsfx0x20 15, 183, 65, 6
unknownsfx0x20 10, 150, 66, 6
@@ -24,7 +24,7 @@ SFX_Cry24_3_Ch2: ; 7c855 (1f:4855)
endchannel
-SFX_Cry24_3_Ch3: ; 7c878 (1f:4878)
+SFX_Cry24_3_Ch3:
unknownnoise0x20 15, 228, 60
unknownnoise0x20 10, 199, 76
unknownnoise0x20 10, 199, 60
diff --git a/audio/sfx/cry25_1.asm b/audio/sfx/cry25_1.asm
index ce238db2..d54b8d6c 100644
--- a/audio/sfx/cry25_1.asm
+++ b/audio/sfx/cry25_1.asm
@@ -1,4 +1,4 @@
-SFX_Cry25_1_Ch1: ; 886b (2:486b)
+SFX_Cry25_1_Ch1:
dutycycle 165
unknownsfx0x20 6, 244, 64, 7
unknownsfx0x20 15, 227, 48, 7
@@ -8,7 +8,7 @@ SFX_Cry25_1_Ch1: ; 886b (2:486b)
endchannel
-SFX_Cry25_1_Ch2: ; 8882 (2:4882)
+SFX_Cry25_1_Ch2:
dutycycle 119
unknownsfx0x20 6, 195, 18, 7
unknownsfx0x20 15, 179, 4, 7
@@ -18,7 +18,7 @@ SFX_Cry25_1_Ch2: ; 8882 (2:4882)
endchannel
-SFX_Cry25_1_Ch3: ; 8899 (2:4899)
+SFX_Cry25_1_Ch3:
unknownnoise0x20 8, 214, 44
unknownnoise0x20 12, 198, 60
unknownnoise0x20 10, 182, 44
diff --git a/audio/sfx/cry25_2.asm b/audio/sfx/cry25_2.asm
index b00210a9..48e4d057 100644
--- a/audio/sfx/cry25_2.asm
+++ b/audio/sfx/cry25_2.asm
@@ -1,4 +1,4 @@
-SFX_Cry25_2_Ch1: ; 20b13 (8:4b13)
+SFX_Cry25_2_Ch1:
dutycycle 165
unknownsfx0x20 6, 244, 64, 7
unknownsfx0x20 15, 227, 48, 7
@@ -8,7 +8,7 @@ SFX_Cry25_2_Ch1: ; 20b13 (8:4b13)
endchannel
-SFX_Cry25_2_Ch2: ; 20b2a (8:4b2a)
+SFX_Cry25_2_Ch2:
dutycycle 119
unknownsfx0x20 6, 195, 18, 7
unknownsfx0x20 15, 179, 4, 7
@@ -18,7 +18,7 @@ SFX_Cry25_2_Ch2: ; 20b2a (8:4b2a)
endchannel
-SFX_Cry25_2_Ch3: ; 20b41 (8:4b41)
+SFX_Cry25_2_Ch3:
unknownnoise0x20 8, 214, 44
unknownnoise0x20 12, 198, 60
unknownnoise0x20 10, 182, 44
diff --git a/audio/sfx/cry25_3.asm b/audio/sfx/cry25_3.asm
index 7c93b0e6..f08c6a00 100644
--- a/audio/sfx/cry25_3.asm
+++ b/audio/sfx/cry25_3.asm
@@ -1,4 +1,4 @@
-SFX_Cry25_3_Ch1: ; 7c8e0 (1f:48e0)
+SFX_Cry25_3_Ch1:
dutycycle 165
unknownsfx0x20 6, 244, 64, 7
unknownsfx0x20 15, 227, 48, 7
@@ -8,7 +8,7 @@ SFX_Cry25_3_Ch1: ; 7c8e0 (1f:48e0)
endchannel
-SFX_Cry25_3_Ch2: ; 7c8f7 (1f:48f7)
+SFX_Cry25_3_Ch2:
dutycycle 119
unknownsfx0x20 6, 195, 18, 7
unknownsfx0x20 15, 179, 4, 7
@@ -18,7 +18,7 @@ SFX_Cry25_3_Ch2: ; 7c8f7 (1f:48f7)
endchannel
-SFX_Cry25_3_Ch3: ; 7c90e (1f:490e)
+SFX_Cry25_3_Ch3:
unknownnoise0x20 8, 214, 44
unknownnoise0x20 12, 198, 60
unknownnoise0x20 10, 182, 44
diff --git a/audio/sfx/cut_1.asm b/audio/sfx/cut_1.asm
index c1b763e0..a42cd660 100644
--- a/audio/sfx/cut_1.asm
+++ b/audio/sfx/cut_1.asm
@@ -1,4 +1,4 @@
-SFX_Cut_1_Ch1: ; 83e1 (2:43e1)
+SFX_Cut_1_Ch1:
unknownnoise0x20 2, 247, 36
unknownnoise0x20 2, 247, 52
unknownnoise0x20 4, 247, 68
diff --git a/audio/sfx/cut_3.asm b/audio/sfx/cut_3.asm
index 4ad5551d..12c2366e 100644
--- a/audio/sfx/cut_3.asm
+++ b/audio/sfx/cut_3.asm
@@ -1,4 +1,4 @@
-SFX_Cut_3_Ch1: ; 7c3ca (1f:43ca)
+SFX_Cut_3_Ch1:
unknownnoise0x20 2, 247, 36
unknownnoise0x20 2, 247, 52
unknownnoise0x20 4, 247, 68
diff --git a/audio/sfx/cymbal1_1.asm b/audio/sfx/cymbal1_1.asm
index d001b750..3f3c6d8b 100644
--- a/audio/sfx/cymbal1_1.asm
+++ b/audio/sfx/cymbal1_1.asm
@@ -1,3 +1,3 @@
-SFX_Cymbal1_1_Ch1: ; 833b (2:433b)
+SFX_Cymbal1_1_Ch1:
unknownnoise0x20 0, 161, 16
endchannel
diff --git a/audio/sfx/cymbal1_2.asm b/audio/sfx/cymbal1_2.asm
index 8987d85f..bb1e3e3e 100644
--- a/audio/sfx/cymbal1_2.asm
+++ b/audio/sfx/cymbal1_2.asm
@@ -1,3 +1,3 @@
-SFX_Cymbal1_2_Ch1: ; 2033b (8:433b)
+SFX_Cymbal1_2_Ch1:
unknownnoise0x20 0, 161, 16
endchannel
diff --git a/audio/sfx/cymbal1_3.asm b/audio/sfx/cymbal1_3.asm
index 597a8b61..9587977f 100644
--- a/audio/sfx/cymbal1_3.asm
+++ b/audio/sfx/cymbal1_3.asm
@@ -1,3 +1,3 @@
-SFX_Cymbal1_3_Ch1: ; 7c33b (1f:433b)
+SFX_Cymbal1_3_Ch1:
unknownnoise0x20 0, 161, 16
endchannel
diff --git a/audio/sfx/cymbal2_1.asm b/audio/sfx/cymbal2_1.asm
index 3f50299a..2ec3fc86 100644
--- a/audio/sfx/cymbal2_1.asm
+++ b/audio/sfx/cymbal2_1.asm
@@ -1,3 +1,3 @@
-SFX_Cymbal2_1_Ch1: ; 833f (2:433f)
+SFX_Cymbal2_1_Ch1:
unknownnoise0x20 0, 162, 17
endchannel
diff --git a/audio/sfx/cymbal2_2.asm b/audio/sfx/cymbal2_2.asm
index 5224a20d..8b27a0de 100644
--- a/audio/sfx/cymbal2_2.asm
+++ b/audio/sfx/cymbal2_2.asm
@@ -1,3 +1,3 @@
-SFX_Cymbal2_2_Ch1: ; 2033f (8:433f)
+SFX_Cymbal2_2_Ch1:
unknownnoise0x20 0, 162, 17
endchannel
diff --git a/audio/sfx/cymbal2_3.asm b/audio/sfx/cymbal2_3.asm
index dd3a4fc9..642a336a 100644
--- a/audio/sfx/cymbal2_3.asm
+++ b/audio/sfx/cymbal2_3.asm
@@ -1,3 +1,3 @@
-SFX_Cymbal2_3_Ch1: ; 7c33f (1f:433f)
+SFX_Cymbal2_3_Ch1:
unknownnoise0x20 0, 162, 17
endchannel
diff --git a/audio/sfx/cymbal3_1.asm b/audio/sfx/cymbal3_1.asm
index 8aa5ebe5..3fd225e2 100644
--- a/audio/sfx/cymbal3_1.asm
+++ b/audio/sfx/cymbal3_1.asm
@@ -1,3 +1,3 @@
-SFX_Cymbal3_1_Ch1: ; 8343 (2:4343)
+SFX_Cymbal3_1_Ch1:
unknownnoise0x20 0, 162, 80
endchannel
diff --git a/audio/sfx/cymbal3_2.asm b/audio/sfx/cymbal3_2.asm
index d1fd3b90..1435b5ed 100644
--- a/audio/sfx/cymbal3_2.asm
+++ b/audio/sfx/cymbal3_2.asm
@@ -1,3 +1,3 @@
-SFX_Cymbal3_2_Ch1: ; 20343 (8:4343)
+SFX_Cymbal3_2_Ch1:
unknownnoise0x20 0, 162, 80
endchannel
diff --git a/audio/sfx/cymbal3_3.asm b/audio/sfx/cymbal3_3.asm
index 45e41c15..b45fb03d 100644
--- a/audio/sfx/cymbal3_3.asm
+++ b/audio/sfx/cymbal3_3.asm
@@ -1,3 +1,3 @@
-SFX_Cymbal3_3_Ch1: ; 7c343 (1f:4343)
+SFX_Cymbal3_3_Ch1:
unknownnoise0x20 0, 162, 80
endchannel
diff --git a/audio/sfx/damage.asm b/audio/sfx/damage.asm
index 4022fcbf..ea2727d8 100644
--- a/audio/sfx/damage.asm
+++ b/audio/sfx/damage.asm
@@ -1,4 +1,4 @@
-SFX_Damage_Ch1: ; 204f4 (8:44f4)
+SFX_Damage_Ch1:
unknownnoise0x20 2, 244, 68
unknownnoise0x20 2, 244, 20
unknownnoise0x20 15, 241, 50
diff --git a/audio/sfx/denied_1.asm b/audio/sfx/denied_1.asm
index 46520151..d954308a 100644
--- a/audio/sfx/denied_1.asm
+++ b/audio/sfx/denied_1.asm
@@ -1,4 +1,4 @@
-SFX_Denied_1_Ch1: ; 861f (2:461f)
+SFX_Denied_1_Ch1:
duty 3
unknownsfx0x10 90
unknownsfx0x20 4, 240, 0, 5
@@ -9,7 +9,7 @@ SFX_Denied_1_Ch1: ; 861f (2:461f)
endchannel
-SFX_Denied_1_Ch2: ; 8636 (2:4636)
+SFX_Denied_1_Ch2:
duty 3
unknownsfx0x20 4, 240, 1, 4
unknownsfx0x20 4, 0, 0, 0
diff --git a/audio/sfx/denied_3.asm b/audio/sfx/denied_3.asm
index 2cebd766..ca82a739 100644
--- a/audio/sfx/denied_3.asm
+++ b/audio/sfx/denied_3.asm
@@ -1,4 +1,4 @@
-SFX_Denied_3_Ch1: ; 7c5fc (1f:45fc)
+SFX_Denied_3_Ch1:
duty 3
unknownsfx0x10 90
unknownsfx0x20 4, 240, 0, 5
@@ -9,7 +9,7 @@ SFX_Denied_3_Ch1: ; 7c5fc (1f:45fc)
endchannel
-SFX_Denied_3_Ch2: ; 7c613 (1f:4613)
+SFX_Denied_3_Ch2:
duty 3
unknownsfx0x20 4, 240, 1, 4
unknownsfx0x20 4, 0, 0, 0
diff --git a/audio/sfx/dex_page_added.asm b/audio/sfx/dex_page_added.asm
index dac55ed9..6e3a0dcf 100644
--- a/audio/sfx/dex_page_added.asm
+++ b/audio/sfx/dex_page_added.asm
@@ -1,4 +1,4 @@
-SFX_Dex_Page_Added_Ch1: ; 2047f (8:447f)
+SFX_Dex_Page_Added_Ch1:
duty 2
unknownsfx0x10 68
unknownsfx0x20 15, 240, 240, 4
@@ -8,7 +8,7 @@ SFX_Dex_Page_Added_Ch1: ; 2047f (8:447f)
endchannel
-SFX_Dex_Page_Added_Ch2: ; 20490 (8:4490)
+SFX_Dex_Page_Added_Ch2:
duty 2
unknownsfx0x20 15, 146, 0, 6
unknownsfx0x20 15, 146, 130, 7
diff --git a/audio/sfx/doubleslap.asm b/audio/sfx/doubleslap.asm
index 0918238a..5cae0a4b 100644
--- a/audio/sfx/doubleslap.asm
+++ b/audio/sfx/doubleslap.asm
@@ -1,4 +1,4 @@
-SFX_Doubleslap_Ch1: ; 2058c (8:458c)
+SFX_Doubleslap_Ch1:
unknownnoise0x20 8, 241, 50
unknownnoise0x20 8, 241, 51
endchannel
diff --git a/audio/sfx/enter_pc_1.asm b/audio/sfx/enter_pc_1.asm
index 5c1a189a..b2450ced 100644
--- a/audio/sfx/enter_pc_1.asm
+++ b/audio/sfx/enter_pc_1.asm
@@ -1,4 +1,4 @@
-SFX_Enter_PC_1_Ch1: ; 853b (2:453b)
+SFX_Enter_PC_1_Ch1:
duty 2
unknownsfx0x20 6, 240, 0, 7
unknownsfx0x20 4, 0, 0, 0
diff --git a/audio/sfx/enter_pc_3.asm b/audio/sfx/enter_pc_3.asm
index 5907a7e5..061068ce 100644
--- a/audio/sfx/enter_pc_3.asm
+++ b/audio/sfx/enter_pc_3.asm
@@ -1,4 +1,4 @@
-SFX_Enter_PC_3_Ch1: ; 7c518 (1f:4518)
+SFX_Enter_PC_3_Ch1:
duty 2
unknownsfx0x20 4, 240, 0, 7
unknownsfx0x20 4, 0, 0, 0
diff --git a/audio/sfx/faint_fall.asm b/audio/sfx/faint_fall.asm
index c252b93a..cd1b2cdc 100644
--- a/audio/sfx/faint_fall.asm
+++ b/audio/sfx/faint_fall.asm
@@ -1,4 +1,4 @@
-SFX_Faint_Fall_Ch1: ; 204ae (8:44ae)
+SFX_Faint_Fall_Ch1:
duty 1
unknownsfx0x10 175
unknownsfx0x20 15, 242, 128, 7
diff --git a/audio/sfx/faint_thud.asm b/audio/sfx/faint_thud.asm
index 5ef100c5..7b6ec0a0 100644
--- a/audio/sfx/faint_thud.asm
+++ b/audio/sfx/faint_thud.asm
@@ -1,10 +1,10 @@
-SFX_Faint_Thud_Ch1: ; 2044c (8:444c)
+SFX_Faint_Thud_Ch1:
unknownsfx0x20 15, 209, 0, 2
unknownsfx0x10 8
endchannel
-SFX_Faint_Thud_Ch2: ; 20453 (8:4453)
+SFX_Faint_Thud_Ch2:
unknownnoise0x20 4, 245, 51
unknownnoise0x20 8, 244, 34
unknownnoise0x20 15, 242, 33
diff --git a/audio/sfx/fly_1.asm b/audio/sfx/fly_1.asm
index c2ecf435..2b487bc2 100644
--- a/audio/sfx/fly_1.asm
+++ b/audio/sfx/fly_1.asm
@@ -1,4 +1,4 @@
-SFX_Fly_1_Ch1: ; 85ee (2:45ee)
+SFX_Fly_1_Ch1:
unknownnoise0x20 2, 241, 18
unknownnoise0x20 2, 0, 0
unknownnoise0x20 2, 161, 18
diff --git a/audio/sfx/fly_3.asm b/audio/sfx/fly_3.asm
index 043d4b51..c081030d 100644
--- a/audio/sfx/fly_3.asm
+++ b/audio/sfx/fly_3.asm
@@ -1,4 +1,4 @@
-SFX_Fly_3_Ch1: ; 7c5cb (1f:45cb)
+SFX_Fly_3_Ch1:
unknownnoise0x20 2, 241, 18
unknownnoise0x20 2, 0, 0
unknownnoise0x20 2, 161, 18
diff --git a/audio/sfx/get_item1_1.asm b/audio/sfx/get_item1_1.asm
index 471124d7..ba428722 100644
--- a/audio/sfx/get_item1_1.asm
+++ b/audio/sfx/get_item1_1.asm
@@ -1,4 +1,4 @@
-SFX_Get_Item1_1_Ch1: ; ad77 (2:6d77)
+SFX_Get_Item1_1_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -16,7 +16,7 @@ SFX_Get_Item1_1_Ch1: ; ad77 (2:6d77)
endchannel
-SFX_Get_Item1_1_Ch2: ; ad8e (2:6d8e)
+SFX_Get_Item1_1_Ch2:
executemusic
vibrato 8, 2, 7
duty 2
@@ -30,7 +30,7 @@ SFX_Get_Item1_1_Ch2: ; ad8e (2:6d8e)
endchannel
-SFX_Get_Item1_1_Ch3: ; ad9e (2:6d9e)
+SFX_Get_Item1_1_Ch3:
executemusic
notetype 4, 1, 0
octave 4
diff --git a/audio/sfx/get_item1_3.asm b/audio/sfx/get_item1_3.asm
index 6a7ebabc..b30ce40c 100644
--- a/audio/sfx/get_item1_3.asm
+++ b/audio/sfx/get_item1_3.asm
@@ -1,4 +1,4 @@
-SFX_Get_Item1_3_Ch1: ; 7e850 (1f:6850)
+SFX_Get_Item1_3_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -16,7 +16,7 @@ SFX_Get_Item1_3_Ch1: ; 7e850 (1f:6850)
endchannel
-SFX_Get_Item1_3_Ch2: ; 7e867 (1f:6867)
+SFX_Get_Item1_3_Ch2:
executemusic
vibrato 8, 2, 7
duty 2
@@ -30,7 +30,7 @@ SFX_Get_Item1_3_Ch2: ; 7e867 (1f:6867)
endchannel
-SFX_Get_Item1_3_Ch3: ; 7e877 (1f:6877)
+SFX_Get_Item1_3_Ch3:
executemusic
notetype 4, 1, 0
octave 4
diff --git a/audio/sfx/get_item2_1.asm b/audio/sfx/get_item2_1.asm
index 6fda3404..67bb7bb8 100644
--- a/audio/sfx/get_item2_1.asm
+++ b/audio/sfx/get_item2_1.asm
@@ -1,4 +1,4 @@
-SFX_Get_Item2_1_Ch1: ; b316 (2:7316)
+SFX_Get_Item2_1_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -25,7 +25,7 @@ SFX_Get_Item2_1_Ch1: ; b316 (2:7316)
endchannel
-SFX_Get_Item2_1_Ch2: ; b335 (2:7335)
+SFX_Get_Item2_1_Ch2:
executemusic
vibrato 8, 2, 7
duty 2
@@ -46,7 +46,7 @@ SFX_Get_Item2_1_Ch2: ; b335 (2:7335)
endchannel
-SFX_Get_Item2_1_Ch3: ; b34d (2:734d)
+SFX_Get_Item2_1_Ch3:
executemusic
notetype 5, 1, 0
octave 5
diff --git a/audio/sfx/get_item2_2.asm b/audio/sfx/get_item2_2.asm
index 25e40744..292a74f6 100644
--- a/audio/sfx/get_item2_2.asm
+++ b/audio/sfx/get_item2_2.asm
@@ -1,4 +1,4 @@
-SFX_Get_Item2_2_Ch1: ; 239c7 (8:79c7)
+SFX_Get_Item2_2_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -25,7 +25,7 @@ SFX_Get_Item2_2_Ch1: ; 239c7 (8:79c7)
endchannel
-SFX_Get_Item2_2_Ch2: ; 239e6 (8:79e6)
+SFX_Get_Item2_2_Ch2:
executemusic
vibrato 8, 2, 7
duty 2
@@ -46,7 +46,7 @@ SFX_Get_Item2_2_Ch2: ; 239e6 (8:79e6)
endchannel
-SFX_Get_Item2_2_Ch3: ; 239fe (8:79fe)
+SFX_Get_Item2_2_Ch3:
executemusic
notetype 5, 1, 0
octave 5
diff --git a/audio/sfx/get_item2_3.asm b/audio/sfx/get_item2_3.asm
index 20a0ee04..1a833741 100644
--- a/audio/sfx/get_item2_3.asm
+++ b/audio/sfx/get_item2_3.asm
@@ -1,4 +1,4 @@
-SFX_Get_Item2_3_Ch1: ; 7ee28 (1f:6e28)
+SFX_Get_Item2_3_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -25,7 +25,7 @@ SFX_Get_Item2_3_Ch1: ; 7ee28 (1f:6e28)
endchannel
-SFX_Get_Item2_3_Ch2: ; 7ee47 (1f:6e47)
+SFX_Get_Item2_3_Ch2:
executemusic
vibrato 8, 2, 7
duty 2
@@ -46,7 +46,7 @@ SFX_Get_Item2_3_Ch2: ; 7ee47 (1f:6e47)
endchannel
-SFX_Get_Item2_3_Ch3: ; 7ee5f (1f:6e5f)
+SFX_Get_Item2_3_Ch3:
executemusic
notetype 5, 1, 0
octave 5
diff --git a/audio/sfx/get_item2_4_2.asm b/audio/sfx/get_item2_4_2.asm
index 6f97390e..4f7e38eb 100644
--- a/audio/sfx/get_item2_4_2.asm
+++ b/audio/sfx/get_item2_4_2.asm
@@ -1,4 +1,4 @@
-SFX_Get_Item2_4_2_Ch1: ; 802eb (20:42eb)
+SFX_Get_Item2_4_2_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -25,7 +25,7 @@ SFX_Get_Item2_4_2_Ch1: ; 802eb (20:42eb)
endchannel
-SFX_Get_Item2_4_2_Ch2: ; 8030a (20:430a)
+SFX_Get_Item2_4_2_Ch2:
executemusic
vibrato 8, 2, 7
duty 2
@@ -46,7 +46,7 @@ SFX_Get_Item2_4_2_Ch2: ; 8030a (20:430a)
endchannel
-SFX_Get_Item2_4_2_Ch3: ; 80322 (20:4322)
+SFX_Get_Item2_4_2_Ch3:
executemusic
notetype 5, 1, 0
octave 5
diff --git a/audio/sfx/get_key_item_1.asm b/audio/sfx/get_key_item_1.asm
index 233ea01b..c8da1745 100644
--- a/audio/sfx/get_key_item_1.asm
+++ b/audio/sfx/get_key_item_1.asm
@@ -1,4 +1,4 @@
-SFX_Get_Key_Item_1_Ch1: ; b362 (2:7362)
+SFX_Get_Key_Item_1_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -23,7 +23,7 @@ SFX_Get_Key_Item_1_Ch1: ; b362 (2:7362)
endchannel
-SFX_Get_Key_Item_1_Ch2: ; b381 (2:7381)
+SFX_Get_Key_Item_1_Ch2:
executemusic
vibrato 4, 2, 3
duty 2
@@ -47,7 +47,7 @@ SFX_Get_Key_Item_1_Ch2: ; b381 (2:7381)
endchannel
-SFX_Get_Key_Item_1_Ch3: ; b39d (2:739d)
+SFX_Get_Key_Item_1_Ch3:
executemusic
notetype 5, 1, 0
octave 4
diff --git a/audio/sfx/get_key_item_3.asm b/audio/sfx/get_key_item_3.asm
index f918e1bf..e6a50929 100644
--- a/audio/sfx/get_key_item_3.asm
+++ b/audio/sfx/get_key_item_3.asm
@@ -1,4 +1,4 @@
-SFX_Get_Key_Item_3_Ch1: ; 7ee74 (1f:6e74)
+SFX_Get_Key_Item_3_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -23,7 +23,7 @@ SFX_Get_Key_Item_3_Ch1: ; 7ee74 (1f:6e74)
endchannel
-SFX_Get_Key_Item_3_Ch2: ; 7ee93 (1f:6e93)
+SFX_Get_Key_Item_3_Ch2:
executemusic
vibrato 4, 2, 3
duty 2
@@ -47,7 +47,7 @@ SFX_Get_Key_Item_3_Ch2: ; 7ee93 (1f:6e93)
endchannel
-SFX_Get_Key_Item_3_Ch3: ; 7eeaf (1f:6eaf)
+SFX_Get_Key_Item_3_Ch3:
executemusic
notetype 5, 1, 0
octave 4
diff --git a/audio/sfx/go_inside_1.asm b/audio/sfx/go_inside_1.asm
index 1eb1e2ca..5da5be86 100644
--- a/audio/sfx/go_inside_1.asm
+++ b/audio/sfx/go_inside_1.asm
@@ -1,4 +1,4 @@
-SFX_Go_Inside_1_Ch1: ; 83f1 (2:43f1)
+SFX_Go_Inside_1_Ch1:
unknownnoise0x20 9, 241, 68
unknownnoise0x20 8, 209, 67
endchannel
diff --git a/audio/sfx/go_inside_3.asm b/audio/sfx/go_inside_3.asm
index d8e18b7d..460b3b4a 100644
--- a/audio/sfx/go_inside_3.asm
+++ b/audio/sfx/go_inside_3.asm
@@ -1,4 +1,4 @@
-SFX_Go_Inside_3_Ch1: ; 7c3da (1f:43da)
+SFX_Go_Inside_3_Ch1:
unknownnoise0x20 9, 241, 68
unknownnoise0x20 8, 209, 67
endchannel
diff --git a/audio/sfx/go_outside_1.asm b/audio/sfx/go_outside_1.asm
index 2e8a8b31..2038d299 100644
--- a/audio/sfx/go_outside_1.asm
+++ b/audio/sfx/go_outside_1.asm
@@ -1,4 +1,4 @@
-SFX_Go_Outside_1_Ch1: ; 8452 (2:4452)
+SFX_Go_Outside_1_Ch1:
unknownnoise0x20 2, 241, 84
unknownnoise0x20 12, 113, 35
unknownnoise0x20 2, 177, 84
diff --git a/audio/sfx/go_outside_3.asm b/audio/sfx/go_outside_3.asm
index 2dc4242d..d45b8410 100644
--- a/audio/sfx/go_outside_3.asm
+++ b/audio/sfx/go_outside_3.asm
@@ -1,4 +1,4 @@
-SFX_Go_Outside_3_Ch1: ; 7c43b (1f:443b)
+SFX_Go_Outside_3_Ch1:
unknownnoise0x20 2, 241, 84
unknownnoise0x20 12, 113, 35
unknownnoise0x20 2, 177, 84
diff --git a/audio/sfx/heal_ailment_1.asm b/audio/sfx/heal_ailment_1.asm
index 5937f3a2..3a292b82 100644
--- a/audio/sfx/heal_ailment_1.asm
+++ b/audio/sfx/heal_ailment_1.asm
@@ -1,4 +1,4 @@
-SFX_Heal_Ailment_1_Ch1: ; 84d9 (2:44d9)
+SFX_Heal_Ailment_1_Ch1:
duty 2
unknownsfx0x10 20
unknownsfx0x20 4, 242, 0, 6
diff --git a/audio/sfx/heal_ailment_2.asm b/audio/sfx/heal_ailment_2.asm
index 4b39895a..25e1bbe0 100644
--- a/audio/sfx/heal_ailment_2.asm
+++ b/audio/sfx/heal_ailment_2.asm
@@ -1,4 +1,4 @@
-SFX_Heal_Ailment_2_Ch1: ; 203fd (8:43fd)
+SFX_Heal_Ailment_2_Ch1:
duty 2
unknownsfx0x10 20
unknownsfx0x20 4, 242, 0, 6
diff --git a/audio/sfx/heal_ailment_3.asm b/audio/sfx/heal_ailment_3.asm
index b2805f3d..2719358f 100644
--- a/audio/sfx/heal_ailment_3.asm
+++ b/audio/sfx/heal_ailment_3.asm
@@ -1,4 +1,4 @@
-SFX_Heal_Ailment_3_Ch1: ; 7c4b2 (1f:44b2)
+SFX_Heal_Ailment_3_Ch1:
duty 2
unknownsfx0x10 20
unknownsfx0x20 4, 242, 0, 6
diff --git a/audio/sfx/heal_hp_1.asm b/audio/sfx/heal_hp_1.asm
index eb8063f7..a23db490 100644
--- a/audio/sfx/heal_hp_1.asm
+++ b/audio/sfx/heal_hp_1.asm
@@ -1,4 +1,4 @@
-SFX_Heal_HP_1_Ch1: ; 84b7 (2:44b7)
+SFX_Heal_HP_1_Ch1:
duty 2
unknownsfx0x10 23
unknownsfx0x20 15, 240, 240, 4
diff --git a/audio/sfx/heal_hp_2.asm b/audio/sfx/heal_hp_2.asm
index 890a2151..f21f6712 100644
--- a/audio/sfx/heal_hp_2.asm
+++ b/audio/sfx/heal_hp_2.asm
@@ -1,4 +1,4 @@
-SFX_Heal_HP_2_Ch1: ; 203ee (8:43ee)
+SFX_Heal_HP_2_Ch1:
duty 2
unknownsfx0x10 23
unknownsfx0x20 15, 240, 240, 4
diff --git a/audio/sfx/heal_hp_3.asm b/audio/sfx/heal_hp_3.asm
index da80d48f..96ff391b 100644
--- a/audio/sfx/heal_hp_3.asm
+++ b/audio/sfx/heal_hp_3.asm
@@ -1,4 +1,4 @@
-SFX_Heal_HP_3_Ch1: ; 7c490 (1f:4490)
+SFX_Heal_HP_3_Ch1:
duty 2
unknownsfx0x10 23
unknownsfx0x20 15, 240, 240, 4
diff --git a/audio/sfx/healing_machine_1.asm b/audio/sfx/healing_machine_1.asm
index 4babf6b0..ecb7c09c 100644
--- a/audio/sfx/healing_machine_1.asm
+++ b/audio/sfx/healing_machine_1.asm
@@ -1,4 +1,4 @@
-SFX_Healing_Machine_1_Ch1: ; 8580 (2:4580)
+SFX_Healing_Machine_1_Ch1:
duty 2
unknownsfx0x10 44
unknownsfx0x20 4, 242, 0, 5
diff --git a/audio/sfx/healing_machine_3.asm b/audio/sfx/healing_machine_3.asm
index c72f7905..ec73e139 100644
--- a/audio/sfx/healing_machine_3.asm
+++ b/audio/sfx/healing_machine_3.asm
@@ -1,4 +1,4 @@
-SFX_Healing_Machine_3_Ch1: ; 7c55d (1f:455d)
+SFX_Healing_Machine_3_Ch1:
duty 2
unknownsfx0x10 44
unknownsfx0x20 4, 242, 0, 5
diff --git a/audio/sfx/horn_drill.asm b/audio/sfx/horn_drill.asm
index e68e5834..b1af527b 100644
--- a/audio/sfx/horn_drill.asm
+++ b/audio/sfx/horn_drill.asm
@@ -1,4 +1,4 @@
-SFX_Horn_Drill_Ch1: ; 205b1 (8:45b1)
+SFX_Horn_Drill_Ch1:
unknownnoise0x20 3, 146, 49
unknownnoise0x20 3, 178, 50
unknownnoise0x20 3, 194, 51
diff --git a/audio/sfx/intro_crash.asm b/audio/sfx/intro_crash.asm
index 65e475f8..69d6ff9b 100644
--- a/audio/sfx/intro_crash.asm
+++ b/audio/sfx/intro_crash.asm
@@ -1,4 +1,4 @@
-SFX_Intro_Crash_Ch1: ; 7c6de (1f:46de)
+SFX_Intro_Crash_Ch1:
unknownnoise0x20 2, 210, 50
unknownnoise0x20 15, 242, 67
endchannel
diff --git a/audio/sfx/intro_hip.asm b/audio/sfx/intro_hip.asm
index 70d0f8b1..3d6de9d6 100644
--- a/audio/sfx/intro_hip.asm
+++ b/audio/sfx/intro_hip.asm
@@ -1,4 +1,4 @@
-SFX_Intro_Hip_Ch1: ; 7c6be (1f:46be)
+SFX_Intro_Hip_Ch1:
duty 2
unknownsfx0x10 38
unknownsfx0x20 12, 194, 64, 7
diff --git a/audio/sfx/intro_hop.asm b/audio/sfx/intro_hop.asm
index 223c7f25..8e077c67 100644
--- a/audio/sfx/intro_hop.asm
+++ b/audio/sfx/intro_hop.asm
@@ -1,4 +1,4 @@
-SFX_Intro_Hop_Ch1: ; 7c6c9 (1f:46c9)
+SFX_Intro_Hop_Ch1:
duty 2
unknownsfx0x10 38
unknownsfx0x20 12, 194, 128, 6
diff --git a/audio/sfx/intro_lunge.asm b/audio/sfx/intro_lunge.asm
index ad00f56f..cb7570de 100644
--- a/audio/sfx/intro_lunge.asm
+++ b/audio/sfx/intro_lunge.asm
@@ -1,4 +1,4 @@
-SFX_Intro_Lunge_Ch1: ; 7c6a5 (1f:46a5)
+SFX_Intro_Lunge_Ch1:
unknownnoise0x20 6, 32, 16
unknownnoise0x20 6, 47, 64
unknownnoise0x20 6, 79, 65
diff --git a/audio/sfx/intro_raise.asm b/audio/sfx/intro_raise.asm
index d6ee1430..0088228f 100644
--- a/audio/sfx/intro_raise.asm
+++ b/audio/sfx/intro_raise.asm
@@ -1,4 +1,4 @@
-SFX_Intro_Raise_Ch1: ; 7c6d4 (1f:46d4)
+SFX_Intro_Raise_Ch1:
unknownnoise0x20 2, 111, 33
unknownnoise0x20 2, 175, 49
unknownnoise0x20 15, 242, 65
diff --git a/audio/sfx/intro_whoosh.asm b/audio/sfx/intro_whoosh.asm
index 903b7252..5609bfc0 100644
--- a/audio/sfx/intro_whoosh.asm
+++ b/audio/sfx/intro_whoosh.asm
@@ -1,4 +1,4 @@
-SFX_Intro_Whoosh_Ch1: ; 7c6e5 (1f:46e5)
+SFX_Intro_Whoosh_Ch1:
unknownnoise0x20 4, 44, 32
unknownnoise0x20 3, 160, 32
unknownnoise0x20 3, 176, 33
diff --git a/audio/sfx/ledge_1.asm b/audio/sfx/ledge_1.asm
index dfd7c819..72aa087e 100644
--- a/audio/sfx/ledge_1.asm
+++ b/audio/sfx/ledge_1.asm
@@ -1,4 +1,4 @@
-SFX_Ledge_1_Ch1: ; 85d6 (2:45d6)
+SFX_Ledge_1_Ch1:
duty 2
unknownsfx0x10 149
unknownsfx0x20 15, 242, 0, 4
diff --git a/audio/sfx/ledge_3.asm b/audio/sfx/ledge_3.asm
index 2bf172e7..a554282e 100644
--- a/audio/sfx/ledge_3.asm
+++ b/audio/sfx/ledge_3.asm
@@ -1,4 +1,4 @@
-SFX_Ledge_3_Ch1: ; 7c5b3 (1f:45b3)
+SFX_Ledge_3_Ch1:
duty 2
unknownsfx0x10 149
unknownsfx0x20 15, 242, 0, 4
diff --git a/audio/sfx/level_up.asm b/audio/sfx/level_up.asm
index 03e077ec..f0890eab 100644
--- a/audio/sfx/level_up.asm
+++ b/audio/sfx/level_up.asm
@@ -1,4 +1,4 @@
-SFX_Level_Up_Ch1: ; 2397d (8:797d)
+SFX_Level_Up_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -20,7 +20,7 @@ SFX_Level_Up_Ch1: ; 2397d (8:797d)
endchannel
-SFX_Level_Up_Ch2: ; 23998 (8:7998)
+SFX_Level_Up_Ch2:
executemusic
vibrato 4, 2, 2
duty 2
@@ -40,7 +40,7 @@ SFX_Level_Up_Ch2: ; 23998 (8:7998)
endchannel
-SFX_Level_Up_Ch3: ; 239b0 (8:79b0)
+SFX_Level_Up_Ch3:
executemusic
notetype 6, 1, 0
octave 5
diff --git a/audio/sfx/muted_snare1_1.asm b/audio/sfx/muted_snare1_1.asm
index 5d10ecc1..b29a5b87 100644
--- a/audio/sfx/muted_snare1_1.asm
+++ b/audio/sfx/muted_snare1_1.asm
@@ -1,4 +1,4 @@
-SFX_Muted_Snare1_1_Ch1: ; 8347 (2:4347)
+SFX_Muted_Snare1_1_Ch1:
unknownnoise0x20 0, 161, 24
unknownnoise0x20 0, 49, 51
endchannel
diff --git a/audio/sfx/muted_snare1_2.asm b/audio/sfx/muted_snare1_2.asm
index ea3cfc8c..a7f5467f 100644
--- a/audio/sfx/muted_snare1_2.asm
+++ b/audio/sfx/muted_snare1_2.asm
@@ -1,4 +1,4 @@
-SFX_Muted_Snare1_2_Ch1: ; 20347 (8:4347)
+SFX_Muted_Snare1_2_Ch1:
unknownnoise0x20 0, 161, 24
unknownnoise0x20 0, 49, 51
endchannel
diff --git a/audio/sfx/muted_snare1_3.asm b/audio/sfx/muted_snare1_3.asm
index 27caa37b..136018ef 100644
--- a/audio/sfx/muted_snare1_3.asm
+++ b/audio/sfx/muted_snare1_3.asm
@@ -1,4 +1,4 @@
-SFX_Muted_Snare1_3_Ch1: ; 7c347 (1f:4347)
+SFX_Muted_Snare1_3_Ch1:
unknownnoise0x20 0, 161, 24
unknownnoise0x20 0, 49, 51
endchannel
diff --git a/audio/sfx/muted_snare2_1.asm b/audio/sfx/muted_snare2_1.asm
index 7ab6252b..9ad52c27 100644
--- a/audio/sfx/muted_snare2_1.asm
+++ b/audio/sfx/muted_snare2_1.asm
@@ -1,3 +1,3 @@
-SFX_Muted_Snare2_1_Ch1: ; 8355 (2:4355)
+SFX_Muted_Snare2_1_Ch1:
unknownnoise0x20 0, 145, 34
endchannel
diff --git a/audio/sfx/muted_snare2_2.asm b/audio/sfx/muted_snare2_2.asm
index a9359226..20670ec8 100644
--- a/audio/sfx/muted_snare2_2.asm
+++ b/audio/sfx/muted_snare2_2.asm
@@ -1,3 +1,3 @@
-SFX_Muted_Snare2_2_Ch1: ; 20355 (8:4355)
+SFX_Muted_Snare2_2_Ch1:
unknownnoise0x20 0, 145, 34
endchannel
diff --git a/audio/sfx/muted_snare2_3.asm b/audio/sfx/muted_snare2_3.asm
index 7ac9705d..007d462d 100644
--- a/audio/sfx/muted_snare2_3.asm
+++ b/audio/sfx/muted_snare2_3.asm
@@ -1,3 +1,3 @@
-SFX_Muted_Snare2_3_Ch1: ; 7c355 (1f:4355)
+SFX_Muted_Snare2_3_Ch1:
unknownnoise0x20 0, 145, 34
endchannel
diff --git a/audio/sfx/muted_snare3_1.asm b/audio/sfx/muted_snare3_1.asm
index 1cd27319..8db6b874 100644
--- a/audio/sfx/muted_snare3_1.asm
+++ b/audio/sfx/muted_snare3_1.asm
@@ -1,3 +1,3 @@
-SFX_Muted_Snare3_1_Ch1: ; 8359 (2:4359)
+SFX_Muted_Snare3_1_Ch1:
unknownnoise0x20 0, 113, 34
endchannel
diff --git a/audio/sfx/muted_snare3_2.asm b/audio/sfx/muted_snare3_2.asm
index 1606b6d5..013ea9ab 100644
--- a/audio/sfx/muted_snare3_2.asm
+++ b/audio/sfx/muted_snare3_2.asm
@@ -1,3 +1,3 @@
-SFX_Muted_Snare3_2_Ch1: ; 20359 (8:4359)
+SFX_Muted_Snare3_2_Ch1:
unknownnoise0x20 0, 113, 34
endchannel
diff --git a/audio/sfx/muted_snare3_3.asm b/audio/sfx/muted_snare3_3.asm
index c0fe7efb..038a66db 100644
--- a/audio/sfx/muted_snare3_3.asm
+++ b/audio/sfx/muted_snare3_3.asm
@@ -1,3 +1,3 @@
-SFX_Muted_Snare3_3_Ch1: ; 7c359 (1f:4359)
+SFX_Muted_Snare3_3_Ch1:
unknownnoise0x20 0, 113, 34
endchannel
diff --git a/audio/sfx/muted_snare4_1.asm b/audio/sfx/muted_snare4_1.asm
index bcac6440..99429995 100644
--- a/audio/sfx/muted_snare4_1.asm
+++ b/audio/sfx/muted_snare4_1.asm
@@ -1,3 +1,3 @@
-SFX_Muted_Snare4_1_Ch1: ; 835d (2:435d)
+SFX_Muted_Snare4_1_Ch1:
unknownnoise0x20 0, 97, 34
endchannel
diff --git a/audio/sfx/muted_snare4_2.asm b/audio/sfx/muted_snare4_2.asm
index 6910c20d..11ee3218 100644
--- a/audio/sfx/muted_snare4_2.asm
+++ b/audio/sfx/muted_snare4_2.asm
@@ -1,3 +1,3 @@
-SFX_Muted_Snare4_2_Ch1: ; 2035d (8:435d)
+SFX_Muted_Snare4_2_Ch1:
unknownnoise0x20 0, 97, 34
endchannel
diff --git a/audio/sfx/muted_snare4_3.asm b/audio/sfx/muted_snare4_3.asm
index 52f14f21..86223813 100644
--- a/audio/sfx/muted_snare4_3.asm
+++ b/audio/sfx/muted_snare4_3.asm
@@ -1,3 +1,3 @@
-SFX_Muted_Snare4_3_Ch1: ; 7c35d (1f:435d)
+SFX_Muted_Snare4_3_Ch1:
unknownnoise0x20 0, 97, 34
endchannel
diff --git a/audio/sfx/not_very_effective.asm b/audio/sfx/not_very_effective.asm
index 959f33e3..8a4c521e 100644
--- a/audio/sfx/not_very_effective.asm
+++ b/audio/sfx/not_very_effective.asm
@@ -1,4 +1,4 @@
-SFX_Not_Very_Effective_Ch1: ; 204fe (8:44fe)
+SFX_Not_Very_Effective_Ch1:
unknownnoise0x20 4, 143, 85
unknownnoise0x20 2, 244, 68
unknownnoise0x20 8, 244, 34
diff --git a/audio/sfx/peck.asm b/audio/sfx/peck.asm
index e4632281..c474e9b3 100644
--- a/audio/sfx/peck.asm
+++ b/audio/sfx/peck.asm
@@ -1,3 +1,3 @@
-SFX_Peck_Ch1: ; 204aa (8:44aa)
+SFX_Peck_Ch1:
unknownnoise0x20 2, 161, 18
endchannel
diff --git a/audio/sfx/poisoned_1.asm b/audio/sfx/poisoned_1.asm
index 4760696d..bfd619fd 100644
--- a/audio/sfx/poisoned_1.asm
+++ b/audio/sfx/poisoned_1.asm
@@ -1,4 +1,4 @@
-SFX_Poisoned_1_Ch1: ; 84c6 (2:44c6)
+SFX_Poisoned_1_Ch1:
duty 0
unknownsfx0x10 20
unknownsfx0x20 4, 242, 0, 6
diff --git a/audio/sfx/poisoned_3.asm b/audio/sfx/poisoned_3.asm
index b6d69dc6..b972ca92 100644
--- a/audio/sfx/poisoned_3.asm
+++ b/audio/sfx/poisoned_3.asm
@@ -1,4 +1,4 @@
-SFX_Poisoned_3_Ch1: ; 7c49f (1f:449f)
+SFX_Poisoned_3_Ch1:
duty 0
unknownsfx0x10 20
unknownsfx0x20 4, 242, 0, 6
diff --git a/audio/sfx/pokedex_rating_1.asm b/audio/sfx/pokedex_rating_1.asm
index 21503d16..eccf0ee5 100644
--- a/audio/sfx/pokedex_rating_1.asm
+++ b/audio/sfx/pokedex_rating_1.asm
@@ -1,4 +1,4 @@
-SFX_Pokedex_Rating_1_Ch1: ; b2c8 (2:72c8)
+SFX_Pokedex_Rating_1_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -21,7 +21,7 @@ SFX_Pokedex_Rating_1_Ch1: ; b2c8 (2:72c8)
endchannel
-SFX_Pokedex_Rating_1_Ch2: ; b2e1 (2:72e1)
+SFX_Pokedex_Rating_1_Ch2:
executemusic
duty 2
notetype 5, 12, 2
@@ -44,7 +44,7 @@ SFX_Pokedex_Rating_1_Ch2: ; b2e1 (2:72e1)
endchannel
-SFX_Pokedex_Rating_1_Ch3: ; b2f7 (2:72f7)
+SFX_Pokedex_Rating_1_Ch3:
executemusic
notetype 5, 1, 0
octave 5
diff --git a/audio/sfx/pokedex_rating_3.asm b/audio/sfx/pokedex_rating_3.asm
index a9ea1c75..ec82888e 100644
--- a/audio/sfx/pokedex_rating_3.asm
+++ b/audio/sfx/pokedex_rating_3.asm
@@ -1,4 +1,4 @@
-SFX_Pokedex_Rating_3_Ch1: ; 7edda (1f:6dda)
+SFX_Pokedex_Rating_3_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -21,7 +21,7 @@ SFX_Pokedex_Rating_3_Ch1: ; 7edda (1f:6dda)
endchannel
-SFX_Pokedex_Rating_3_Ch2: ; 7edf3 (1f:6df3)
+SFX_Pokedex_Rating_3_Ch2:
executemusic
duty 2
notetype 5, 12, 2
@@ -44,7 +44,7 @@ SFX_Pokedex_Rating_3_Ch2: ; 7edf3 (1f:6df3)
endchannel
-SFX_Pokedex_Rating_3_Ch3: ; 7ee09 (1f:6e09)
+SFX_Pokedex_Rating_3_Ch3:
executemusic
notetype 5, 1, 0
octave 5
diff --git a/audio/sfx/pokeflute.asm b/audio/sfx/pokeflute.asm
index 4abf1713..cf61a6ee 100644
--- a/audio/sfx/pokeflute.asm
+++ b/audio/sfx/pokeflute.asm
@@ -1,4 +1,4 @@
-SFX_Pokeflute_Ch1: ; 83ca (2:43ca)
+SFX_Pokeflute_Ch1:
vibrato 16, 1, 4
notetype 12, 1, 0
octave 5
diff --git a/audio/sfx/pokeflute_ch1_ch2.asm b/audio/sfx/pokeflute_ch1_ch2.asm
index d912b168..84631bca 100644
--- a/audio/sfx/pokeflute_ch1_ch2.asm
+++ b/audio/sfx/pokeflute_ch1_ch2.asm
@@ -1,8 +1,8 @@
-SFX_08_PokeFlute_Ch1: ; 219eb (8:59eb)
+SFX_08_PokeFlute_Ch1:
tempo 256
-SFX_08_PokeFlute_Ch2: ; 219ee (8:59ee)
+SFX_08_PokeFlute_Ch2:
executemusic
notetype 8, 0, 0
rest 5
diff --git a/audio/sfx/pokeflute_ch3.asm b/audio/sfx/pokeflute_ch3.asm
index 0652e673..3c883462 100644
--- a/audio/sfx/pokeflute_ch3.asm
+++ b/audio/sfx/pokeflute_ch3.asm
@@ -1,4 +1,4 @@
-SFX_08_PokeFlute_Ch3: ; 2049b (8:449b)
+SFX_08_PokeFlute_Ch3:
executemusic
vibrato 16, 1, 4
notetype 8, 1, 0
diff --git a/audio/sfx/pound.asm b/audio/sfx/pound.asm
index 102d7d6d..f70f6725 100644
--- a/audio/sfx/pound.asm
+++ b/audio/sfx/pound.asm
@@ -1,3 +1,3 @@
-SFX_Pound_Ch1: ; 204c4 (8:44c4)
+SFX_Pound_Ch1:
unknownnoise0x20 2, 161, 34
endchannel
diff --git a/audio/sfx/press_ab_1.asm b/audio/sfx/press_ab_1.asm
index 5925b788..f68a6384 100644
--- a/audio/sfx/press_ab_1.asm
+++ b/audio/sfx/press_ab_1.asm
@@ -1,4 +1,4 @@
-SFX_Press_AB_1_Ch1: ; 8462 (2:4462)
+SFX_Press_AB_1_Ch1:
duty 2
unknownsfx0x20 0, 145, 192, 7
unknownsfx0x20 0, 129, 208, 7
diff --git a/audio/sfx/press_ab_2.asm b/audio/sfx/press_ab_2.asm
index e15dadc4..83b5ccd6 100644
--- a/audio/sfx/press_ab_2.asm
+++ b/audio/sfx/press_ab_2.asm
@@ -1,4 +1,4 @@
-SFX_Press_AB_2_Ch1: ; 203c3 (8:43c3)
+SFX_Press_AB_2_Ch1:
duty 2
unknownsfx0x20 0, 145, 192, 7
unknownsfx0x20 0, 129, 208, 7
diff --git a/audio/sfx/press_ab_3.asm b/audio/sfx/press_ab_3.asm
index 8af4a335..167c0fb1 100644
--- a/audio/sfx/press_ab_3.asm
+++ b/audio/sfx/press_ab_3.asm
@@ -1,4 +1,4 @@
-SFX_Press_AB_3_Ch1: ; 7c44b (1f:444b)
+SFX_Press_AB_3_Ch1:
duty 2
unknownsfx0x20 0, 145, 192, 7
unknownsfx0x20 0, 129, 208, 7
diff --git a/audio/sfx/psybeam.asm b/audio/sfx/psybeam.asm
index 65fcc229..893d4334 100644
--- a/audio/sfx/psybeam.asm
+++ b/audio/sfx/psybeam.asm
@@ -1,4 +1,4 @@
-SFX_Psybeam_Ch1: ; 20759 (8:4759)
+SFX_Psybeam_Ch1:
dutycycle 161
unknownsfx0x20 10, 241, 64, 6
unknownsfx0x20 10, 243, 128, 6
@@ -8,7 +8,7 @@ SFX_Psybeam_Ch1: ; 20759 (8:4759)
endchannel
-SFX_Psybeam_Ch2: ; 20770 (8:4770)
+SFX_Psybeam_Ch2:
dutycycle 179
unknownsfx0x20 10, 243, 113, 5
unknownsfx0x20 7, 227, 49, 5
@@ -18,7 +18,7 @@ SFX_Psybeam_Ch2: ; 20770 (8:4770)
endchannel
-SFX_Psybeam_Ch3: ; 20787 (8:4787)
+SFX_Psybeam_Ch3:
unknownnoise0x20 2, 209, 74
unknownnoise0x20 2, 210, 42
loopchannel 21, SFX_Psybeam_Ch3
diff --git a/audio/sfx/psychic_m.asm b/audio/sfx/psychic_m.asm
index e734b7ac..abaa8345 100644
--- a/audio/sfx/psychic_m.asm
+++ b/audio/sfx/psychic_m.asm
@@ -1,4 +1,4 @@
-SFX_Psychic_M_Ch1: ; 207fa (8:47fa)
+SFX_Psychic_M_Ch1:
duty 2
unknownsfx0x10 247
unknownsfx0x20 8, 196, 189, 7
@@ -11,7 +11,7 @@ SFX_Psychic_M_Ch1: ; 207fa (8:47fa)
endchannel
-SFX_Psychic_M_Ch2: ; 20819 (8:4819)
+SFX_Psychic_M_Ch2:
duty 2
unknownsfx0x20 8, 196, 112, 7
unknownsfx0x20 8, 196, 97, 7
@@ -22,7 +22,7 @@ SFX_Psychic_M_Ch2: ; 20819 (8:4819)
endchannel
-SFX_Psychic_M_Ch3: ; 20834 (8:4834)
+SFX_Psychic_M_Ch3:
unknownnoise0x20 15, 63, 20
unknownnoise0x20 15, 207, 19
unknownnoise0x20 15, 207, 18
diff --git a/audio/sfx/purchase_1.asm b/audio/sfx/purchase_1.asm
index fc0cecb5..767035ea 100644
--- a/audio/sfx/purchase_1.asm
+++ b/audio/sfx/purchase_1.asm
@@ -1,11 +1,11 @@
-SFX_Purchase_1_Ch1: ; 842d (2:442d)
+SFX_Purchase_1_Ch1:
duty 2
unknownsfx0x20 4, 225, 0, 7
unknownsfx0x20 8, 242, 224, 7
endchannel
-SFX_Purchase_1_Ch2: ; 8438 (2:4438)
+SFX_Purchase_1_Ch2:
duty 2
unknownsfx0x20 1, 8, 0, 0
unknownsfx0x20 4, 145, 193, 6
diff --git a/audio/sfx/purchase_3.asm b/audio/sfx/purchase_3.asm
index 5d649958..65a22527 100644
--- a/audio/sfx/purchase_3.asm
+++ b/audio/sfx/purchase_3.asm
@@ -1,11 +1,11 @@
-SFX_Purchase_3_Ch1: ; 7c416 (1f:4416)
+SFX_Purchase_3_Ch1:
duty 2
unknownsfx0x20 4, 225, 0, 7
unknownsfx0x20 8, 242, 224, 7
endchannel
-SFX_Purchase_3_Ch2: ; 7c421 (1f:4421)
+SFX_Purchase_3_Ch2:
duty 2
unknownsfx0x20 1, 8, 0, 0
unknownsfx0x20 4, 145, 193, 6
diff --git a/audio/sfx/push_boulder_1.asm b/audio/sfx/push_boulder_1.asm
index 31096861..cf43bbcf 100644
--- a/audio/sfx/push_boulder_1.asm
+++ b/audio/sfx/push_boulder_1.asm
@@ -1,4 +1,4 @@
-SFX_Push_Boulder_1_Ch1: ; 8654 (2:4654)
+SFX_Push_Boulder_1_Ch1:
unknownnoise0x20 4, 162, 35
unknownnoise0x20 8, 241, 52
unknownnoise0x20 15, 0, 0
diff --git a/audio/sfx/push_boulder_3.asm b/audio/sfx/push_boulder_3.asm
index ca7d2cd1..9f536964 100644
--- a/audio/sfx/push_boulder_3.asm
+++ b/audio/sfx/push_boulder_3.asm
@@ -1,4 +1,4 @@
-SFX_Push_Boulder_3_Ch1: ; 7c631 (1f:4631)
+SFX_Push_Boulder_3_Ch1:
unknownnoise0x20 4, 162, 35
unknownnoise0x20 8, 241, 52
unknownnoise0x20 15, 0, 0
diff --git a/audio/sfx/run.asm b/audio/sfx/run.asm
index 653b0f6b..656d3d01 100644
--- a/audio/sfx/run.asm
+++ b/audio/sfx/run.asm
@@ -1,4 +1,4 @@
-SFX_Run_Ch1: ; 2045d (8:445d)
+SFX_Run_Ch1:
unknownnoise0x20 2, 97, 35
unknownnoise0x20 2, 161, 51
unknownnoise0x20 2, 193, 51
diff --git a/audio/sfx/safari_zone_pa.asm b/audio/sfx/safari_zone_pa.asm
index fb8c4d1f..d385feb3 100644
--- a/audio/sfx/safari_zone_pa.asm
+++ b/audio/sfx/safari_zone_pa.asm
@@ -1,4 +1,4 @@
-SFX_Safari_Zone_PA_Ch1: ; 86c8 (2:46c8)
+SFX_Safari_Zone_PA_Ch1:
duty 2
unknownsfx0x20 15, 243, 48, 7
unknownsfx0x20 8, 101, 48, 7
diff --git a/audio/sfx/save_1.asm b/audio/sfx/save_1.asm
index 2e6c1f2b..13cb46e5 100644
--- a/audio/sfx/save_1.asm
+++ b/audio/sfx/save_1.asm
@@ -1,4 +1,4 @@
-SFX_Save_1_Ch1: ; 8475 (2:4475)
+SFX_Save_1_Ch1:
duty 2
unknownsfx0x20 4, 244, 0, 7
unknownsfx0x20 2, 228, 0, 6
@@ -10,7 +10,7 @@ SFX_Save_1_Ch1: ; 8475 (2:4475)
endchannel
-SFX_Save_1_Ch2: ; 8494 (2:4494)
+SFX_Save_1_Ch2:
duty 2
unknownsfx0x20 4, 8, 0, 0
unknownsfx0x20 2, 212, 1, 7
diff --git a/audio/sfx/save_3.asm b/audio/sfx/save_3.asm
index e0c8ce2b..7f0df72c 100644
--- a/audio/sfx/save_3.asm
+++ b/audio/sfx/save_3.asm
@@ -1,4 +1,4 @@
-SFX_Save_3_Ch1: ; 7c45e (1f:445e)
+SFX_Save_3_Ch1:
duty 2
unknownsfx0x20 3, 228, 0, 6
unknownsfx0x20 3, 228, 128, 6
@@ -7,7 +7,7 @@ SFX_Save_3_Ch1: ; 7c45e (1f:445e)
unknownsfx0x20 15, 242, 224, 7
endchannel
-SFX_Save_3_Ch2: ; 7c475 (1f:4475)
+SFX_Save_3_Ch2:
duty 2
unknownsfx0x20 3, 8, 0, 0
unknownsfx0x20 3, 196, 1, 6
diff --git a/audio/sfx/shooting_star.asm b/audio/sfx/shooting_star.asm
index 09dc4bf9..282f83b5 100644
--- a/audio/sfx/shooting_star.asm
+++ b/audio/sfx/shooting_star.asm
@@ -1,4 +1,4 @@
-SFX_Shooting_Star_Ch1: ; 7c72d (1f:472d)
+SFX_Shooting_Star_Ch1:
dutycycle 136
unknownsfx0x10 47
unknownsfx0x20 4, 64, 224, 7
diff --git a/audio/sfx/shrink_1.asm b/audio/sfx/shrink_1.asm
index 61ca1933..d69d60de 100644
--- a/audio/sfx/shrink_1.asm
+++ b/audio/sfx/shrink_1.asm
@@ -1,4 +1,4 @@
-SFX_Shrink_1_Ch1: ; 854e (2:454e)
+SFX_Shrink_1_Ch1:
duty 1
unknownsfx0x10 23
unknownsfx0x20 15, 215, 0, 6
diff --git a/audio/sfx/shrink_3.asm b/audio/sfx/shrink_3.asm
index 59fe1556..e5c4b7af 100644
--- a/audio/sfx/shrink_3.asm
+++ b/audio/sfx/shrink_3.asm
@@ -1,4 +1,4 @@
-SFX_Shrink_3_Ch1: ; 7c52b (1f:452b)
+SFX_Shrink_3_Ch1:
duty 1
unknownsfx0x10 23
unknownsfx0x20 15, 215, 0, 6
diff --git a/audio/sfx/silph_scope.asm b/audio/sfx/silph_scope.asm
index 66e4fe95..ad789af2 100644
--- a/audio/sfx/silph_scope.asm
+++ b/audio/sfx/silph_scope.asm
@@ -1,4 +1,4 @@
-SFX_Silph_Scope_Ch1: ; 20412 (8:4412)
+SFX_Silph_Scope_Ch1:
duty 0
unknownsfx0x20 0, 210, 0, 7
unknownsfx0x20 0, 210, 64, 7
diff --git a/audio/sfx/slots_new_spin.asm b/audio/sfx/slots_new_spin.asm
index d122517d..d29529e9 100644
--- a/audio/sfx/slots_new_spin.asm
+++ b/audio/sfx/slots_new_spin.asm
@@ -1,4 +1,4 @@
-SFX_Slots_New_Spin_Ch1: ; 7c70f (1f:470f)
+SFX_Slots_New_Spin_Ch1:
duty 3
unknownsfx0x20 5, 225, 0, 7
unknownsfx0x20 2, 225, 128, 7
@@ -6,7 +6,7 @@ SFX_Slots_New_Spin_Ch1: ; 7c70f (1f:470f)
endchannel
-SFX_Slots_New_Spin_Ch2: ; 7c71e (1f:471e)
+SFX_Slots_New_Spin_Ch2:
duty 2
unknownsfx0x20 4, 193, 193, 6
unknownsfx0x20 2, 193, 65, 7
diff --git a/audio/sfx/slots_reward.asm b/audio/sfx/slots_reward.asm
index 2400c0df..d7833f55 100644
--- a/audio/sfx/slots_reward.asm
+++ b/audio/sfx/slots_reward.asm
@@ -1,4 +1,4 @@
-SFX_Slots_Reward_Ch1: ; 7c704 (1f:4704)
+SFX_Slots_Reward_Ch1:
duty 2
unknownsfx0x20 2, 241, 0, 7
unknownsfx0x20 8, 129, 224, 7
diff --git a/audio/sfx/slots_stop_wheel.asm b/audio/sfx/slots_stop_wheel.asm
index e67af4c4..00641a5e 100644
--- a/audio/sfx/slots_stop_wheel.asm
+++ b/audio/sfx/slots_stop_wheel.asm
@@ -1,4 +1,4 @@
-SFX_Slots_Stop_Wheel_Ch1: ; 7c6f5 (1f:46f5)
+SFX_Slots_Stop_Wheel_Ch1:
duty 2
unknownsfx0x20 1, 242, 160, 6
unknownsfx0x20 1, 242, 224, 6
diff --git a/audio/sfx/snare1_1.asm b/audio/sfx/snare1_1.asm
index 3aa0f74e..9f7b4138 100644
--- a/audio/sfx/snare1_1.asm
+++ b/audio/sfx/snare1_1.asm
@@ -1,3 +1,3 @@
-SFX_Snare1_1_Ch1: ; 82fd (2:42fd)
+SFX_Snare1_1_Ch1:
unknownnoise0x20 0, 193, 51
endchannel
diff --git a/audio/sfx/snare1_2.asm b/audio/sfx/snare1_2.asm
index 7d0c3413..55fdf84a 100644
--- a/audio/sfx/snare1_2.asm
+++ b/audio/sfx/snare1_2.asm
@@ -1,3 +1,3 @@
-SFX_Snare1_2_Ch1: ; 202fd (8:42fd)
+SFX_Snare1_2_Ch1:
unknownnoise0x20 0, 193, 51
endchannel
diff --git a/audio/sfx/snare1_3.asm b/audio/sfx/snare1_3.asm
index 8d92bff6..cab603c1 100644
--- a/audio/sfx/snare1_3.asm
+++ b/audio/sfx/snare1_3.asm
@@ -1,3 +1,3 @@
-SFX_Snare1_3_Ch1: ; 7c2fd (1f:42fd)
+SFX_Snare1_3_Ch1:
unknownnoise0x20 0, 193, 51
endchannel
diff --git a/audio/sfx/snare2_1.asm b/audio/sfx/snare2_1.asm
index 7636a4f3..e40facb5 100644
--- a/audio/sfx/snare2_1.asm
+++ b/audio/sfx/snare2_1.asm
@@ -1,3 +1,3 @@
-SFX_Snare2_1_Ch1: ; 8301 (2:4301)
+SFX_Snare2_1_Ch1:
unknownnoise0x20 0, 177, 51
endchannel
diff --git a/audio/sfx/snare2_2.asm b/audio/sfx/snare2_2.asm
index 4c34e91a..82deb096 100644
--- a/audio/sfx/snare2_2.asm
+++ b/audio/sfx/snare2_2.asm
@@ -1,3 +1,3 @@
-SFX_Snare2_2_Ch1: ; 20301 (8:4301)
+SFX_Snare2_2_Ch1:
unknownnoise0x20 0, 177, 51
endchannel
diff --git a/audio/sfx/snare2_3.asm b/audio/sfx/snare2_3.asm
index eb816f54..fb5e1672 100644
--- a/audio/sfx/snare2_3.asm
+++ b/audio/sfx/snare2_3.asm
@@ -1,3 +1,3 @@
-SFX_Snare2_3_Ch1: ; 7c301 (1f:4301)
+SFX_Snare2_3_Ch1:
unknownnoise0x20 0, 177, 51
endchannel
diff --git a/audio/sfx/snare3_1.asm b/audio/sfx/snare3_1.asm
index b7e319b2..c2b20add 100644
--- a/audio/sfx/snare3_1.asm
+++ b/audio/sfx/snare3_1.asm
@@ -1,3 +1,3 @@
-SFX_Snare3_1_Ch1: ; 8305 (2:4305)
+SFX_Snare3_1_Ch1:
unknownnoise0x20 0, 161, 51
endchannel
diff --git a/audio/sfx/snare3_2.asm b/audio/sfx/snare3_2.asm
index ce889e55..16f87fc5 100644
--- a/audio/sfx/snare3_2.asm
+++ b/audio/sfx/snare3_2.asm
@@ -1,3 +1,3 @@
-SFX_Snare3_2_Ch1: ; 20305 (8:4305)
+SFX_Snare3_2_Ch1:
unknownnoise0x20 0, 161, 51
endchannel
diff --git a/audio/sfx/snare3_3.asm b/audio/sfx/snare3_3.asm
index c94f436f..6b9a006f 100644
--- a/audio/sfx/snare3_3.asm
+++ b/audio/sfx/snare3_3.asm
@@ -1,3 +1,3 @@
-SFX_Snare3_3_Ch1: ; 7c305 (1f:4305)
+SFX_Snare3_3_Ch1:
unknownnoise0x20 0, 161, 51
endchannel
diff --git a/audio/sfx/snare4_1.asm b/audio/sfx/snare4_1.asm
index 20c62731..2796410c 100644
--- a/audio/sfx/snare4_1.asm
+++ b/audio/sfx/snare4_1.asm
@@ -1,3 +1,3 @@
-SFX_Snare4_1_Ch1: ; 8309 (2:4309)
+SFX_Snare4_1_Ch1:
unknownnoise0x20 0, 129, 51
endchannel
diff --git a/audio/sfx/snare4_2.asm b/audio/sfx/snare4_2.asm
index da38dd62..920321ab 100644
--- a/audio/sfx/snare4_2.asm
+++ b/audio/sfx/snare4_2.asm
@@ -1,3 +1,3 @@
-SFX_Snare4_2_Ch1: ; 20309 (8:4309)
+SFX_Snare4_2_Ch1:
unknownnoise0x20 0, 129, 51
endchannel
diff --git a/audio/sfx/snare4_3.asm b/audio/sfx/snare4_3.asm
index 4496260b..a47c332c 100644
--- a/audio/sfx/snare4_3.asm
+++ b/audio/sfx/snare4_3.asm
@@ -1,3 +1,3 @@
-SFX_Snare4_3_Ch1: ; 7c309 (1f:4309)
+SFX_Snare4_3_Ch1:
unknownnoise0x20 0, 129, 51
endchannel
diff --git a/audio/sfx/snare5_1.asm b/audio/sfx/snare5_1.asm
index e0ae8b4c..dd4eab3a 100644
--- a/audio/sfx/snare5_1.asm
+++ b/audio/sfx/snare5_1.asm
@@ -1,4 +1,4 @@
-SFX_Snare5_1_Ch1: ; 830d (2:430d)
+SFX_Snare5_1_Ch1:
unknownnoise0x20 7, 132, 55
unknownnoise0x20 6, 132, 54
unknownnoise0x20 5, 131, 53
diff --git a/audio/sfx/snare5_2.asm b/audio/sfx/snare5_2.asm
index 649463cc..fad74021 100644
--- a/audio/sfx/snare5_2.asm
+++ b/audio/sfx/snare5_2.asm
@@ -1,4 +1,4 @@
-SFX_Snare5_2_Ch1: ; 2030d (8:430d)
+SFX_Snare5_2_Ch1:
unknownnoise0x20 7, 132, 55
unknownnoise0x20 6, 132, 54
unknownnoise0x20 5, 131, 53
diff --git a/audio/sfx/snare5_3.asm b/audio/sfx/snare5_3.asm
index 33a169b9..d0ca1d91 100644
--- a/audio/sfx/snare5_3.asm
+++ b/audio/sfx/snare5_3.asm
@@ -1,4 +1,4 @@
-SFX_Snare5_3_Ch1: ; 7c30d (1f:430d)
+SFX_Snare5_3_Ch1:
unknownnoise0x20 7, 132, 55
unknownnoise0x20 6, 132, 54
unknownnoise0x20 5, 131, 53
diff --git a/audio/sfx/snare6_1.asm b/audio/sfx/snare6_1.asm
index 4779226f..74bf01c7 100644
--- a/audio/sfx/snare6_1.asm
+++ b/audio/sfx/snare6_1.asm
@@ -1,3 +1,3 @@
-SFX_Snare6_1_Ch1: ; 832b (2:432b)
+SFX_Snare6_1_Ch1:
unknownnoise0x20 0, 129, 16
endchannel
diff --git a/audio/sfx/snare6_2.asm b/audio/sfx/snare6_2.asm
index 36359d02..0a96680e 100644
--- a/audio/sfx/snare6_2.asm
+++ b/audio/sfx/snare6_2.asm
@@ -1,3 +1,3 @@
-SFX_Snare6_2_Ch1: ; 2032b (8:432b)
+SFX_Snare6_2_Ch1:
unknownnoise0x20 0, 129, 16
endchannel
diff --git a/audio/sfx/snare6_3.asm b/audio/sfx/snare6_3.asm
index d4807ff6..f3130931 100644
--- a/audio/sfx/snare6_3.asm
+++ b/audio/sfx/snare6_3.asm
@@ -1,3 +1,3 @@
-SFX_Snare6_3_Ch1: ; 7c32b (1f:432b)
+SFX_Snare6_3_Ch1:
unknownnoise0x20 0, 129, 16
endchannel
diff --git a/audio/sfx/snare7_1.asm b/audio/sfx/snare7_1.asm
index c53642ed..ef8f80ab 100644
--- a/audio/sfx/snare7_1.asm
+++ b/audio/sfx/snare7_1.asm
@@ -1,3 +1,3 @@
-SFX_Snare7_1_Ch1: ; 832f (2:432f)
+SFX_Snare7_1_Ch1:
unknownnoise0x20 0, 130, 35
endchannel
diff --git a/audio/sfx/snare7_2.asm b/audio/sfx/snare7_2.asm
index 066aaa53..5e266b12 100644
--- a/audio/sfx/snare7_2.asm
+++ b/audio/sfx/snare7_2.asm
@@ -1,3 +1,3 @@
-SFX_Snare7_2_Ch1: ; 2032f (8:432f)
+SFX_Snare7_2_Ch1:
unknownnoise0x20 0, 130, 35
endchannel
diff --git a/audio/sfx/snare7_3.asm b/audio/sfx/snare7_3.asm
index 1b058a9b..26db3703 100644
--- a/audio/sfx/snare7_3.asm
+++ b/audio/sfx/snare7_3.asm
@@ -1,3 +1,3 @@
-SFX_Snare7_3_Ch1: ; 7c32f (1f:432f)
+SFX_Snare7_3_Ch1:
unknownnoise0x20 0, 130, 35
endchannel
diff --git a/audio/sfx/snare8_1.asm b/audio/sfx/snare8_1.asm
index 6269c7dc..5f624177 100644
--- a/audio/sfx/snare8_1.asm
+++ b/audio/sfx/snare8_1.asm
@@ -1,3 +1,3 @@
-SFX_Snare8_1_Ch1: ; 8333 (2:4333)
+SFX_Snare8_1_Ch1:
unknownnoise0x20 0, 130, 37
endchannel
diff --git a/audio/sfx/snare8_2.asm b/audio/sfx/snare8_2.asm
index 4c5bb18e..cf5d5654 100644
--- a/audio/sfx/snare8_2.asm
+++ b/audio/sfx/snare8_2.asm
@@ -1,3 +1,3 @@
-SFX_Snare8_2_Ch1: ; 20333 (8:4333)
+SFX_Snare8_2_Ch1:
unknownnoise0x20 0, 130, 37
endchannel
diff --git a/audio/sfx/snare8_3.asm b/audio/sfx/snare8_3.asm
index d1f0edc0..7da0e415 100644
--- a/audio/sfx/snare8_3.asm
+++ b/audio/sfx/snare8_3.asm
@@ -1,3 +1,3 @@
-SFX_Snare8_3_Ch1: ; 7c333 (1f:4333)
+SFX_Snare8_3_Ch1:
unknownnoise0x20 0, 130, 37
endchannel
diff --git a/audio/sfx/snare9_1.asm b/audio/sfx/snare9_1.asm
index 44b2e8c7..c511cdaf 100644
--- a/audio/sfx/snare9_1.asm
+++ b/audio/sfx/snare9_1.asm
@@ -1,3 +1,3 @@
-SFX_Snare9_1_Ch1: ; 8337 (2:4337)
+SFX_Snare9_1_Ch1:
unknownnoise0x20 0, 130, 38
endchannel
diff --git a/audio/sfx/snare9_2.asm b/audio/sfx/snare9_2.asm
index 1d20de2d..db9aecf9 100644
--- a/audio/sfx/snare9_2.asm
+++ b/audio/sfx/snare9_2.asm
@@ -1,3 +1,3 @@
-SFX_Snare9_2_Ch1: ; 20337 (8:4337)
+SFX_Snare9_2_Ch1:
unknownnoise0x20 0, 130, 38
endchannel
diff --git a/audio/sfx/snare9_3.asm b/audio/sfx/snare9_3.asm
index 849f4404..18df2e46 100644
--- a/audio/sfx/snare9_3.asm
+++ b/audio/sfx/snare9_3.asm
@@ -1,3 +1,3 @@
-SFX_Snare9_3_Ch1: ; 7c337 (1f:4337)
+SFX_Snare9_3_Ch1:
unknownnoise0x20 0, 130, 38
endchannel
diff --git a/audio/sfx/ss_anne_horn_1.asm b/audio/sfx/ss_anne_horn_1.asm
index 3989c148..66c95262 100644
--- a/audio/sfx/ss_anne_horn_1.asm
+++ b/audio/sfx/ss_anne_horn_1.asm
@@ -1,4 +1,4 @@
-SFX_SS_Anne_Horn_1_Ch1: ; 866d (2:466d)
+SFX_SS_Anne_Horn_1_Ch1:
duty 2
unknownsfx0x20 15, 240, 0, 5
unknownsfx0x20 4, 0, 0, 0
@@ -10,7 +10,7 @@ SFX_SS_Anne_Horn_1_Ch1: ; 866d (2:466d)
endchannel
-SFX_SS_Anne_Horn_1_Ch2: ; 868c (2:468c)
+SFX_SS_Anne_Horn_1_Ch2:
duty 3
unknownsfx0x20 15, 240, 130, 4
unknownsfx0x20 4, 0, 0, 0
diff --git a/audio/sfx/ss_anne_horn_3.asm b/audio/sfx/ss_anne_horn_3.asm
index c671b6cb..070f111c 100644
--- a/audio/sfx/ss_anne_horn_3.asm
+++ b/audio/sfx/ss_anne_horn_3.asm
@@ -1,4 +1,4 @@
-SFX_SS_Anne_Horn_3_Ch1: ; 7c64a (1f:464a)
+SFX_SS_Anne_Horn_3_Ch1:
duty 2
unknownsfx0x20 15, 240, 0, 5
unknownsfx0x20 4, 0, 0, 0
@@ -10,7 +10,7 @@ SFX_SS_Anne_Horn_3_Ch1: ; 7c64a (1f:464a)
endchannel
-SFX_SS_Anne_Horn_3_Ch2: ; 7c669 (1f:4669)
+SFX_SS_Anne_Horn_3_Ch2:
duty 3
unknownsfx0x20 15, 240, 130, 4
unknownsfx0x20 4, 0, 0, 0
diff --git a/audio/sfx/start_menu_1.asm b/audio/sfx/start_menu_1.asm
index 350b08ce..f509326c 100644
--- a/audio/sfx/start_menu_1.asm
+++ b/audio/sfx/start_menu_1.asm
@@ -1,4 +1,4 @@
-SFX_Start_Menu_1_Ch1: ; 83c3 (2:43c3)
+SFX_Start_Menu_1_Ch1:
unknownnoise0x20 1, 226, 51
unknownnoise0x20 8, 225, 34
endchannel
diff --git a/audio/sfx/start_menu_2.asm b/audio/sfx/start_menu_2.asm
index aabd41ce..92bb7558 100644
--- a/audio/sfx/start_menu_2.asm
+++ b/audio/sfx/start_menu_2.asm
@@ -1,4 +1,4 @@
-SFX_Start_Menu_2_Ch1: ; 203d6 (8:43d6)
+SFX_Start_Menu_2_Ch1:
unknownnoise0x20 1, 226, 51
unknownnoise0x20 8, 225, 34
endchannel
diff --git a/audio/sfx/start_menu_3.asm b/audio/sfx/start_menu_3.asm
index 566f11f4..74c82cf3 100644
--- a/audio/sfx/start_menu_3.asm
+++ b/audio/sfx/start_menu_3.asm
@@ -1,4 +1,4 @@
-SFX_Start_Menu_3_Ch1: ; 7c3c3 (1f:43c3)
+SFX_Start_Menu_3_Ch1:
unknownnoise0x20 1, 226, 51
unknownnoise0x20 8, 225, 34
endchannel
diff --git a/audio/sfx/super_effective.asm b/audio/sfx/super_effective.asm
index 6759ef6a..70d7014a 100644
--- a/audio/sfx/super_effective.asm
+++ b/audio/sfx/super_effective.asm
@@ -1,4 +1,4 @@
-SFX_Super_Effective_Ch1: ; 20574 (8:4574)
+SFX_Super_Effective_Ch1:
unknownnoise0x20 4, 241, 52
unknownnoise0x20 15, 242, 100
endchannel
diff --git a/audio/sfx/swap_1.asm b/audio/sfx/swap_1.asm
index c96d8522..782dd3fb 100644
--- a/audio/sfx/swap_1.asm
+++ b/audio/sfx/swap_1.asm
@@ -1,10 +1,10 @@
-SFX_Swap_1_Ch1: ; 83f8 (2:43f8)
+SFX_Swap_1_Ch1:
duty 2
unknownsfx0x20 8, 225, 64, 7
endchannel
-SFX_Swap_1_Ch2: ; 83ff (2:43ff)
+SFX_Swap_1_Ch2:
duty 2
unknownsfx0x20 2, 8, 0, 0
unknownsfx0x20 8, 177, 65, 7
diff --git a/audio/sfx/swap_2.asm b/audio/sfx/swap_2.asm
index 200536ec..270cf15b 100644
--- a/audio/sfx/swap_2.asm
+++ b/audio/sfx/swap_2.asm
@@ -1,11 +1,11 @@
-SFX_Swap_2_Ch1: ; 20439 (2:4439)
+SFX_Swap_2_Ch1:
duty 2
unknownsfx0x20 8, 225, 64, 7
endchannel
-SFX_Swap_2_Ch2: ; 20440 (2:4440)
+SFX_Swap_2_Ch2:
duty 2
unknownsfx0x20 2, 8, 0, 0
unknownsfx0x20 8, 177, 65, 7
- endchannel \ No newline at end of file
+ endchannel
diff --git a/audio/sfx/swap_3.asm b/audio/sfx/swap_3.asm
index 95aa3f19..4fc1db1d 100644
--- a/audio/sfx/swap_3.asm
+++ b/audio/sfx/swap_3.asm
@@ -1,10 +1,10 @@
-SFX_Swap_3_Ch1: ; 7c3e1 (1f:43e1)
+SFX_Swap_3_Ch1:
duty 2
unknownsfx0x20 8, 225, 64, 7
endchannel
-SFX_Swap_3_Ch2: ; 7c3e8 (1f:43e8)
+SFX_Swap_3_Ch2:
duty 2
unknownsfx0x20 2, 8, 0, 0
unknownsfx0x20 8, 177, 65, 7
diff --git a/audio/sfx/switch_1.asm b/audio/sfx/switch_1.asm
index 040e95aa..ac9fb680 100644
--- a/audio/sfx/switch_1.asm
+++ b/audio/sfx/switch_1.asm
@@ -1,4 +1,4 @@
-SFX_Switch_1_Ch1: ; 8569 (2:4569)
+SFX_Switch_1_Ch1:
duty 2
unknownsfx0x20 4, 0, 0, 0
unknownsfx0x20 2, 241, 128, 6
diff --git a/audio/sfx/switch_3.asm b/audio/sfx/switch_3.asm
index cbe6c8b2..81b68d26 100644
--- a/audio/sfx/switch_3.asm
+++ b/audio/sfx/switch_3.asm
@@ -1,4 +1,4 @@
-SFX_Switch_3_Ch1: ; 7c546 (1f:4546)
+SFX_Switch_3_Ch1:
duty 2
unknownsfx0x20 4, 0, 0, 0
unknownsfx0x20 2, 241, 128, 6
diff --git a/audio/sfx/teleport_enter1_1.asm b/audio/sfx/teleport_enter1_1.asm
index f9fc5ee2..0522ee16 100644
--- a/audio/sfx/teleport_enter1_1.asm
+++ b/audio/sfx/teleport_enter1_1.asm
@@ -1,4 +1,4 @@
-SFX_Teleport_Enter1_1_Ch1: ; 85b0 (2:45b0)
+SFX_Teleport_Enter1_1_Ch1:
duty 1
unknownsfx0x10 23
unknownsfx0x20 15, 215, 0, 7
diff --git a/audio/sfx/teleport_enter1_3.asm b/audio/sfx/teleport_enter1_3.asm
index 24220173..6518e416 100644
--- a/audio/sfx/teleport_enter1_3.asm
+++ b/audio/sfx/teleport_enter1_3.asm
@@ -1,4 +1,4 @@
-SFX_Teleport_Enter1_3_Ch1: ; 7c58d (1f:458d)
+SFX_Teleport_Enter1_3_Ch1:
duty 1
unknownsfx0x10 23
unknownsfx0x20 15, 215, 0, 7
diff --git a/audio/sfx/teleport_enter2_1.asm b/audio/sfx/teleport_enter2_1.asm
index c3c593b2..338c1c30 100644
--- a/audio/sfx/teleport_enter2_1.asm
+++ b/audio/sfx/teleport_enter2_1.asm
@@ -1,4 +1,4 @@
-SFX_Teleport_Enter2_1_Ch1: ; 85e1 (2:45e1)
+SFX_Teleport_Enter2_1_Ch1:
unknownnoise0x20 2, 241, 50
unknownnoise0x20 2, 0, 0
unknownnoise0x20 2, 241, 34
diff --git a/audio/sfx/teleport_enter2_3.asm b/audio/sfx/teleport_enter2_3.asm
index 628bb9fa..f6cd103c 100644
--- a/audio/sfx/teleport_enter2_3.asm
+++ b/audio/sfx/teleport_enter2_3.asm
@@ -1,4 +1,4 @@
-SFX_Teleport_Enter2_3_Ch1: ; 7c5be (1f:45be)
+SFX_Teleport_Enter2_3_Ch1:
unknownnoise0x20 2, 241, 50
unknownnoise0x20 2, 0, 0
unknownnoise0x20 2, 241, 34
diff --git a/audio/sfx/teleport_exit1_1.asm b/audio/sfx/teleport_exit1_1.asm
index 46ba29cf..f916d539 100644
--- a/audio/sfx/teleport_exit1_1.asm
+++ b/audio/sfx/teleport_exit1_1.asm
@@ -1,4 +1,4 @@
-SFX_Teleport_Exit1_1_Ch1: ; 8595 (2:4595)
+SFX_Teleport_Exit1_1_Ch1:
duty 1
unknownsfx0x10 23
unknownsfx0x20 15, 215, 0, 5
diff --git a/audio/sfx/teleport_exit1_3.asm b/audio/sfx/teleport_exit1_3.asm
index 8d203212..67739bd1 100644
--- a/audio/sfx/teleport_exit1_3.asm
+++ b/audio/sfx/teleport_exit1_3.asm
@@ -1,4 +1,4 @@
-SFX_Teleport_Exit1_3_Ch1: ; 7c572 (1f:4572)
+SFX_Teleport_Exit1_3_Ch1:
duty 1
unknownsfx0x10 23
unknownsfx0x20 15, 215, 0, 5
diff --git a/audio/sfx/teleport_exit2_1.asm b/audio/sfx/teleport_exit2_1.asm
index 37159083..1e1de5a5 100644
--- a/audio/sfx/teleport_exit2_1.asm
+++ b/audio/sfx/teleport_exit2_1.asm
@@ -1,4 +1,4 @@
-SFX_Teleport_Exit2_1_Ch1: ; 85cb (2:45cb)
+SFX_Teleport_Exit2_1_Ch1:
duty 1
unknownsfx0x10 22
unknownsfx0x20 15, 210, 0, 5
diff --git a/audio/sfx/teleport_exit2_3.asm b/audio/sfx/teleport_exit2_3.asm
index c7ad054b..928e486e 100644
--- a/audio/sfx/teleport_exit2_3.asm
+++ b/audio/sfx/teleport_exit2_3.asm
@@ -1,4 +1,4 @@
-SFX_Teleport_Exit2_3_Ch1: ; 7c5a8 (1f:45a8)
+SFX_Teleport_Exit2_3_Ch1:
duty 1
unknownsfx0x10 22
unknownsfx0x20 15, 210, 0, 5
diff --git a/audio/sfx/tink_1.asm b/audio/sfx/tink_1.asm
index a8099ae1..e6eff9ac 100644
--- a/audio/sfx/tink_1.asm
+++ b/audio/sfx/tink_1.asm
@@ -1,4 +1,4 @@
-SFX_Tink_1_Ch1: ; 840a (2:440a)
+SFX_Tink_1_Ch1:
duty 2
unknownsfx0x10 58
unknownsfx0x20 4, 242, 0, 2
diff --git a/audio/sfx/tink_2.asm b/audio/sfx/tink_2.asm
index cca37381..fa06cf19 100644
--- a/audio/sfx/tink_2.asm
+++ b/audio/sfx/tink_2.asm
@@ -1,4 +1,4 @@
-SFX_Tink_2_Ch1: ; 203dd (8:43dd)
+SFX_Tink_2_Ch1:
duty 2
unknownsfx0x10 58
unknownsfx0x20 4, 242, 0, 2
diff --git a/audio/sfx/tink_3.asm b/audio/sfx/tink_3.asm
index 7299b7ae..d786d289 100644
--- a/audio/sfx/tink_3.asm
+++ b/audio/sfx/tink_3.asm
@@ -1,4 +1,4 @@
-SFX_Tink_3_Ch1: ; 7c3f3 (1f:43f3)
+SFX_Tink_3_Ch1:
duty 2
unknownsfx0x10 58
unknownsfx0x20 4, 242, 0, 2
diff --git a/audio/sfx/trade_machine_1.asm b/audio/sfx/trade_machine_1.asm
index ce2bbc0a..87993851 100644
--- a/audio/sfx/trade_machine_1.asm
+++ b/audio/sfx/trade_machine_1.asm
@@ -1,4 +1,4 @@
-SFX_Trade_Machine_1_Ch1: ; 84ee (2:44ee)
+SFX_Trade_Machine_1_Ch1:
duty 2
unknownsfx0x10 21
unknownsfx0x20 15, 240, 240, 4
diff --git a/audio/sfx/trade_machine_3.asm b/audio/sfx/trade_machine_3.asm
index f7515ffb..6b70d5da 100644
--- a/audio/sfx/trade_machine_3.asm
+++ b/audio/sfx/trade_machine_3.asm
@@ -1,4 +1,4 @@
-SFX_Trade_Machine_3_Ch1: ; 7c4c7 (1f:44c7)
+SFX_Trade_Machine_3_Ch1:
duty 2
unknownsfx0x10 21
unknownsfx0x20 15, 240, 240, 4
diff --git a/audio/sfx/triangle1_1.asm b/audio/sfx/triangle1_1.asm
index fded5b94..94b61fe1 100644
--- a/audio/sfx/triangle1_1.asm
+++ b/audio/sfx/triangle1_1.asm
@@ -1,3 +1,3 @@
-SFX_Triangle1_1_Ch1: ; 8320 (2:4320)
+SFX_Triangle1_1_Ch1:
unknownnoise0x20 0, 81, 42
endchannel
diff --git a/audio/sfx/triangle1_2.asm b/audio/sfx/triangle1_2.asm
index 4f4474ee..1c9c1d29 100644
--- a/audio/sfx/triangle1_2.asm
+++ b/audio/sfx/triangle1_2.asm
@@ -1,3 +1,3 @@
-SFX_Triangle1_2_Ch1: ; 20320 (8:4320)
+SFX_Triangle1_2_Ch1:
unknownnoise0x20 0, 81, 42
endchannel
diff --git a/audio/sfx/triangle1_3.asm b/audio/sfx/triangle1_3.asm
index d1ad9390..b900da7c 100644
--- a/audio/sfx/triangle1_3.asm
+++ b/audio/sfx/triangle1_3.asm
@@ -1,3 +1,3 @@
-SFX_Triangle1_3_Ch1: ; 7c320 (1f:4320)
+SFX_Triangle1_3_Ch1:
unknownnoise0x20 0, 81, 42
endchannel
diff --git a/audio/sfx/triangle2_1.asm b/audio/sfx/triangle2_1.asm
index f9c4bc6a..0f648237 100644
--- a/audio/sfx/triangle2_1.asm
+++ b/audio/sfx/triangle2_1.asm
@@ -1,4 +1,4 @@
-SFX_Triangle2_1_Ch1: ; 8324 (2:4324)
+SFX_Triangle2_1_Ch1:
unknownnoise0x20 1, 65, 43
unknownnoise0x20 0, 97, 42
endchannel
diff --git a/audio/sfx/triangle2_2.asm b/audio/sfx/triangle2_2.asm
index feddf1af..cbc2a642 100644
--- a/audio/sfx/triangle2_2.asm
+++ b/audio/sfx/triangle2_2.asm
@@ -1,4 +1,4 @@
-SFX_Triangle2_2_Ch1: ; 20324 (8:4324)
+SFX_Triangle2_2_Ch1:
unknownnoise0x20 1, 65, 43
unknownnoise0x20 0, 97, 42
endchannel
diff --git a/audio/sfx/triangle2_3.asm b/audio/sfx/triangle2_3.asm
index a4acff1b..44fc95dd 100644
--- a/audio/sfx/triangle2_3.asm
+++ b/audio/sfx/triangle2_3.asm
@@ -1,4 +1,4 @@
-SFX_Triangle2_3_Ch1: ; 7c324 (1f:4324)
+SFX_Triangle2_3_Ch1:
unknownnoise0x20 1, 65, 43
unknownnoise0x20 0, 97, 42
endchannel
diff --git a/audio/sfx/triangle3_1.asm b/audio/sfx/triangle3_1.asm
index e4c3c919..f5622bd7 100644
--- a/audio/sfx/triangle3_1.asm
+++ b/audio/sfx/triangle3_1.asm
@@ -1,4 +1,4 @@
-SFX_Triangle3_1_Ch1: ; 834e (2:434e)
+SFX_Triangle3_1_Ch1:
unknownnoise0x20 2, 145, 40
unknownnoise0x20 0, 113, 24
endchannel
diff --git a/audio/sfx/triangle3_2.asm b/audio/sfx/triangle3_2.asm
index 7a642878..8b0b76e5 100644
--- a/audio/sfx/triangle3_2.asm
+++ b/audio/sfx/triangle3_2.asm
@@ -1,4 +1,4 @@
-SFX_Triangle3_2_Ch1: ; 2034e (8:434e)
+SFX_Triangle3_2_Ch1:
unknownnoise0x20 2, 145, 40
unknownnoise0x20 0, 113, 24
endchannel
diff --git a/audio/sfx/triangle3_3.asm b/audio/sfx/triangle3_3.asm
index 73ad42ce..d40779fb 100644
--- a/audio/sfx/triangle3_3.asm
+++ b/audio/sfx/triangle3_3.asm
@@ -1,4 +1,4 @@
-SFX_Triangle3_3_Ch1: ; 7c34e (1f:434e)
+SFX_Triangle3_3_Ch1:
unknownnoise0x20 2, 145, 40
unknownnoise0x20 0, 113, 24
endchannel
diff --git a/audio/sfx/turn_off_pc_1.asm b/audio/sfx/turn_off_pc_1.asm
index 7b4e999d..ca29a4cc 100644
--- a/audio/sfx/turn_off_pc_1.asm
+++ b/audio/sfx/turn_off_pc_1.asm
@@ -1,4 +1,4 @@
-SFX_Turn_Off_PC_1_Ch1: ; 8528 (2:4528)
+SFX_Turn_Off_PC_1_Ch1:
duty 2
unknownsfx0x20 4, 240, 0, 6
unknownsfx0x20 4, 240, 0, 4
diff --git a/audio/sfx/turn_off_pc_3.asm b/audio/sfx/turn_off_pc_3.asm
index 057ab9a4..2ae0787b 100644
--- a/audio/sfx/turn_off_pc_3.asm
+++ b/audio/sfx/turn_off_pc_3.asm
@@ -1,4 +1,4 @@
-SFX_Turn_Off_PC_3_Ch1: ; 7c505 (1f:4505)
+SFX_Turn_Off_PC_3_Ch1:
duty 2
unknownsfx0x20 4, 240, 0, 6
unknownsfx0x20 4, 240, 0, 4
diff --git a/audio/sfx/turn_on_pc_1.asm b/audio/sfx/turn_on_pc_1.asm
index b537791c..22433707 100644
--- a/audio/sfx/turn_on_pc_1.asm
+++ b/audio/sfx/turn_on_pc_1.asm
@@ -1,4 +1,4 @@
-SFX_Turn_On_PC_1_Ch1: ; 84fd (2:44fd)
+SFX_Turn_On_PC_1_Ch1:
duty 2
unknownsfx0x20 15, 242, 192, 7
unknownsfx0x20 15, 0, 0, 0
diff --git a/audio/sfx/turn_on_pc_3.asm b/audio/sfx/turn_on_pc_3.asm
index df654cfa..d97dc1c7 100644
--- a/audio/sfx/turn_on_pc_3.asm
+++ b/audio/sfx/turn_on_pc_3.asm
@@ -1,4 +1,4 @@
-SFX_Turn_On_PC_3_Ch1: ; 7c4d6 (1f:44d6)
+SFX_Turn_On_PC_3_Ch1:
duty 2
unknownsfx0x20 15, 242, 192, 7
unknownsfx0x20 15, 0, 0, 0
diff --git a/audio/sfx/unused2_2.asm b/audio/sfx/unused2_2.asm
index 1eca4432..7e0350d4 100644
--- a/audio/sfx/unused2_2.asm
+++ b/audio/sfx/unused2_2.asm
@@ -1,4 +1,4 @@
-SFX_08_unused2_Ch1: ; 2232f (8:632f)
+SFX_08_unused2_Ch1:
executemusic
tempo 256
volume 7, 7
@@ -17,7 +17,7 @@ SFX_08_unused2_Ch1: ; 2232f (8:632f)
endchannel
-SFX_08_unused2_Ch2: ; 22347 (8:6347)
+SFX_08_unused2_Ch2:
executemusic
vibrato 8, 2, 7
duty 2
@@ -33,7 +33,7 @@ SFX_08_unused2_Ch2: ; 22347 (8:6347)
endchannel
-SFX_08_unused2_Ch3: ; 22359 (8:6359)
+SFX_08_unused2_Ch3:
executemusic
notetype 6, 1, 0
octave 4
diff --git a/audio/sfx/unused_1.asm b/audio/sfx/unused_1.asm
index bd9bdfb3..d0bbfd59 100644
--- a/audio/sfx/unused_1.asm
+++ b/audio/sfx/unused_1.asm
@@ -1,4 +1,4 @@
-SFX_02_unused_Ch1: ; 86e3 (2:46e3)
+SFX_02_unused_Ch1:
dutycycle 240
unknownsfx0x20 15, 224, 128, 7
unknownsfx0x20 15, 240, 132, 7
@@ -9,7 +9,7 @@ SFX_02_unused_Ch1: ; 86e3 (2:46e3)
endchannel
-SFX_02_unused_Ch2: ; 86fe (2:46fe)
+SFX_02_unused_Ch2:
dutycycle 5
unknownsfx0x20 15, 160, 65, 7
unknownsfx0x20 15, 176, 67, 7
@@ -20,7 +20,7 @@ SFX_02_unused_Ch2: ; 86fe (2:46fe)
endchannel
-SFX_02_unused_Ch3: ; 8719 (2:4719)
+SFX_02_unused_Ch3:
unknownnoise0x20 2, 242, 76
unknownnoise0x20 6, 224, 58
unknownnoise0x20 15, 208, 58
diff --git a/audio/sfx/unused_2.asm b/audio/sfx/unused_2.asm
index 25e4840c..fd491b71 100644
--- a/audio/sfx/unused_2.asm
+++ b/audio/sfx/unused_2.asm
@@ -1,4 +1,4 @@
-SFX_08_unused_Ch1: ; 2098b (8:498b)
+SFX_08_unused_Ch1:
dutycycle 240
unknownsfx0x20 15, 224, 128, 7
unknownsfx0x20 15, 240, 132, 7
@@ -9,7 +9,7 @@ SFX_08_unused_Ch1: ; 2098b (8:498b)
endchannel
-SFX_08_unused_Ch2: ; 209a6 (8:49a6)
+SFX_08_unused_Ch2:
dutycycle 5
unknownsfx0x20 15, 160, 65, 7
unknownsfx0x20 15, 176, 67, 7
@@ -20,7 +20,7 @@ SFX_08_unused_Ch2: ; 209a6 (8:49a6)
endchannel
-SFX_08_unused_Ch3: ; 209c1 (8:49c1)
+SFX_08_unused_Ch3:
unknownnoise0x20 2, 242, 76
unknownnoise0x20 6, 224, 58
unknownnoise0x20 15, 208, 58
diff --git a/audio/sfx/unused_3.asm b/audio/sfx/unused_3.asm
index dfb16ee1..b00e55f5 100644
--- a/audio/sfx/unused_3.asm
+++ b/audio/sfx/unused_3.asm
@@ -1,4 +1,4 @@
-SFX_1f_unused_Ch1: ; 7c758 (1f:4758)
+SFX_1f_unused_Ch1:
dutycycle 240
unknownsfx0x20 15, 224, 128, 7
unknownsfx0x20 15, 240, 132, 7
@@ -9,7 +9,7 @@ SFX_1f_unused_Ch1: ; 7c758 (1f:4758)
endchannel
-SFX_1f_unused_Ch2: ; 7c773 (1f:4773)
+SFX_1f_unused_Ch2:
dutycycle 5
unknownsfx0x20 15, 160, 65, 7
unknownsfx0x20 15, 176, 67, 7
@@ -20,7 +20,7 @@ SFX_1f_unused_Ch2: ; 7c773 (1f:4773)
endchannel
-SFX_1f_unused_Ch3: ; 7c78e (1f:478e)
+SFX_1f_unused_Ch3:
unknownnoise0x20 2, 242, 76
unknownnoise0x20 6, 224, 58
unknownnoise0x20 15, 208, 58
diff --git a/audio/sfx/vine_whip.asm b/audio/sfx/vine_whip.asm
index c1e610b6..a8445131 100644
--- a/audio/sfx/vine_whip.asm
+++ b/audio/sfx/vine_whip.asm
@@ -1,4 +1,4 @@
-SFX_Vine_Whip_Ch1: ; 20533 (8:4533)
+SFX_Vine_Whip_Ch1:
unknownnoise0x20 1, 194, 51
unknownnoise0x20 2, 242, 33
unknownnoise0x20 1, 226, 51
diff --git a/audio/sfx/withdraw_deposit_1.asm b/audio/sfx/withdraw_deposit_1.asm
index bb7a8d6e..59827ceb 100644
--- a/audio/sfx/withdraw_deposit_1.asm
+++ b/audio/sfx/withdraw_deposit_1.asm
@@ -1,4 +1,4 @@
-SFX_Withdraw_Deposit_1_Ch1: ; 86ab (2:46ab)
+SFX_Withdraw_Deposit_1_Ch1:
duty 1
unknownsfx0x10 58
unknownsfx0x20 4, 242, 0, 5
diff --git a/audio/sfx/withdraw_deposit_3.asm b/audio/sfx/withdraw_deposit_3.asm
index 99e47fee..0add48e1 100644
--- a/audio/sfx/withdraw_deposit_3.asm
+++ b/audio/sfx/withdraw_deposit_3.asm
@@ -1,4 +1,4 @@
-SFX_Withdraw_Deposit_3_Ch1: ; 7c688 (1f:4688)
+SFX_Withdraw_Deposit_3_Ch1:
duty 1
unknownsfx0x10 58
unknownsfx0x20 4, 242, 0, 5
diff --git a/data/animations.asm b/data/animations.asm
index 786f7e72..de2487d7 100755
--- a/data/animations.asm
+++ b/data/animations.asm
@@ -1,4 +1,4 @@
-AttackAnimationPointers: ; 7a22a (1e:622a)
+AttackAnimationPointers:
dw PoundAnim
dw KarateChopAnim
dw DoubleSlapAnim
@@ -208,152 +208,152 @@ AttackAnimationPointers: ; 7a22a (1e:622a)
; if first byte >= $D8
; db special_effect_id, sound_id
; $FF terminated
-PoundAnim: ; 7a216 (1e:6216)
-StruggleAnim: ; 7a216 (1e:6216)
+PoundAnim:
+StruggleAnim:
db $08,$00,$01
db $FF
-KarateChopAnim: ; 7a21a (1e:621a)
+KarateChopAnim:
db $08,$01,$03
db $FF
-DoubleSlapAnim: ; 7a21e (1e:621e)
+DoubleSlapAnim:
db $05,$02,$01
db $05,$02,$01
db $FF
-CometPunchAnim: ; 7a225 (1e:6225)
+CometPunchAnim:
db $04,$03,$02
db $04,$03,$02
db $FF
-MegaPunchAnim: ; 7a22c (1e:622c)
+MegaPunchAnim:
db $46,$04,$04
db $FF
-PayDayAnim: ; 7a230 (1e:6230)
+PayDayAnim:
db $08,$00,$01
db $04,$05,$52
db $FF
-FirePunchAnim: ; 7a237 (1e:6237)
+FirePunchAnim:
db $06,$06,$02
db $46,$FF,$11
db $FF
-IcePunchAnim: ; 7a23e (1e:623e)
+IcePunchAnim:
db $06,$07,$02
db $10,$FF,$2F
db $FF
-ThunderPunchAnim: ; 7a245 (1e:6245)
+ThunderPunchAnim:
db $06,$08,$02
db SE_DARK_SCREEN_PALETTE, $FF
db $46,$FF,$2B
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-ScratchAnim: ; 7a250 (1e:6250)
+ScratchAnim:
db $06,$09,$0F
db $FF
-VicegripAnim: ; 7a254 (1e:6254)
+VicegripAnim:
db $08,$0A,$2A
db $FF
-GuillotineAnim: ; 7a258 (1e:6258)
+GuillotineAnim:
db $06,$0B,$2A
db $FF
-RazorWindAnim: ; 7a25c (1e:625c)
+RazorWindAnim:
db $04,$0C,$16
db $FF
-SwordsDanceAnim: ; 7a260 (1e:6260)
+SwordsDanceAnim:
db $46,$0D,$18
db $46,$0D,$18
db $46,$0D,$18
db $FF
-CutAnim: ; 7a26a (1e:626a)
+CutAnim:
db SE_DARK_SCREEN_FLASH, $0E
db $04,$FF,$16
db $FF
-GustAnim: ; 7a270 (1e:6270)
+GustAnim:
db $46,$0F,$10
db $06,$FF,$02
db $FF
-WingAttackAnim: ; 7a277 (1e:6277)
+WingAttackAnim:
db $46,$10,$04
db $FF
-WhirlwindAnim: ; 7a27b (1e:627b)
+WhirlwindAnim:
db $46,$11,$10
db SE_SLIDE_ENEMY_MON_OFF, $FF
db $FF
-FlyAnim: ; 7a281 (1e:6281)
+FlyAnim:
db $46,$12,$04
db SE_SHOW_MON_PIC, $FF
db $FF
-BindAnim: ; 7a287 (1e:6287)
+BindAnim:
db $04,$13,$23
db $04,$13,$23
db $FF
-SlamAnim: ; 7a28e (1e:628e)
+SlamAnim:
db $06,$14,$02
db $FF
-VineWhipAnim: ; 7a292 (1e:6292)
+VineWhipAnim:
db $01,$15,$16
db $08,$FF,$01
db $FF
-StompAnim: ; 7a299 (1e:6299)
+StompAnim:
db $48,$16,$05
db $FF
-DoubleKickAnim: ; 7a29d (1e:629d)
+DoubleKickAnim:
db $08,$17,$01
db $08,$17,$01
db $FF
-MegaKickAnim: ; 7a2a4 (1e:62a4)
+MegaKickAnim:
db $46,$18,$04
db $FF
-JumpKickAnim: ; 7a2a8 (1e:62a8)
+JumpKickAnim:
db $46,$19,$04
db $FF
-RollingKickAnim: ; 7a2ac (1e:62ac)
+RollingKickAnim:
db SE_DARK_SCREEN_FLASH, $1A
db $46,$FF,$04
db $FF
-SandAttackAnim: ; 7a2b2 (1e:62b2)
+SandAttackAnim:
db $46,$1B,$28
db $FF
-HeatButtAnim: ; 7a2b6 (1e:62b6)
+HeatButtAnim:
db $46,$1C,$05
db $FF
-HornAttackAnim: ; 7a2ba (1e:62ba)
+HornAttackAnim:
db $06,$1D,$45
db $46,$FF,$05
db $FF
-FuryAttackAnim: ; 7a2c1 (1e:62c1)
+FuryAttackAnim:
db $02,$1E,$46
db $02,$FF,$46
db $FF
-HornDrillAnim: ; 7a2c8 (1e:62c8)
+HornDrillAnim:
db $42,$1F,$05
db $42,$FF,$05
db $42,$FF,$05
@@ -361,35 +361,35 @@ HornDrillAnim: ; 7a2c8 (1e:62c8)
db $42,$FF,$05
db $FF
-TackleAnim: ; 7a2d8 (1e:62d8)
+TackleAnim:
db SE_MOVE_MON_HORIZONTALLY, $48
db SE_RESET_MON_POSITION, $FF
db $FF
-BodySlamAnim: ; 7a2dd (1e:62dd)
+BodySlamAnim:
db SE_MOVE_MON_HORIZONTALLY, $48
db SE_DARK_SCREEN_FLASH, $FF
db SE_DARK_SCREEN_FLASH, $FF
db SE_RESET_MON_POSITION, $FF
db $FF
-WrapAnim: ; 7a2e6 (1e:62e6)
+WrapAnim:
db $04,$22,$23
db $04,$22,$23
db $04,$22,$23
db $FF
-TakeDownAnim: ; 7a2f0 (1e:62f0)
+TakeDownAnim:
db SE_MOVE_MON_HORIZONTALLY, $48
db SE_DARK_SCREEN_FLASH, $23
db SE_RESET_MON_POSITION, $FF
db $FF
-ThrashAnim: ; 7a2f7 (1e:62f7)
+ThrashAnim:
db $46,$24,$04
db $FF
-DoubleEdgeAnim: ; 7a2fb (1e:62fb)
+DoubleEdgeAnim:
db SE_LIGHT_SCREEN_PALETTE, $48
db $06,$FF,$2D
db SE_RESET_SCREEN_PALETTE, $FF
@@ -398,7 +398,7 @@ DoubleEdgeAnim: ; 7a2fb (1e:62fb)
db SE_RESET_MON_POSITION, $FF
db $FF
-TailWhipAnim: ; 7a309 (1e:6309)
+TailWhipAnim:
db SE_MOVE_MON_HORIZONTALLY, $84
db SE_DELAY_ANIMATION_10, $FF
db SE_RESET_MON_POSITION, $84
@@ -408,125 +408,125 @@ TailWhipAnim: ; 7a309 (1e:6309)
db SE_RESET_MON_POSITION, $84
db $FF
-PoisonStingAnim: ; 7a318 (1e:6318)
+PoisonStingAnim:
db $06,$27,$00
db $FF
-TwineedleAnim: ; 7a31c (1e:631c)
+TwineedleAnim:
db $05,$28,$01
db $05,$28,$01
db $FF
-PinMissileAnim: ; 7a323 (1e:6323)
+PinMissileAnim:
db $03,$29,$01
db $FF
-LeerAnim: ; 7a327 (1e:6327)
+LeerAnim:
db SE_DARK_SCREEN_PALETTE, $48
db SE_DARK_SCREEN_FLASH, $2A
db SE_DARK_SCREEN_FLASH, $2A
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-BiteAnim: ; 7a330 (1e:6330)
+BiteAnim:
db $08,$2B,$02
db $FF
-GrowlAnim: ; 7a334 (1e:6334)
+GrowlAnim:
db $46,$2C,$12
db $FF
-RoarAnim: ; 7a338 (1e:6338)
+RoarAnim:
db $46,$2D,$15
db $46,$2D,$15
db $46,$2D,$15
db $FF
-SingAnim: ; 7a342 (1e:6342)
+SingAnim:
db $46,$2E,$12
db $50,$FF,$40
db $50,$FF,$40
db $FF
-SupersonicAnim: ; 7a34c (1e:634c)
+SupersonicAnim:
db $06,$2F,$31
db $FF
-SonicBoomAnim: ; 7a350 (1e:6350)
+SonicBoomAnim:
db $46,$2D,$15
db $46,$2D,$15
db $46,$0F,$10
db $46,$FF,$05
db $FF
-DisableAnim: ; 7a35d (1e:635d)
+DisableAnim:
db SE_DARK_SCREEN_PALETTE, $48
db SE_DARK_SCREEN_FLASH, $2A
db SE_DARK_SCREEN_FLASH, $2A
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-AcidAnim: ; 7a366 (1e:6366)
+AcidAnim:
db $46,$32,$13
db $46,$32,$14
db $FF
-EmberAnim: ; 7a36d (1e:636d)
+EmberAnim:
db $46,$33,$11
db $FF
-FlamethrowerAnim: ; 7a371 (1e:6371)
+FlamethrowerAnim:
db $46,$34,$1F
db $46,$34,$0C
db $46,$34,$0D
db $FF
-MistAnim: ; 7a37b (1e:637b)
+MistAnim:
db SE_LIGHT_SCREEN_PALETTE, $FF
db SE_WATER_DROPLETS_EVERYWHERE, $38
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-WaterGunAnim: ; 7a382 (1e:6382)
+WaterGunAnim:
db $06,$36,$2C
db $FF
-HydroPumpAnim: ; 7a386 (1e:6386)
+HydroPumpAnim:
db $06,$37,$1A
db $06,$37,$1A
db $FF
-SurfAnim: ; 7a38d (1e:638d)
+SurfAnim:
db SE_WATER_DROPLETS_EVERYWHERE, $38
db $06,$37,$1A
db $FF
-IceBeamAnim: ; 7a393 (1e:6393)
+IceBeamAnim:
db $03,$39,$2E
db $10,$FF,$2F
db $FF
-BlizzardAnim: ; 7a39a (1e:639a)
+BlizzardAnim:
db $04,$3A,$38
db $04,$37,$38
db $FF
-PsyBeamAnim: ; 7a3a1 (1e:63a1)
+PsyBeamAnim:
db $03,$3B,$2E
db SE_FLASH_SCREEN_LONG, $FF
db $FF
-BubbleBeamAnim: ; 7a3a7 (1e:63a7)
+BubbleBeamAnim:
db $12,$3C,$35
db $FF
-AuroraBeamAnim: ; 7a3ab (1e:63ab)
+AuroraBeamAnim:
db $03,$3D,$2E
db SE_DELAY_ANIMATION_10, $FF
db SE_DELAY_ANIMATION_10, $FF
db $FF
-HyperBeamAnim: ; 7a3b3 (1e:63b3)
+HyperBeamAnim:
db SE_DARK_SCREEN_PALETTE, $48
db SE_SPIRAL_BALLS_INWARD, $FF
db $02,$3E,$2E
@@ -536,33 +536,33 @@ HyperBeamAnim: ; 7a3b3 (1e:63b3)
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-PeckAnim: ; 7a3c4 (1e:63c4)
+PeckAnim:
db $08,$3F,$01
db $FF
-DrillPeckAnim: ; 7a3c8 (1e:63c8)
+DrillPeckAnim:
db $46,$40,$04
db $FF
-SubmissionAnim: ; 7a3cc (1e:63cc)
+SubmissionAnim:
db SE_SLIDE_MON_OFF, $41
db $06,$FF,$01
db SE_SHOW_MON_PIC, $FF
db $FF
-LowKickAnim: ; 7a3d4 (1e:63d4)
+LowKickAnim:
db SE_SLIDE_MON_OFF, $42
db $46,$FF,$04
db SE_SHOW_MON_PIC, $FF
db $FF
-CounterAnim: ; 7a3dc (1e:63dc)
+CounterAnim:
db SE_SLIDE_MON_OFF, $43
db $46,$FF,$04
db SE_SHOW_MON_PIC, $FF
db $FF
-SeismicTossAnim: ; 7a3e4 (1e:63e4)
+SeismicTossAnim:
db SE_BLINK_ENEMY_MON, $FF
db $41,$8B,$4E
db SE_HIDE_ENEMY_MON_PIC, $FF
@@ -576,20 +576,20 @@ SeismicTossAnim: ; 7a3e4 (1e:63e4)
db SE_SHAKE_SCREEN, $FF
db $FF
-StrengthAnim: ; 7a3fe (1e:63fe)
+StrengthAnim:
db SE_MOVE_MON_HORIZONTALLY, $48
db SE_RESET_MON_POSITION, $FF
db $46,$06,$04
db $FF
-AbsorbAnim: ; 7a406 (1e:6406)
+AbsorbAnim:
db SE_LIGHT_SCREEN_PALETTE, $46
db $06,$FF,$21
db $06,$FF,$22
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-MegaDrainAnim: ; 7a411 (1e:6411)
+MegaDrainAnim:
db SE_LIGHT_SCREEN_PALETTE, $47
db SE_DARK_SCREEN_FLASH, $FF
db $06,$FF,$21
@@ -598,79 +598,79 @@ MegaDrainAnim: ; 7a411 (1e:6411)
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-LeechSeedAnim: ; 7a420 (1e:6420)
+LeechSeedAnim:
db $46,$48,$1B
db $55,$4D,$1C
db $FF
-GrowthAnim: ; 7a427 (1e:6427)
+GrowthAnim:
db SE_LIGHT_SCREEN_PALETTE, $49
db SE_SPIRAL_BALLS_INWARD, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-RazorLeafAnim: ; 7a42e (1e:642e)
+RazorLeafAnim:
db SE_LEAVES_FALLING, $4A
db $41,$80,$44
db $01,$0C,$16
db $FF
-SolarBeamAnim: ; 7a437 (1e:6437)
+SolarBeamAnim:
db $06,$4B,$2E
db $06,$FF,$01
db $FF
-PoisonPowderAnim: ; 7a43e (1e:643e)
+PoisonPowderAnim:
db $06,$4C,$36
db $FF
-StunSporeAnim: ; 7a442 (1e:6442)
+StunSporeAnim:
db $06,$4D,$36
db $FF
-SleepPowderAnim: ; 7a446 (1e:6446)
+SleepPowderAnim:
db $06,$4E,$36
db $FF
-PedalDanceAnim: ; 7a44a (1e:644a)
+PedalDanceAnim:
db SE_LIGHT_SCREEN_PALETTE, $4F
db SE_PETALS_FALLING, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-StringShotAnim: ; 7a451 (1e:6451)
+StringShotAnim:
db $08,$50,$37
db $FF
-DragonRageAnim: ; 7a455 (1e:6455)
+DragonRageAnim:
db $46,$51,$1F
db $46,$FF,$0C
db $46,$FF,$0D
db $46,$FF,$0E
db $FF
-FireSpinAnim: ; 7a462 (1e:6462)
+FireSpinAnim:
db $46,$52,$0C
db $46,$FF,$0D
db $46,$FF,$0E
db $FF
-ThunderShockAnim: ; 7a46c (1e:646c)
+ThunderShockAnim:
db $42,$53,$29
db $FF
-ThunderBoltAnim: ; 7a470 (1e:6470)
+ThunderBoltAnim:
db $41,$54,$29
db $41,$54,$29
db $FF
-ThunderWaveAnim: ; 7a477 (1e:6477)
+ThunderWaveAnim:
db $42,$55,$29
db $02,$FF,$23
db $04,$FF,$23
db $FF
-ThunderAnim: ; 7a481 (1e:6481)
+ThunderAnim:
db SE_DARK_SCREEN_PALETTE, $56
db SE_DARK_SCREEN_FLASH, $FF
db $46,$FF,$2B
@@ -679,87 +679,87 @@ ThunderAnim: ; 7a481 (1e:6481)
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-RockThrowAnim: ; 7a490 (1e:6490)
+RockThrowAnim:
db $04,$57,$30
db $FF
-EarthquakeAnim: ; 7a494 (1e:6494)
+EarthquakeAnim:
db SE_SHAKE_SCREEN, $58
db SE_SHAKE_SCREEN, $58
db $FF
-FissureAnim: ; 7a499 (1e:6499)
+FissureAnim:
db SE_DARK_SCREEN_FLASH, $59
db SE_SHAKE_SCREEN, $FF
db SE_DARK_SCREEN_FLASH, $59
db SE_SHAKE_SCREEN, $FF
db $FF
-DigAnim: ; 7a4a2 (1e:64a2)
+DigAnim:
db $46,$5A,$04
db SE_SLIDE_MON_UP, $FF
db $FF
-ToxicAnim: ; 7a4a8 (1e:64a8)
+ToxicAnim:
db SE_WATER_DROPLETS_EVERYWHERE, $38
db $46,$5B,$14
db $FF
-ConfusionAnim: ; 7a4ae (1e:64ae)
+ConfusionAnim:
db SE_FLASH_SCREEN_LONG, $5C
db $FF
-PsychicAnim: ; 7a4b1 (1e:64b1)
+PsychicAnim:
db SE_FLASH_SCREEN_LONG, $5D
db SE_WAVY_SCREEN, $FF
db $FF
-HypnosisAnim: ; 7a4b6 (1e:64b6)
+HypnosisAnim:
db SE_FLASH_SCREEN_LONG, $5E
db $FF
-MeditateAnim: ; 7a4b9 (1e:64b9)
+MeditateAnim:
db SE_LIGHT_SCREEN_PALETTE, $5F
db $46,$FF,$43
db SE_DARK_SCREEN_FLASH, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-AgilityAnim: ; 7a4c3 (1e:64c3)
+AgilityAnim:
db SE_LIGHT_SCREEN_PALETTE, $60
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-QuickAttackAnim: ; 7a4c8 (1e:64c8)
+QuickAttackAnim:
db SE_SLIDE_MON_OFF, $61
db $46,$FF,$04
db SE_SHOW_MON_PIC, $FF
db $FF
-RageAnim: ; 7a4d0 (1e:64d0)
+RageAnim:
db $06,$62,$01
db $FF
-TeleportAnim: ; 7a4d4 (1e:64d4)
+TeleportAnim:
db SE_SQUISH_MON_PIC, $63
db SE_SHOOT_BALLS_UPWARD, $FF
db $FF
-NightShadeAnim: ; 7a4d9 (1e:64d9)
+NightShadeAnim:
db SE_FLASH_SCREEN_LONG, $5C
db SE_WAVY_SCREEN, $FF
db $FF
-MimicAnim: ; 7a4de (1e:64de)
+MimicAnim:
db $46,$65,$21
db $46,$65,$22
db $FF
-ScreechAnim: ; 7a4e5 (1e:64e5)
+ScreechAnim:
db $46,$66,$12
db $FF
-DoubleTeamAnim: ; 7a4e9 (1e:64e9)
+DoubleTeamAnim:
db SE_DARK_SCREEN_PALETTE, $FF
db SE_DELAY_ANIMATION_10, $FF
db SE_DELAY_ANIMATION_10, $FF
@@ -771,28 +771,28 @@ DoubleTeamAnim: ; 7a4e9 (1e:64e9)
db $46,$6F,$33
db $FF
-RecoverAnim: ; 7a4fd (1e:64fd)
+RecoverAnim:
db SE_BLINK_MON, $68
db SE_LIGHT_SCREEN_PALETTE, $FF
db SE_SPIRAL_BALLS_INWARD, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-HardenAnim: ; 7a506 (1e:6506)
+HardenAnim:
db SE_LIGHT_SCREEN_PALETTE, $69
db $46,$FF,$43
db SE_DARK_SCREEN_FLASH, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-MinimizeAnim: ; 7a510 (1e:6510)
+MinimizeAnim:
db SE_LIGHT_SCREEN_PALETTE, $6A
db SE_SPIRAL_BALLS_INWARD, $FF
db SE_MINIMIZE_MON, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-SmokeScreenAnim: ; 7a519 (1e:6519)
+SmokeScreenAnim:
db $46,$6B,$28
db $04,$FF,$0A
db SE_DARKEN_MON_PALETTE, $FF
@@ -810,13 +810,13 @@ SmokeScreenAnim: ; 7a519 (1e:6519)
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-ConfuseRayAnim: ; 7a53a (1e:653a)
+ConfuseRayAnim:
db SE_DARK_SCREEN_PALETTE, $6C
db $46,$FF,$3E
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-WithdrawAnim: ; 7a542 (1e:6542)
+WithdrawAnim:
db SE_LIGHT_SCREEN_PALETTE, $6E
db SE_SLIDE_MON_DOWN, $FF
db $06,$FF,$51
@@ -824,47 +824,47 @@ WithdrawAnim: ; 7a542 (1e:6542)
db SE_SHOW_MON_PIC, $FF
db $FF
-DefenseCurlAnim: ; 7a54e (1e:654e)
+DefenseCurlAnim:
db SE_LIGHT_SCREEN_PALETTE, $6E
db $06,$FF,$43
db SE_DARK_SCREEN_FLASH, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-BarrierAnim: ; 7a558 (1e:6558)
+BarrierAnim:
db $46,$6F,$33
db $46,$6F,$33
db $FF
-LightScreenAnim: ; 7a55f (1e:655f)
+LightScreenAnim:
db SE_LIGHT_SCREEN_PALETTE, $FF
db $46,$70,$33
db $46,$70,$33
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-HazeAnim: ; 7a56a (1e:656a)
+HazeAnim:
db SE_DARKEN_MON_PALETTE, $FF
db SE_WATER_DROPLETS_EVERYWHERE, $38
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-ReflectAnim: ; 7a571 (1e:6571)
+ReflectAnim:
db SE_DARK_SCREEN_PALETTE, $FF
db $46,$72,$33
db $46,$72,$33
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-FocusEnergyAnim: ; 7a57c (1e:657c)
+FocusEnergyAnim:
db SE_SPIRAL_BALLS_INWARD, $73
db $FF
-BideAnim: ; 7a57f (1e:657f)
+BideAnim:
db $46,$74,$04
db $FF
-MetronomeAnim: ; 7a583 (1e:6583)
+MetronomeAnim:
db SE_MOVE_MON_HORIZONTALLY, $84
db SE_DELAY_ANIMATION_10, $FF
db SE_RESET_MON_POSITION, $84
@@ -874,39 +874,39 @@ MetronomeAnim: ; 7a583 (1e:6583)
db SE_RESET_MON_POSITION, $84
db $FF
-MirrorMoveAnim: ; 7a592 (1e:6592)
+MirrorMoveAnim:
db $08,$76,$01
db $FF
-SelfdestructAnim: ; 7a596 (1e:6596)
+SelfdestructAnim:
db $43,$77,$34
db $FF
-EggBombAnim: ; 7a59a (1e:659a)
+EggBombAnim:
db $44,$78,$41
db $44,$78,$42
db $FF
-LickAnim: ; 7a5a1 (1e:65a1)
+LickAnim:
db $46,$7B,$14
db $FF
-SmogAnim: ; 7a5a5 (1e:65a5)
+SmogAnim:
db SE_DARKEN_MON_PALETTE, $48
db $46,$7A,$19
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-SludgeAnim: ; 7a5ad (1e:65ad)
+SludgeAnim:
db $46,$7B,$13
db $46,$7B,$14
db $FF
-BoneClubAnim: ; 7a5b4 (1e:65b4)
+BoneClubAnim:
db $08,$7C,$02
db $FF
-FireBlastAnim: ; 7a5b8 (1e:65b8)
+FireBlastAnim:
db $46,$7D,$1F
db $46,$FF,$20
db $46,$FF,$20
@@ -914,47 +914,47 @@ FireBlastAnim: ; 7a5b8 (1e:65b8)
db $46,$FF,$0D
db $FF
-WaterfallAnim: ; 7a5c8 (1e:65c8)
+WaterfallAnim:
db SE_SLIDE_MON_DOWN, $48
db $06,$37,$1A
db $08,$FF,$02
db SE_SLIDE_MON_UP, $FF
db $FF
-ClampAnim: ; 7a5d3 (1e:65d3)
+ClampAnim:
db $08,$7F,$2A
db $06,$83,$23
db $06,$83,$23
db $FF
-SwiftAnim: ; 7a5dd (1e:65dd)
+SwiftAnim:
db $43,$80,$3F
db $FF
-SkullBashAnim: ; 7a5e1 (1e:65e1)
+SkullBashAnim:
db $46,$81,$05
db $FF
-SpikeCannonAnim: ; 7a5e5 (1e:65e5)
+SpikeCannonAnim:
db $44,$82,$04
db $FF
-ConstrictAnim: ; 7a5e9 (1e:65e9)
+ConstrictAnim:
db $06,$83,$23
db $06,$83,$23
db $06,$83,$23
db $FF
-AmnesiaAnim: ; 7a5f3 (1e:65f3)
+AmnesiaAnim:
db $08,$84,$25
db $08,$84,$25
db $FF
-KinesisAnim: ; 7a5fa (1e:65fa)
+KinesisAnim:
db $08,$85,$01
db $FF
-SoftboiledAnim: ; 7a5fe (1e:65fe)
+SoftboiledAnim:
db SE_SLIDE_MON_HALF_OFF, $48
db $08,$86,$4C
db SE_LIGHT_SCREEN_PALETTE, $FF
@@ -963,34 +963,34 @@ SoftboiledAnim: ; 7a5fe (1e:65fe)
db SE_SHOW_MON_PIC, $FF
db $FF
-HiJumpKickAnim: ; 7a6 (1e:660c)
+HiJumpKickAnim:
db $46,$87,$04
db $FF
-GlareAnim: ; 7a610 (1e:6610)
+GlareAnim:
db SE_DARK_SCREEN_PALETTE, $48
db SE_DARK_SCREEN_FLASH, $88
db SE_DARK_SCREEN_FLASH, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-DreamEaterAnim: ; 7a619 (1e:6619)
+DreamEaterAnim:
db SE_FLASH_SCREEN_LONG, $89
db SE_DARK_SCREEN_PALETTE, $89
db $08,$89,$02
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-PoisonGasAnim: ; 7a623 (1e:6623)
+PoisonGasAnim:
db $46,$8A,$19
db $FF
-BarrageAnim: ; 7a627 (1e:6627)
+BarrageAnim:
db $43,$8B,$41
db $05,$FF,$55
db $FF
-LeechLifeAnim: ; 7a62e (1e:662e)
+LeechLifeAnim:
db $08,$8C,$02
db SE_DARK_SCREEN_FLASH, $FF
db $06,$FF,$21
@@ -998,264 +998,264 @@ LeechLifeAnim: ; 7a62e (1e:662e)
db SE_DARK_SCREEN_FLASH, $FF
db $FF
-LovelyKissAnim: ; 7a63c (1e:663c)
+LovelyKissAnim:
db $06,$8D,$12
db $FF
-SkyAttackAnim: ; 7a640 (1e:6640)
+SkyAttackAnim:
db SE_SQUISH_MON_PIC, $8E
db SE_SHOOT_BALLS_UPWARD, $FF
db $46,$87,$04
db SE_SHOW_MON_PIC, $FF
db $FF
-TransformAnim: ; 7a64a (1e:664a)
+TransformAnim:
db $46,$8F,$21
db $44,$8F,$22
db $08,$FF,$47
db SE_TRANSFORM_MON, $FF
db $FF
-BubbleAnim: ; 7a656 (1e:6656)
+BubbleAnim:
db $16,$90,$35
db $FF
-DizzyPunchAnim: ; 7a65a (1e:665a)
+DizzyPunchAnim:
db $06,$91,$17
db $06,$91,$17
db $06,$91,$17
db $06,$02,$02
db $FF
-SporeAnim: ; 7a667 (1e:6667)
+SporeAnim:
db $06,$92,$36
db $FF
-FlashAnim: ; 7a66b (1e:666b)
+FlashAnim:
db SE_LIGHT_SCREEN_PALETTE, $48
db SE_DARK_SCREEN_FLASH, $88
db SE_DARK_SCREEN_FLASH, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-PsywaveAnim: ; 7a674 (1e:6674)
+PsywaveAnim:
db $06,$2F,$31
db SE_WAVY_SCREEN, $5C
db $FF
-SplashAnim: ; 7a67a (1e:667a)
+SplashAnim:
db SE_BOUNCE_UP_AND_DOWN, $95
db $FF
-AcidArmorAnim: ; 7a67d (1e:667d)
+AcidArmorAnim:
db SE_SLIDE_MON_DOWN_AND_HIDE, $96
db $FF
-CrabHammerAnim: ; 7a680 (1e:6680)
+CrabHammerAnim:
db $46,$97,$05
db $06,$FF,$2A
db $FF
-ExplosionAnim: ; 7a687 (1e:6687)
+ExplosionAnim:
db $43,$98,$34
db $FF
-FurySwipesAnim: ; 7a68b (1e:668b)
+FurySwipesAnim:
db $04,$99,$0F
db $FF
-BonemerangAnim: ; 7a68f (1e:668f)
+BonemerangAnim:
db $06,$9A,$02
db $FF
-RestAnim: ; 7a693 (1e:6693)
+RestAnim:
db $10,$9B,$3A
db $10,$9B,$3A
db $FF
-RockSlideAnim: ; 7a69a (1e:669a)
+RockSlideAnim:
db $04,$9C,$1D
db $03,$9C,$1E
db $46,$9D,$04
db $FF
-HyperFangAnim: ; 7a6a4 (1e:66a4)
+HyperFangAnim:
db $06,$9D,$02
db $FF
-SharpenAnim: ; 7a6a8 (1e:66a8)
+SharpenAnim:
db SE_LIGHT_SCREEN_PALETTE, $9E
db $46,$FF,$43
db SE_DARK_SCREEN_FLASH, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-ConversionAnim: ; 7a6b2 (1e:66b2)
+ConversionAnim:
db SE_DARK_SCREEN_FLASH, $9F
db $46,$FF,$21
db $46,$FF,$22
db SE_DARK_SCREEN_FLASH, $FF
db $FF
-TriAttackAnim: ; 7a6bd (1e:66bd)
+TriAttackAnim:
db SE_DARK_SCREEN_FLASH, $A0
db $46,$FF,$4D
db SE_DARK_SCREEN_FLASH, $FF
db $FF
-SuperFangAnim: ; 7a6c5 (1e:66c5)
+SuperFangAnim:
db SE_DARK_SCREEN_PALETTE, $48
db $46,$A1,$04
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-SlashAnim: ; 7a6cd (1e:66cd)
+SlashAnim:
db $06,$A2,$0F
db $FF
-SubstituteAnim: ; 7a6d1 (1e:66d1)
+SubstituteAnim:
db SE_SLIDE_MON_OFF, $A3
db $08,$FF,$47
db SE_SUBSTITUTE_MON, $FF
db $FF
-BallTossAnim: ; 7a6d9 (1e:66d9)
+BallTossAnim:
db $03,$FF,$06
db $FF
-GreatTossAnim: ; 7a6dd (1e:66dd)
+GreatTossAnim:
db $03,$FF,$07
db $FF
-UltraTossAnim: ; 7a6e1 (1e:66e1)
+UltraTossAnim:
db $02,$FF,$08
db $FF
-BallShakeAnim: ; 7a6e5 (1e:66e5)
+BallShakeAnim:
db $04,$FF,$09
db $FF
-BallPoofAnim: ; 7a6e9 (1e:66e9)
+BallPoofAnim:
db $04,$FF,$0A
db $FF
-ShowPicAnim: ; 7a6ed (1e:66ed)
+ShowPicAnim:
db SE_SHOW_ENEMY_MON_PIC, $FF
db $FF
-HidePicAnim: ; 7a6f0 (1e:66f0)
+HidePicAnim:
db SE_HIDE_ENEMY_MON_PIC, $FF
db $FF
-EnemyFlashAnim: ; 7a6f3 (1e:66f3)
+EnemyFlashAnim:
db SE_SHOW_MON_PIC, $FF
db $FF
-PlayerFlashAnim: ; 7a6f6 (1e:66f6)
+PlayerFlashAnim:
db SE_FLASH_MON_PIC, $FF
db $FF
-EnemyHUDShakeAnim: ; 7a6f9 (1e:66f9)
+EnemyHUDShakeAnim:
db SE_SHAKE_ENEMY_HUD, $FF
db $FF
-TradeBallDropAnim: ; 7a6fc (1e:66fc)
+TradeBallDropAnim:
db $86,$FF,$48
db $FF
-TradeBallAppear1Anim: ; 7a700 (1e:6700)
+TradeBallAppear1Anim:
db $84,$FF,$49
db $FF
-TradeBallAppear2Anim: ; 7a704 (1e:6704)
+TradeBallAppear2Anim:
db $86,$FF,$4A
db $FF
-TradeBallPoofAnim: ; 7a708 (1e:6708)
+TradeBallPoofAnim:
db $86,$FF,$4B
db $FF
-XStatItemAnim: ; 7a7c0 (1e:670c)
+XStatItemAnim:
db SE_LIGHT_SCREEN_PALETTE, $FF
db SE_SPIRAL_BALLS_INWARD, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-ShrinkingSquareAnim: ; 7a713 (1e:6713)
+ShrinkingSquareAnim:
db SE_LIGHT_SCREEN_PALETTE, $FF
db $46,$FF,$43
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-XStatItemBlackAnim: ; 7a71b (1e:671b)
+XStatItemBlackAnim:
db SE_DARKEN_MON_PALETTE, $FF
db SE_SPIRAL_BALLS_INWARD, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-ShrinkingSquareBlackAnim: ; 7a722 (1e:6722)
+ShrinkingSquareBlackAnim:
db SE_DARKEN_MON_PALETTE, $FF
db $46,$FF,$43
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-UnusedAnim: ; 7a72a (1e:672a)
+UnusedAnim:
db SE_LIGHT_SCREEN_PALETTE, $FF
db SE_SHOOT_MANY_BALLS_UPWARD, $FF
db SE_RESET_SCREEN_PALETTE, $FF
db $FF
-ParalyzeAnim: ; 7a731 (1e:6731)
+ParalyzeAnim:
db $04,$13,$24
db $04,$13,$24
db $FF
-PoisonAnim: ; 7a738 (1e:6738)
+PoisonAnim:
db $08,$13,$27
db $08,$13,$27
db $FF
-SleepPlayerAnim: ; 7a73f (1e:673f)
+SleepPlayerAnim:
db $10,$9B,$3A
db $10,$9B,$3A
db $FF
-SleepEnemyAnim: ; 7a746 (1e:6746)
+SleepEnemyAnim:
db $10,$9B,$3B
db $10,$9B,$3B
db $FF
-ConfusedPlayerAnim: ; 7a74d (1e:674d)
+ConfusedPlayerAnim:
db $08,$84,$25
db $08,$84,$25
db $FF
-ConfusedEnemyAnim: ; 7a754 (1e:6754)
+ConfusedEnemyAnim:
db $08,$84,$26
db $08,$84,$26
db $FF
-BallBlockAnim: ; 7a75b (1e:675b)
+BallBlockAnim:
db $03,$FF,$0B
db $FF
-FaintAnim: ; 7a75f (1e:675f)
+FaintAnim:
db SE_SLIDE_MON_DOWN, $5A
db $FF
-ShakeScreenAnim: ; 7a762 (1e:6762)
+ShakeScreenAnim:
db SE_SHAKE_SCREEN, $FF
db $FF
-ThrowRockAnim: ; 7a765 (1e:6765)
+ThrowRockAnim:
db $03,$8B,$53
db $FF
-ThrowBaitAnim: ; 7a769 (1e:6769)
+ThrowBaitAnim:
db $03,$8B,$54
db $FF
-SubanimationPointers: ; 7a76d (1e:676d)
+SubanimationPointers:
dw Subanimation00
dw Subanimation01
dw Subanimation02
@@ -1343,17 +1343,17 @@ SubanimationPointers: ; 7a76d (1e:676d)
dw Subanimation54
dw Subanimation55
-Subanimation04: ; 7a819 (1e:6819)
+Subanimation04:
db $43
db $02,$1a,$00
db $02,$10,$00
db $02,$03,$00
-Subanimation05: ; 7a823 (1e:6823)
+Subanimation05:
db $41
db $02,$10,$00
-Subanimation08: ; 7a827 (1e:6827)
+Subanimation08:
db $0b
db $03,$30,$00
db $03,$44,$00
@@ -1367,7 +1367,7 @@ Subanimation08: ; 7a827 (1e:6827)
db $03,$a1,$00
db $03,$34,$00
-Subanimation07: ; 7a849 (1e:6849)
+Subanimation07:
db $0b
db $03,$30,$00
db $03,$a2,$00
@@ -1381,7 +1381,7 @@ Subanimation07: ; 7a849 (1e:6849)
db $03,$a6,$00
db $03,$34,$00
-Subanimation06: ; 7a86b (1e:686b)
+Subanimation06:
db $0b
db $03,$30,$00
db $03,$a2,$00
@@ -1395,14 +1395,14 @@ Subanimation06: ; 7a86b (1e:686b)
db $03,$a9,$00
db $03,$34,$00
-Subanimation09: ; 7a88d (1e:688d)
+Subanimation09:
db $04
db $03,$21,$04
db $04,$21,$04
db $03,$21,$04
db $05,$21,$04
-Subanimation0a: ; 7a89a (1e:689a)
+Subanimation0a:
db $46
db $06,$1b,$00
db $07,$1b,$00
@@ -1411,18 +1411,18 @@ Subanimation0a: ; 7a89a (1e:689a)
db $0a,$15,$00
db $0a,$15,$00
-Subanimation0b: ; 7a8ad (1e:68ad)
+Subanimation0b:
db $04
db $01,$2d,$00
db $03,$2f,$00
db $03,$35,$00
db $03,$4d,$00
-Subanimation55: ; 7a8ba (1e:68ba)
+Subanimation55:
db $41
db $01,$9d,$00
-Subanimation11: ; 7a8be (1e:68be)
+Subanimation11:
db $4c
db $0b,$26,$00
db $0c,$26,$00
@@ -1437,7 +1437,7 @@ Subanimation11: ; 7a8be (1e:68be)
db $0b,$27,$00
db $0c,$27,$00
-Subanimation2b: ; 7a8e3 (1e:68e3)
+Subanimation2b:
db $4b
db $0d,$03,$03
db $0e,$03,$03
@@ -1451,7 +1451,7 @@ Subanimation2b: ; 7a8e3 (1e:68e3)
db $11,$1b,$00
db $11,$1b,$00
-Subanimation2c: ; 7a905 (1e:6905)
+Subanimation2c:
db $4c
db $12,$01,$00
db $12,$0f,$00
@@ -1466,7 +1466,7 @@ Subanimation2c: ; 7a905 (1e:6905)
db $16,$38,$00
db $16,$38,$00
-Subanimation12: ; 7a92a (1e:692a)
+Subanimation12:
db $69
db $17,$30,$00
db $17,$39,$00
@@ -1478,35 +1478,35 @@ Subanimation12: ; 7a92a (1e:692a)
db $17,$3f,$00
db $17,$1f,$00
-Subanimation00: ; 7a946 (1e:6946)
+Subanimation00:
db $41
db $01,$17,$00
-Subanimation01: ; 7a94a (1e:694a)
+Subanimation01:
db $42
db $01,$0f,$00
db $01,$1d,$00
-Subanimation02: ; 7a951 (1e:6951)
+Subanimation02:
db $43
db $01,$12,$00
db $01,$15,$00
db $01,$1c,$00
-Subanimation03: ; 7a95b (1e:695b)
+Subanimation03:
db $44
db $01,$0b,$00
db $01,$11,$00
db $01,$18,$00
db $01,$1d,$00
-Subanimation0c: ; 7a968 (1e:6968)
+Subanimation0c:
db $43
db $0c,$20,$00
db $0c,$21,$00
db $0c,$23,$00
-Subanimation0d: ; 7a972 (1e:6972)
+Subanimation0d:
db $46
db $0c,$20,$02
db $0c,$15,$00
@@ -1515,7 +1515,7 @@ Subanimation0d: ; 7a972 (1e:6972)
db $0c,$23,$02
db $0c,$19,$00
-Subanimation0e: ; 7a985 (1e:6985)
+Subanimation0e:
db $49
db $0c,$20,$02
db $0c,$15,$02
@@ -1527,7 +1527,7 @@ Subanimation0e: ; 7a985 (1e:6985)
db $0c,$19,$02
db $0c,$0c,$00
-Subanimation1f: ; 7a9a1 (1e:69a1)
+Subanimation1f:
db $85
db $0c,$30,$03
db $0c,$40,$03
@@ -1535,7 +1535,7 @@ Subanimation1f: ; 7a9a1 (1e:69a1)
db $0c,$42,$03
db $0c,$21,$00
-Subanimation2e: ; 7a9b1 (1e:69b1)
+Subanimation2e:
db $2e
db $18,$43,$02
db $75,$52,$04
@@ -1552,14 +1552,14 @@ Subanimation2e: ; 7a9b1 (1e:69b1)
db $1e,$43,$02
db $75,$1b,$00
-Subanimation2f: ; 7a9dc (1e:69dc)
+Subanimation2f:
db $44
db $1f,$24,$00
db $20,$20,$00
db $21,$1a,$00
db $22,$15,$00
-Subanimation30: ; 7a9e9 (1e:69e9)
+Subanimation30:
db $52
db $23,$00,$02
db $23,$02,$02
@@ -1580,7 +1580,7 @@ Subanimation30: ; 7a9e9 (1e:69e9)
db $24,$28,$00
db $24,$28,$00
-Subanimation0f: ; 7aa20 (1e:6a20)
+Subanimation0f:
db $4c
db $26,$0e,$02
db $26,$16,$02
@@ -1595,7 +1595,7 @@ Subanimation0f: ; 7aa20 (1e:6a20)
db $29,$16,$02
db $29,$1c,$00
-Subanimation16: ; 7aa45 (1e:6a45)
+Subanimation16:
db $4c
db $2a,$05,$00
db $2b,$05,$02
@@ -1610,7 +1610,7 @@ Subanimation16: ; 7aa45 (1e:6a45)
db $2c,$00,$02
db $2c,$00,$00
-Subanimation10: ; 7aa6a (1e:6a6a)
+Subanimation10:
db $88
db $2d,$44,$00
db $2e,$45,$00
@@ -1621,7 +1621,7 @@ Subanimation10: ; 7aa6a (1e:6a6a)
db $2d,$2f,$00
db $2e,$1a,$00
-Subanimation31: ; 7aa83 (1e:6a83)
+Subanimation31:
db $2a
db $2f,$46,$00
db $2f,$4a,$00
@@ -1634,7 +1634,7 @@ Subanimation31: ; 7aa83 (1e:6a83)
db $2f,$2e,$00
db $2f,$51,$00
-Subanimation13: ; 7aaa2 (1e:6aa2)
+Subanimation13:
db $86
db $30,$31,$00
db $30,$32,$00
@@ -1643,7 +1643,7 @@ Subanimation13: ; 7aaa2 (1e:6aa2)
db $30,$0f,$00
db $30,$10,$00
-Subanimation14: ; 7aab5 (1e:6ab5)
+Subanimation14:
db $49
db $30,$10,$00
db $30,$10,$03
@@ -1655,7 +1655,7 @@ Subanimation14: ; 7aab5 (1e:6ab5)
db $31,$22,$04
db $31,$27,$00
-Subanimation41: ; 7aad1 (1e:6ad1)
+Subanimation41:
db $85
db $03,$31,$00
db $03,$32,$00
@@ -1663,32 +1663,32 @@ Subanimation41: ; 7aad1 (1e:6ad1)
db $03,$0e,$00
db $03,$10,$00
-Subanimation42: ; 7aae1 (1e:6ae1)
+Subanimation42:
db $43
db $48,$08,$00
db $49,$08,$00
db $5a,$08,$00
-Subanimation15: ; 7aaeb (1e:6aeb)
+Subanimation15:
db $22
db $35,$52,$00
db $35,$53,$00
-Subanimation17: ; 7aaf2 (1e:6af2)
+Subanimation17:
db $44
db $36,$54,$00
db $36,$55,$00
db $37,$56,$00
db $37,$57,$00
-Subanimation18: ; 7aaff (1e:6aff)
+Subanimation18:
db $a4
db $36,$54,$00
db $36,$55,$00
db $37,$56,$00
db $37,$57,$00
-Subanimation40: ; 7ab0c (1e:6b0c)
+Subanimation40:
db $46
db $17,$54,$00
db $17,$55,$00
@@ -1697,7 +1697,7 @@ Subanimation40: ; 7ab0c (1e:6b0c)
db $17,$57,$00
db $17,$13,$00
-Subanimation19: ; 7ab1f (1e:6b1f)
+Subanimation19:
db $8c
db $38,$31,$00
db $39,$31,$00
@@ -1712,7 +1712,7 @@ Subanimation19: ; 7ab1f (1e:6b1f)
db $38,$10,$00
db $39,$10,$00
-Subanimation1a: ; 7ab44 (1e:6b44)
+Subanimation1a:
db $50
db $3a,$08,$00
db $3b,$08,$00
@@ -1731,20 +1731,20 @@ Subanimation1a: ; 7ab44 (1e:6b44)
db $3e,$0b,$00
db $3f,$0b,$00
-Subanimation1b: ; 7ab75 (1e:6b75)
+Subanimation1b:
db $84
db $40,$31,$00
db $40,$32,$00
db $40,$92,$00
db $40,$15,$00
-Subanimation1c: ; 7ab82 (1e:6b82)
+Subanimation1c:
db $43
db $41,$58,$00
db $41,$59,$00
db $41,$21,$00
-Subanimation1d: ; 7ab8c (1e:6b8c)
+Subanimation1d:
db $af
db $24,$9a,$00
db $23,$1b,$02
@@ -1762,22 +1762,22 @@ Subanimation1d: ; 7ab8c (1e:6b8c)
db $25,$62,$04
db $25,$99,$03
-Subanimation1e: ; 7abba (1e:6bba)
+Subanimation1e:
db $01
db $25,$75,$00
-Subanimation20: ; 7abbe (1e:6bbe)
+Subanimation20:
db $42
db $42,$07,$00
db $43,$07,$00
-Subanimation21: ; 7abc5 (1e:6bc5)
+Subanimation21:
db $43
db $44,$00,$00
db $45,$08,$00
db $46,$10,$02
-Subanimation22: ; 7abcf (1e:6bcf)
+Subanimation22:
db $8b
db $47,$10,$00
db $47,$56,$00
@@ -1791,7 +1791,7 @@ Subanimation22: ; 7abcf (1e:6bcf)
db $47,$89,$00
db $47,$b0,$00
-Subanimation2d: ; 7abf1 (1e:6bf1)
+Subanimation2d:
db $66
db $44,$64,$00
db $45,$65,$00
@@ -1800,15 +1800,15 @@ Subanimation2d: ; 7abf1 (1e:6bf1)
db $47,$66,$00
db $47,$66,$00
-Subanimation39: ; 7ac04 (1e:6c04)
+Subanimation39:
db $61
db $47,$67,$00
-Subanimation4e: ; 7ac08 (1e:6c08)
+Subanimation4e:
db $41
db $71,$0f,$03
-Subanimation4f: ; 7ac0c (1e:6c0c)
+Subanimation4f:
db $47
db $71,$0f,$00
db $71,$08,$00
@@ -1818,7 +1818,7 @@ Subanimation4f: ; 7ac0c (1e:6c0c)
db $73,$95,$00
db $74,$95,$00
-Subanimation50: ; 7ac22 (1e:6c22)
+Subanimation50:
db $48
db $74,$95,$00
db $73,$95,$00
@@ -1829,7 +1829,7 @@ Subanimation50: ; 7ac22 (1e:6c22)
db $71,$0f,$00
db $71,$16,$00
-Subanimation29: ; 7ac3b (1e:6c3b)
+Subanimation29:
db $5d
db $48,$0f,$00
db $4a,$68,$03
@@ -1861,63 +1861,63 @@ Subanimation29: ; 7ac3b (1e:6c3b)
db $4d,$2a,$03
db $49,$6b,$00
-Subanimation2a: ; 7ac93 (1e:6c93)
+Subanimation2a:
db $44
db $4e,$2b,$00
db $4f,$2b,$00
db $50,$2b,$00
db $50,$2b,$00
-Subanimation23: ; 7aca0 (1e:6ca0)
+Subanimation23:
db $42
db $51,$2d,$00
db $51,$6e,$00
-Subanimation24: ; 7aca7 (1e:6ca7)
+Subanimation24:
db $a2
db $51,$2d,$00
db $51,$6e,$00
-Subanimation25: ; 7acae (1e:6cae)
+Subanimation25:
db $62
db $52,$71,$00
db $52,$72,$00
-Subanimation26: ; 7acb5 (1e:6cb5)
+Subanimation26:
db $02
db $52,$01,$00
db $52,$2c,$00
-Subanimation3a: ; 7acbc (1e:6cbc)
+Subanimation3a:
db $63
db $53,$71,$00
db $53,$7f,$00
db $53,$81,$00
-Subanimation3b: ; 7acc6 (1e:6cc6)
+Subanimation3b:
db $03
db $53,$01,$00
db $53,$15,$00
db $53,$2c,$00
-Subanimation27: ; 7acd0 (1e:6cd0)
+Subanimation27:
db $a2
db $54,$01,$00
db $54,$2c,$00
-Subanimation28: ; 7acd7 (1e:6cd7)
+Subanimation28:
db $23
db $55,$73,$03
db $56,$73,$03
db $57,$73,$00
-Subanimation32: ; 7ace1 (1e:6ce1)
+Subanimation32:
db $63
db $47,$74,$00
db $47,$43,$00
db $47,$75,$00
-Subanimation33: ; 7aceb (1e:6ceb)
+Subanimation33:
db $26
db $58,$76,$00
db $34,$76,$00
@@ -1926,7 +1926,7 @@ Subanimation33: ; 7aceb (1e:6ceb)
db $58,$76,$00
db $34,$76,$00
-Subanimation3c: ; 7acfe (1e:6cfe)
+Subanimation3c:
db $67
db $59,$79,$03
db $59,$7b,$03
@@ -1936,7 +1936,7 @@ Subanimation3c: ; 7acfe (1e:6cfe)
db $59,$7c,$03
db $59,$76,$00
-Subanimation3d: ; 7ad14 (1e:6d14)
+Subanimation3d:
db $08
db $3a,$4d,$00
db $3b,$4d,$00
@@ -1947,7 +1947,7 @@ Subanimation3d: ; 7ad14 (1e:6d14)
db $3e,$4d,$00
db $3f,$4d,$00
-Subanimation34: ; 7ad2d (1e:6d2d)
+Subanimation34:
db $35
db $48,$7d,$00
db $49,$7d,$00
@@ -1971,14 +1971,14 @@ Subanimation34: ; 7ad2d (1e:6d2d)
db $49,$82,$00
db $5a,$82,$00
-Subanimation35: ; 7ad6d (1e:6d6d)
+Subanimation35:
db $24
db $5b,$83,$03
db $5c,$84,$03
db $5d,$85,$03
db $5e,$09,$00
-Subanimation36: ; 7ad7a (1e:6d7a)
+Subanimation36:
db $48
db $5f,$2a,$00
db $5f,$00,$00
@@ -1989,7 +1989,7 @@ Subanimation36: ; 7ad7a (1e:6d7a)
db $62,$2a,$00
db $62,$00,$00
-Subanimation37: ; 7ad93 (1e:6d93)
+Subanimation37:
db $2a
db $63,$89,$00
db $64,$75,$00
@@ -2002,7 +2002,7 @@ Subanimation37: ; 7ad93 (1e:6d93)
db $65,$88,$00
db $65,$1a,$00
-Subanimation38: ; 7adb2 (1e:6db2)
+Subanimation38:
db $50
db $66,$8a,$00
db $66,$33,$00
@@ -2021,7 +2021,7 @@ Subanimation38: ; 7adb2 (1e:6db2)
db $66,$1e,$04
db $67,$29,$00
-Subanimation3e: ; 7ade3 (1e:6de3)
+Subanimation3e:
db $92
db $02,$31,$00
db $34,$31,$00
@@ -2042,7 +2042,7 @@ Subanimation3e: ; 7ade3 (1e:6de3)
db $34,$10,$00
db $02,$10,$00
-Subanimation3f: ; 7ae1a (1e:6e1a)
+Subanimation3f:
db $72
db $68,$4b,$00
db $68,$8c,$00
@@ -2063,7 +2063,7 @@ Subanimation3f: ; 7ae1a (1e:6e1a)
db $68,$23,$00
db $68,$1f,$00
-Subanimation44: ; 7ae51 (1e:6e51)
+Subanimation44:
db $2c
db $69,$4b,$00
db $69,$8c,$00
@@ -2078,20 +2078,20 @@ Subanimation44: ; 7ae51 (1e:6e51)
db $69,$0c,$00
db $69,$06,$00
-Subanimation43: ; 7ae76 (1e:6e76)
+Subanimation43:
db $a3
db $6a,$07,$00
db $6b,$0f,$00
db $6c,$17,$00
-Subanimation45: ; 7ae80 (1e:6e80)
+Subanimation45:
db $24
db $6d,$8b,$00
db $6d,$84,$00
db $6d,$63,$00
db $6d,$8c,$00
-Subanimation46: ; 7ae8d (1e:6e8d)
+Subanimation46:
db $26
db $6d,$8b,$00
db $6d,$84,$00
@@ -2100,13 +2100,13 @@ Subanimation46: ; 7ae8d (1e:6e8d)
db $6d,$0a,$00
db $6d,$89,$00
-Subanimation47: ; 7aea0 (1e:6ea0)
+Subanimation47:
db $23
db $06,$82,$00
db $07,$82,$00
db $08,$96,$00
-Subanimation48: ; 7aeaa (1e:6eaa)
+Subanimation48:
db $06
db $03,$41,$04
db $03,$48,$04
@@ -2115,24 +2115,24 @@ Subanimation48: ; 7aeaa (1e:6eaa)
db $05,$48,$04
db $03,$48,$03
-Subanimation49: ; 7aebd (1e:6ebd)
+Subanimation49:
db $04
db $04,$48,$04
db $03,$48,$04
db $05,$48,$04
db $03,$48,$03
-Subanimation4a: ; 7aeca (1e:6eca)
+Subanimation4a:
db $01
db $04,$84,$03
-Subanimation4b: ; 7aece (1e:6ece)
+Subanimation4b:
db $03
db $06,$72,$00
db $07,$72,$00
db $08,$72,$00
-Subanimation4c: ; 7aed8 (1e:6ed8)
+Subanimation4c:
db $68
db $6f,$30,$00
db $6e,$30,$00
@@ -2143,7 +2143,7 @@ Subanimation4c: ; 7aed8 (1e:6ed8)
db $70,$30,$00
db $6e,$30,$00
-Subanimation4d: ; 7aef1 (1e:6ef1)
+Subanimation4d:
db $26
db $32,$4b,$00
db $33,$4f,$00
@@ -2152,7 +2152,7 @@ Subanimation4d: ; 7aef1 (1e:6ef1)
db $32,$19,$00
db $33,$0d,$00
-Subanimation51: ; 7af04 (1e:6f04)
+Subanimation51:
db $a6
db $76,$1b,$00
db $34,$1b,$00
@@ -2161,7 +2161,7 @@ Subanimation51: ; 7af04 (1e:6f04)
db $76,$1b,$00
db $34,$1b,$00
-Subanimation52: ; 7af17 (1e:6f17)
+Subanimation52:
db $47
db $77,$25,$00
db $77,$9b,$00
@@ -2171,7 +2171,7 @@ Subanimation52: ; 7af17 (1e:6f17)
db $77,$50,$00
db $77,$8c,$00
-Subanimation53: ; 7af2d (1e:6f2d)
+Subanimation53:
db $0c
db $78,$30,$00
db $78,$a2,$00
@@ -2186,7 +2186,7 @@ Subanimation53: ; 7af2d (1e:6f2d)
db $78,$34,$00
db $01,$9e,$00
-Subanimation54: ; 7af52 (1e:6f52)
+Subanimation54:
db $0b
db $79,$30,$00
db $79,$a2,$00
@@ -2200,7 +2200,7 @@ Subanimation54: ; 7af52 (1e:6f52)
db $79,$a9,$00
db $79,$34,$00
-FrameBlockPointers: ; 7af74 (1e:6f74)
+FrameBlockPointers:
dw FrameBlock00
dw FrameBlock01
dw FrameBlock02
@@ -2332,7 +2332,7 @@ FrameBlockPointers: ; 7af74 (1e:6f74)
; second byte = x offset
; third byte = tile id (it's actually tile id - $31)
; fourth byte = tile properties (xflip/yflip/etc.)
-FrameBlock01: ; 7b068 (1e:7068)
+FrameBlock01:
db $09
db $00,$00,$2c,$00
db $00,$08,$2d,$00
@@ -2344,7 +2344,7 @@ FrameBlock01: ; 7b068 (1e:7068)
db $10,$08,$2d,$40
db $10,$10,$2c,$60
-FrameBlock02: ; 7b08d (1e:708d)
+FrameBlock02:
db $10
db $00,$00,$20,$00
db $00,$08,$21,$00
@@ -2363,28 +2363,28 @@ FrameBlock02: ; 7b08d (1e:708d)
db $18,$10,$21,$60
db $18,$18,$20,$60
-FrameBlock03: ; 7b0ce (1e:70ce)
+FrameBlock03:
db $04
db $00,$00,$02,$00
db $00,$08,$02,$20
db $08,$00,$12,$00
db $08,$08,$12,$20
-FrameBlock04: ; 7b0df (1e:70df)
+FrameBlock04:
db $04
db $00,$00,$06,$00
db $00,$08,$07,$00
db $08,$00,$16,$00
db $08,$08,$17,$00
-FrameBlock05: ; 7b0f0 (1e:70f0)
+FrameBlock05:
db $04
db $00,$00,$07,$20
db $00,$08,$06,$20
db $08,$00,$17,$20
db $08,$08,$16,$20
-FrameBlock06: ; 7b101 (1e:7101)
+FrameBlock06:
db $0c
db $00,$08,$23,$00
db $08,$00,$32,$00
@@ -2399,7 +2399,7 @@ FrameBlock06: ; 7b101 (1e:7101)
db $10,$18,$32,$60
db $18,$10,$23,$60
-FrameBlock07: ; 7b132 (1e:7132)
+FrameBlock07:
db $10
db $00,$00,$20,$00
db $00,$08,$21,$00
@@ -2418,7 +2418,7 @@ FrameBlock07: ; 7b132 (1e:7132)
db $18,$10,$21,$60
db $18,$18,$20,$60
-FrameBlock08: ; 7b173 (1e:7173)
+FrameBlock08:
db $10
db $00,$00,$20,$00
db $00,$08,$21,$00
@@ -2437,7 +2437,7 @@ FrameBlock08: ; 7b173 (1e:7173)
db $20,$18,$21,$60
db $20,$20,$20,$60
-FrameBlock09: ; 7b1b4 (1e:71b4)
+FrameBlock09:
db $0c
db $00,$00,$24,$00
db $00,$08,$25,$00
@@ -2452,7 +2452,7 @@ FrameBlock09: ; 7b1b4 (1e:71b4)
db $20,$18,$25,$60
db $20,$20,$24,$60
-FrameBlock0a: ; 7b1e5 (1e:71e5)
+FrameBlock0a:
db $0c
db $00,$00,$24,$00
db $00,$08,$25,$00
@@ -2467,21 +2467,21 @@ FrameBlock0a: ; 7b1e5 (1e:71e5)
db $28,$20,$25,$60
db $28,$28,$24,$60
-FrameBlock0b: ; 7b216 (1e:7216)
+FrameBlock0b:
db $04
db $00,$00,$05,$00
db $00,$08,$05,$20
db $08,$00,$15,$00
db $08,$08,$15,$20
-FrameBlock0c: ; 7b227 (1e:7227)
+FrameBlock0c:
db $04
db $00,$00,$04,$00
db $00,$08,$04,$20
db $08,$00,$14,$00
db $08,$08,$14,$20
-FrameBlock0d: ; 7b238 (1e:7238)
+FrameBlock0d:
db $08
db $00,$00,$0c,$00
db $00,$08,$0d,$00
@@ -2492,21 +2492,21 @@ FrameBlock0d: ; 7b238 (1e:7238)
db $18,$00,$0d,$60
db $18,$08,$0c,$60
-FrameBlock0e: ; 7b259 (1e:7259)
+FrameBlock0e:
db $04
db $20,$00,$0c,$00
db $20,$08,$0d,$00
db $28,$00,$1c,$00
db $28,$08,$1d,$00
-FrameBlock0f: ; 7b26a (1e:726a)
+FrameBlock0f:
db $04
db $30,$00,$1d,$60
db $30,$08,$1c,$60
db $38,$00,$0d,$60
db $38,$08,$0c,$60
-FrameBlock10: ; 7b27b (1e:727b)
+FrameBlock10:
db $08
db $00,$00,$0e,$00
db $00,$08,$0f,$00
@@ -2517,7 +2517,7 @@ FrameBlock10: ; 7b27b (1e:727b)
db $08,$10,$1f,$20
db $08,$18,$1e,$20
-FrameBlock11: ; 7b29c (1e:729c)
+FrameBlock11:
db $08
db $00,$00,$0e,$00
db $00,$08,$0f,$00
@@ -2528,20 +2528,20 @@ FrameBlock11: ; 7b29c (1e:729c)
db $08,$20,$1f,$20
db $08,$28,$1e,$20
-FrameBlock12: ; 7b2bd (1e:72bd)
+FrameBlock12:
db $03
db $00,$00,$37,$00
db $08,$10,$37,$00
db $00,$20,$37,$00
-FrameBlock13: ; 7b2ca (1e:72ca)
+FrameBlock13:
db $04
db $00,$00,$36,$00
db $00,$08,$36,$20
db $08,$00,$36,$40
db $08,$08,$36,$60
-FrameBlock14: ; 7b2db (1e:72db)
+FrameBlock14:
db $08
db $00,$10,$28,$00
db $00,$18,$28,$20
@@ -2552,7 +2552,7 @@ FrameBlock14: ; 7b2db (1e:72db)
db $08,$20,$36,$40
db $08,$28,$36,$60
-FrameBlock15: ; 7b2fc (1e:72fc)
+FrameBlock15:
db $0c
db $00,$00,$28,$00
db $00,$08,$28,$20
@@ -2567,7 +2567,7 @@ FrameBlock15: ; 7b2fc (1e:72fc)
db $08,$20,$38,$00
db $08,$28,$38,$20
-FrameBlock16: ; 7b32d (1e:732d)
+FrameBlock16:
db $08
db $00,$00,$29,$00
db $00,$08,$29,$20
@@ -2578,60 +2578,60 @@ FrameBlock16: ; 7b32d (1e:732d)
db $08,$20,$39,$00
db $08,$28,$39,$20
-FrameBlock17: ; 7b34e (1e:734e)
+FrameBlock17:
db $04
db $00,$00,$08,$00
db $00,$08,$09,$00
db $08,$00,$18,$00
db $08,$08,$19,$00
-FrameBlock18: ; 7b35f (1e:735f)
+FrameBlock18:
db $01
db $18,$00,$45,$60
-FrameBlock19: ; 7b364 (1e:7364)
+FrameBlock19:
db $02
db $18,$08,$45,$00
db $10,$08,$46,$60
-FrameBlock1a: ; 7b36d (1e:736d)
+FrameBlock1a:
db $02
db $10,$10,$45,$60
db $18,$10,$46,$00
-FrameBlock1b: ; 7b376 (1e:7376)
+FrameBlock1b:
db $02
db $10,$18,$45,$00
db $08,$18,$46,$60
-FrameBlock1c: ; 7b37f (1e:737f)
+FrameBlock1c:
db $02
db $08,$20,$45,$60
db $10,$20,$46,$00
-FrameBlock1d: ; 7b388 (1e:7388)
+FrameBlock1d:
db $02
db $08,$28,$45,$00
db $00,$28,$46,$60
-FrameBlock1e: ; 7b391 (1e:7391)
+FrameBlock1e:
db $02
db $00,$30,$45,$60
db $08,$30,$46,$00
-FrameBlock75: ; 7b39a (1e:739a)
+FrameBlock75:
db $04
db $00,$00,$43,$00
db $00,$08,$43,$20
db $08,$00,$22,$00
db $08,$08,$43,$60
-FrameBlock1f: ; 7b3ab (1e:73ab)
+FrameBlock1f:
db $02
db $00,$00,$03,$00
db $00,$30,$03,$20
-FrameBlock20: ; 7b3b4 (1e:73b4)
+FrameBlock20:
db $06
db $00,$00,$03,$00
db $00,$30,$03,$20
@@ -2640,7 +2640,7 @@ FrameBlock20: ; 7b3b4 (1e:73b4)
db $08,$00,$13,$00
db $08,$30,$13,$20
-FrameBlock21: ; 7b3cd (1e:73cd)
+FrameBlock21:
db $0c
db $00,$00,$03,$00
db $00,$30,$03,$20
@@ -2655,7 +2655,7 @@ FrameBlock21: ; 7b3cd (1e:73cd)
db $10,$00,$03,$00
db $10,$30,$03,$20
-FrameBlock22: ; 7b3fe (1e:73fe)
+FrameBlock22:
db $13
db $00,$00,$03,$00
db $08,$00,$13,$00
@@ -2677,19 +2677,19 @@ FrameBlock22: ; 7b3fe (1e:73fe)
db $10,$30,$03,$20
db $18,$30,$13,$20
-FrameBlock23: ; 7b44b (1e:744b)
+FrameBlock23:
db $04
db $00,$00,$0a,$00
db $00,$08,$0b,$00
db $08,$00,$1a,$00
db $08,$08,$1b,$00
-FrameBlock24: ; 7b45c (1e:745c)
+FrameBlock24:
db $02
db $08,$00,$0a,$00
db $08,$08,$0b,$00
-FrameBlock25: ; 7b465 (1e:7465)
+FrameBlock25:
db $0c
db $10,$00,$0a,$00
db $10,$08,$0b,$00
@@ -2704,14 +2704,14 @@ FrameBlock25: ; 7b465 (1e:7465)
db $10,$20,$1a,$00
db $10,$28,$1b,$00
-FrameBlock26: ; 7b496 (1e:7496)
+FrameBlock26:
db $04
db $00,$10,$44,$00
db $00,$18,$44,$20
db $08,$10,$44,$40
db $08,$18,$44,$60
-FrameBlock27: ; 7b4a7 (1e:74a7)
+FrameBlock27:
db $05
db $08,$08,$44,$00
db $08,$10,$44,$20
@@ -2719,7 +2719,7 @@ FrameBlock27: ; 7b4a7 (1e:74a7)
db $10,$10,$44,$60
db $00,$18,$47,$00
-FrameBlock28: ; 7b4bc (1e:74bc)
+FrameBlock28:
db $06
db $10,$00,$44,$00
db $10,$08,$44,$20
@@ -2728,30 +2728,30 @@ FrameBlock28: ; 7b4bc (1e:74bc)
db $08,$10,$47,$00
db $02,$16,$47,$00
-FrameBlock29: ; 7b4d5 (1e:74d5)
+FrameBlock29:
db $04
db $18,$00,$47,$00
db $12,$06,$47,$00
db $0c,$0c,$47,$00
db $06,$12,$47,$00
-FrameBlock2a: ; 7b4e6 (1e:74e6)
+FrameBlock2a:
db $04
db $00,$00,$44,$00
db $00,$08,$44,$20
db $08,$00,$44,$40
db $08,$08,$44,$60
-FrameBlock2b: ; 7b4f7 (1e:74f7)
+FrameBlock2b:
db $02
db $06,$02,$47,$00
db $00,$08,$47,$00
-FrameBlock2c: ; 7b500 (1e:7500)
+FrameBlock2c:
db $01
db $a0,$00,$4d,$00
-FrameBlock2d: ; 7b505 (1e:7505)
+FrameBlock2d:
db $08
db $00,$00,$26,$00
db $00,$08,$27,$00
@@ -2762,7 +2762,7 @@ FrameBlock2d: ; 7b505 (1e:7505)
db $18,$00,$38,$00
db $18,$08,$39,$00
-FrameBlock2e: ; 7b526 (1e:7526)
+FrameBlock2e:
db $08
db $00,$00,$27,$20
db $00,$08,$26,$20
@@ -2773,25 +2773,25 @@ FrameBlock2e: ; 7b526 (1e:7526)
db $18,$00,$39,$20
db $18,$08,$38,$20
-FrameBlock2f: ; 7b547 (1e:7547)
+FrameBlock2f:
db $04
db $00,$00,$0c,$00
db $00,$08,$0d,$00
db $08,$00,$0c,$40
db $08,$08,$0d,$40
-FrameBlock30: ; 7b558 (1e:7558)
+FrameBlock30:
db $04
db $00,$00,$44,$00
db $00,$08,$44,$20
db $08,$00,$44,$40
db $08,$08,$44,$60
-FrameBlock31: ; 7b569 (1e:7569)
+FrameBlock31:
db $01
db $00,$00,$45,$00
-FrameBlock32: ; 7b56e (1e:756e)
+FrameBlock32:
db $07
db $00,$00,$4d,$00
db $00,$08,$2f,$00
@@ -2801,7 +2801,7 @@ FrameBlock32: ; 7b56e (1e:756e)
db $08,$10,$4e,$20
db $10,$08,$3f,$00
-FrameBlock33: ; 7b58b (1e:758b)
+FrameBlock33:
db $07
db $00,$08,$3f,$40
db $08,$00,$4e,$40
@@ -2811,11 +2811,11 @@ FrameBlock33: ; 7b58b (1e:758b)
db $10,$08,$2f,$40
db $10,$10,$4d,$60
-FrameBlock34: ; 7b5a8 (1e:75a8)
+FrameBlock34:
db $01
db $a0,$00,$00,$10
-FrameBlock35: ; 7b5ad (1e:75ad)
+FrameBlock35:
db $06
db $00,$00,$2a,$00
db $00,$08,$2b,$00
@@ -2824,42 +2824,42 @@ FrameBlock35: ; 7b5ad (1e:75ad)
db $18,$00,$2a,$40
db $18,$08,$2b,$40
-FrameBlock36: ; 7b5c6 (1e:75c6)
+FrameBlock36:
db $04
db $00,$00,$00,$00
db $00,$08,$01,$00
db $08,$00,$10,$00
db $08,$08,$11,$00
-FrameBlock37: ; 7b5d7 (1e:75d7)
+FrameBlock37:
db $04
db $00,$00,$01,$a0
db $00,$08,$00,$a0
db $08,$00,$11,$a0
db $08,$08,$10,$a0
-FrameBlock38: ; 7b5e8 (1e:75e8)
+FrameBlock38:
db $04
db $00,$00,$0a,$00
db $00,$08,$0b,$00
db $08,$00,$1a,$00
db $08,$08,$1b,$00
-FrameBlock39: ; 7b5f9 (1e:75f9)
+FrameBlock39:
db $04
db $00,$00,$0b,$20
db $00,$08,$0a,$20
db $08,$00,$1b,$20
db $08,$08,$1a,$20
-FrameBlock3a: ; 7b60a (1e:760a)
+FrameBlock3a:
db $04
db $20,$00,$05,$00
db $20,$08,$05,$20
db $28,$00,$15,$00
db $28,$08,$15,$20
-FrameBlock3b: ; 7b61b (1e:761b)
+FrameBlock3b:
db $05
db $18,$00,$04,$00
db $18,$08,$04,$20
@@ -2867,7 +2867,7 @@ FrameBlock3b: ; 7b61b (1e:761b)
db $20,$08,$14,$20
db $28,$04,$41,$00
-FrameBlock3c: ; 7b630 (1e:7630)
+FrameBlock3c:
db $06
db $10,$00,$05,$00
db $10,$08,$05,$20
@@ -2876,7 +2876,7 @@ FrameBlock3c: ; 7b630 (1e:7630)
db $20,$04,$42,$00
db $28,$04,$42,$00
-FrameBlock3d: ; 7b649 (1e:7649)
+FrameBlock3d:
db $07
db $08,$00,$04,$00
db $08,$08,$04,$20
@@ -2886,7 +2886,7 @@ FrameBlock3d: ; 7b649 (1e:7649)
db $20,$04,$41,$00
db $28,$04,$41,$00
-FrameBlock3e: ; 7b666 (1e:7666)
+FrameBlock3e:
db $08
db $00,$00,$05,$00
db $00,$08,$05,$20
@@ -2897,7 +2897,7 @@ FrameBlock3e: ; 7b666 (1e:7666)
db $20,$04,$42,$00
db $28,$04,$42,$00
-FrameBlock3f: ; 7b687 (1e:7687)
+FrameBlock3f:
db $08
db $00,$00,$04,$00
db $00,$08,$04,$20
@@ -2908,20 +2908,20 @@ FrameBlock3f: ; 7b687 (1e:7687)
db $20,$04,$41,$00
db $28,$04,$41,$00
-FrameBlock40: ; 7b6a8 (1e:76a8)
+FrameBlock40:
db $03
db $00,$00,$3d,$00
db $00,$08,$3d,$00
db $08,$08,$3d,$00
-FrameBlock41: ; 7b6b5 (1e:76b5)
+FrameBlock41:
db $04
db $00,$00,$06,$00
db $00,$08,$06,$20
db $08,$00,$16,$00
db $08,$08,$17,$00
-FrameBlock42: ; 7b6c6 (1e:76c6)
+FrameBlock42:
db $0b
db $00,$10,$42,$00
db $08,$00,$42,$00
@@ -2935,7 +2935,7 @@ FrameBlock42: ; 7b6c6 (1e:76c6)
db $20,$00,$42,$00
db $20,$20,$42,$00
-FrameBlock43: ; 7b6f3 (1e:76f3)
+FrameBlock43:
db $0b
db $00,$10,$41,$00
db $08,$00,$41,$00
@@ -2949,42 +2949,42 @@ FrameBlock43: ; 7b6f3 (1e:76f3)
db $20,$00,$41,$00
db $20,$20,$41,$00
-FrameBlock44: ; 7b720 (1e:7720)
+FrameBlock44:
db $04
db $00,$00,$49,$00
db $00,$28,$49,$00
db $28,$00,$49,$00
db $28,$28,$49,$00
-FrameBlock45: ; 7b731 (1e:7731)
+FrameBlock45:
db $04
db $00,$00,$49,$00
db $00,$18,$49,$00
db $18,$00,$49,$00
db $18,$18,$49,$00
-FrameBlock46: ; 7b742 (1e:7742)
+FrameBlock46:
db $04
db $00,$00,$49,$00
db $00,$08,$49,$00
db $08,$00,$49,$00
db $08,$08,$49,$00
-FrameBlock47: ; 7b753 (1e:7753)
+FrameBlock47:
db $04
db $00,$00,$43,$00
db $00,$08,$43,$20
db $08,$00,$43,$40
db $08,$08,$43,$60
-SmallBlackCircleFrameBlock: ; 7b764 (1e:7764)
+SmallBlackCircleFrameBlock:
db $04
db $08,$08,$33,$00
db $08,$10,$33,$20
db $10,$08,$33,$40
db $10,$10,$33,$60
-LargeBlockCircleFrameBlock: ; 7b775 (1e:7775)
+LargeBlockCircleFrameBlock:
db $10
db $00,$00,$22,$00
db $00,$08,$23,$00
@@ -3003,7 +3003,7 @@ LargeBlockCircleFrameBlock: ; 7b775 (1e:7775)
db $18,$10,$23,$60
db $18,$18,$22,$60
-FrameBlock71: ; 7b7b6 (1e:77b6)
+FrameBlock71:
db $10
db $00,$00,$22,$00
db $00,$08,$3b,$00
@@ -3022,7 +3022,7 @@ FrameBlock71: ; 7b7b6 (1e:77b6)
db $18,$10,$23,$60
db $18,$18,$22,$60
-FrameBlock72: ; 7b7f7 (1e:77f7)
+FrameBlock72:
db $0c
db $00,$00,$32,$00
db $00,$08,$43,$00
@@ -3037,7 +3037,7 @@ FrameBlock72: ; 7b7f7 (1e:77f7)
db $10,$10,$23,$60
db $10,$18,$22,$60
-FrameBlock73: ; 7b828 (1e:7828)
+FrameBlock73:
db $08
db $00,$00,$32,$40
db $00,$08,$43,$40
@@ -3048,42 +3048,42 @@ FrameBlock73: ; 7b828 (1e:7828)
db $08,$10,$23,$60
db $08,$18,$22,$60
-FrameBlock74: ; 7b849 (1e:7849)
+FrameBlock74:
db $04
db $00,$00,$22,$40
db $00,$08,$23,$40
db $00,$10,$23,$60
db $00,$18,$22,$60
-FrameBlock4a: ; 7b85a (1e:785a)
+FrameBlock4a:
db $04
db $08,$18,$4c,$20
db $20,$08,$4b,$00
db $30,$20,$4c,$00
db $18,$30,$4b,$40
-FrameBlock4b: ; 7b86b (1e:786b)
+FrameBlock4b:
db $04
db $00,$18,$4c,$00
db $20,$00,$4b,$40
db $38,$20,$4c,$20
db $18,$38,$4b,$00
-FrameBlock4c: ; 7b87c (1e:787c)
+FrameBlock4c:
db $04
db $10,$08,$4a,$40
db $30,$10,$4a,$00
db $28,$30,$4a,$20
db $08,$28,$4a,$60
-FrameBlock4d: ; 7b88d (1e:788d)
+FrameBlock4d:
db $04
db $08,$00,$4a,$20
db $38,$08,$4a,$60
db $30,$38,$4a,$40
db $00,$30,$4a,$00
-FrameBlock4e: ; 7b89e (1e:789e)
+FrameBlock4e:
db $08
db $00,$30,$44,$00
db $00,$38,$44,$20
@@ -3094,7 +3094,7 @@ FrameBlock4e: ; 7b89e (1e:789e)
db $2e,$0a,$44,$40
db $2e,$12,$44,$60
-FrameBlock4f: ; 7b8bf (1e:78bf)
+FrameBlock4f:
db $0c
db $0e,$22,$44,$00
db $0e,$2a,$44,$20
@@ -3109,7 +3109,7 @@ FrameBlock4f: ; 7b8bf (1e:78bf)
db $30,$08,$47,$00
db $2a,$0e,$47,$00
-FrameBlock50: ; 7b8f0 (1e:78f0)
+FrameBlock50:
db $08
db $06,$32,$47,$00
db $00,$38,$47,$00
@@ -3120,7 +3120,7 @@ FrameBlock50: ; 7b8f0 (1e:78f0)
db $2a,$0e,$47,$00
db $24,$14,$47,$00
-FrameBlock51: ; 7b911 (1e:7911)
+FrameBlock51:
db $08
db $00,$00,$35,$20
db $08,$00,$35,$40
@@ -3131,33 +3131,33 @@ FrameBlock51: ; 7b911 (1e:7911)
db $10,$40,$35,$20
db $18,$40,$35,$40
-FrameBlock52: ; 7b932 (1e:7932)
+FrameBlock52:
db $04
db $00,$00,$2a,$00
db $00,$08,$2b,$00
db $08,$00,$3a,$00
db $08,$08,$3b,$00
-FrameBlock53: ; 7b943 (1e:7943)
+FrameBlock53:
db $03
db $00,$00,$3f,$00
db $00,$08,$3f,$00
db $08,$06,$3f,$00
-FrameBlock54: ; 7b950 (1e:7950)
+FrameBlock54:
db $04
db $00,$00,$0e,$00
db $00,$08,$0e,$20
db $08,$00,$0f,$00
db $08,$08,$0f,$20
-FrameBlock55: ; 7b961 (1e:7961)
+FrameBlock55:
db $03
db $10,$00,$2c,$00
db $10,$08,$3c,$00
db $10,$10,$2d,$00
-FrameBlock56: ; 7b96e (1e:796e)
+FrameBlock56:
db $06
db $10,$10,$31,$00
db $10,$18,$31,$00
@@ -3166,7 +3166,7 @@ FrameBlock56: ; 7b96e (1e:796e)
db $08,$20,$2d,$00
db $10,$20,$2d,$00
-FrameBlock57: ; 7b987 (1e:7987)
+FrameBlock57:
db $09
db $08,$20,$31,$00
db $10,$20,$31,$00
@@ -3178,7 +3178,7 @@ FrameBlock57: ; 7b987 (1e:7987)
db $08,$30,$2d,$00
db $10,$30,$2d,$00
-FrameBlock58: ; 7b9ac (1e:79ac)
+FrameBlock58:
db $07
db $00,$00,$46,$00
db $08,$02,$47,$00
@@ -3188,11 +3188,11 @@ FrameBlock58: ; 7b9ac (1e:79ac)
db $28,$05,$48,$00
db $30,$05,$48,$00
-FrameBlock59: ; 7b9c9 (1e:79c9)
+FrameBlock59:
db $01
db $00,$00,$42,$00
-FrameBlock5a: ; 7b9ce (1e:79ce)
+FrameBlock5a:
db $0c
db $00,$00,$24,$00
db $00,$08,$25,$00
@@ -3207,14 +3207,14 @@ FrameBlock5a: ; 7b9ce (1e:79ce)
db $18,$10,$25,$60
db $18,$18,$24,$60
-FrameBlock5b: ; 7b9ff (1e:79ff)
+FrameBlock5b:
db $04
db $00,$00,$43,$00
db $00,$08,$43,$20
db $08,$00,$43,$40
db $08,$08,$43,$60
-FrameBlock5c: ; 7ba10 (1e:7a10)
+FrameBlock5c:
db $08
db $00,$00,$49,$00
db $02,$08,$49,$00
@@ -3225,7 +3225,7 @@ FrameBlock5c: ; 7ba10 (1e:7a10)
db $10,$00,$43,$40
db $10,$08,$43,$60
-FrameBlock5d: ; 7ba31 (1e:7a31)
+FrameBlock5d:
db $0b
db $00,$00,$49,$00
db $18,$02,$49,$00
@@ -3239,7 +3239,7 @@ FrameBlock5d: ; 7ba31 (1e:7a31)
db $0c,$08,$43,$40
db $0c,$10,$43,$60
-FrameBlock5e: ; 7ba5e (1e:7a5e)
+FrameBlock5e:
db $0f
db $00,$08,$49,$00
db $08,$10,$49,$00
@@ -3257,14 +3257,14 @@ FrameBlock5e: ; 7ba5e (1e:7a5e)
db $28,$08,$43,$40
db $28,$10,$43,$60
-FrameBlock5f: ; 7ba9b (1e:7a9b)
+FrameBlock5f:
db $04
db $00,$00,$49,$00
db $00,$10,$49,$00
db $00,$20,$49,$00
db $00,$30,$49,$00
-FrameBlock60: ; 7baac (1e:7aac)
+FrameBlock60:
db $08
db $00,$00,$49,$00
db $00,$10,$49,$00
@@ -3275,7 +3275,7 @@ FrameBlock60: ; 7baac (1e:7aac)
db $08,$28,$49,$00
db $08,$38,$49,$00
-FrameBlock61: ; 7bacd (1e:7acd)
+FrameBlock61:
db $0c
db $00,$00,$49,$00
db $00,$10,$49,$00
@@ -3290,7 +3290,7 @@ FrameBlock61: ; 7bacd (1e:7acd)
db $10,$20,$49,$00
db $10,$30,$49,$00
-FrameBlock62: ; 7bafe (1e:7afe)
+FrameBlock62:
db $0f
db $00,$00,$49,$00
db $00,$10,$49,$00
@@ -3309,7 +3309,7 @@ FrameBlock62: ; 7bafe (1e:7afe)
db $18,$28,$49,$00
db $18,$38,$49,$00 ; unused
-FrameBlock63: ; 7bb3f (1e:7b3f)
+FrameBlock63:
db $06
db $10,$00,$26,$00
db $10,$08,$27,$00
@@ -3318,7 +3318,7 @@ FrameBlock63: ; 7bb3f (1e:7b3f)
db $00,$20,$26,$00
db $00,$28,$27,$00
-FrameBlock64: ; 7bb58 (1e:7b58)
+FrameBlock64:
db $06
db $18,$00,$27,$00
db $10,$08,$26,$00
@@ -3327,7 +3327,7 @@ FrameBlock64: ; 7bb58 (1e:7b58)
db $08,$20,$27,$00
db $00,$28,$26,$00
-FrameBlock65: ; 7bb71 (1e:7b71)
+FrameBlock65:
db $06
db $00,$00,$1c,$00
db $00,$08,$1d,$00
@@ -3336,27 +3336,27 @@ FrameBlock65: ; 7bb71 (1e:7b71)
db $20,$00,$1c,$00
db $20,$08,$1d,$00
-FrameBlock66: ; 7bb8a (1e:7b8a)
+FrameBlock66:
db $02
db $00,$00,$03,$00
db $08,$00,$13,$00
-FrameBlock67: ; 7bb93 (1e:7b93)
+FrameBlock67:
db $01
db $00,$00,$03,$00
-FrameBlock68: ; 7bb98 (1e:7b98)
+FrameBlock68:
db $04
db $00,$00,$03,$00
db $00,$08,$03,$20
db $08,$00,$13,$00
db $08,$08,$13,$20
-FrameBlock69: ; 7bba9 (1e:7ba9)
+FrameBlock69:
db $01
db $00,$00,$06,$00
-FrameBlock6a: ; 7bbae (1e:7bae)
+FrameBlock6a:
db $08
db $00,$00,$2e,$00
db $00,$30,$2e,$20
@@ -3367,7 +3367,7 @@ FrameBlock6a: ; 7bbae (1e:7bae)
db $18,$00,$3e,$00
db $18,$30,$3e,$20
-FrameBlock6b: ; 7bbcf (1e:7bcf)
+FrameBlock6b:
db $08
db $00,$00,$2e,$00
db $00,$20,$2e,$20
@@ -3378,7 +3378,7 @@ FrameBlock6b: ; 7bbcf (1e:7bcf)
db $10,$00,$3e,$00
db $10,$20,$3e,$20
-FrameBlock6c: ; 7bbf0 (1e:7bf0)
+FrameBlock6c:
db $08
db $00,$00,$2e,$00
db $00,$10,$2e,$20
@@ -3389,33 +3389,33 @@ FrameBlock6c: ; 7bbf0 (1e:7bf0)
db $08,$00,$3e,$00
db $08,$10,$3e,$20
-FrameBlock6d: ; 7bc11 (1e:7c11)
+FrameBlock6d:
db $02
db $00,$00,$1e,$00
db $00,$08,$1f,$00
-FrameBlock6e: ; 7bc1a (1e:7c1a)
+FrameBlock6e:
db $04
db $00,$00,$48,$00
db $00,$08,$48,$20
db $08,$00,$12,$00
db $08,$08,$12,$20
-FrameBlock6f: ; 7bc2b (1e:7c2b)
+FrameBlock6f:
db $04
db $00,$00,$4a,$00
db $00,$08,$07,$00
db $08,$00,$16,$00
db $08,$08,$17,$00
-FrameBlock70: ; 7bc3c (1e:7c3c)
+FrameBlock70:
db $04
db $00,$00,$07,$20
db $00,$08,$4a,$20
db $08,$00,$17,$20
db $08,$08,$16,$20
-FrameBlock76: ; 7bc4d (1e:7c4d)
+FrameBlock76:
db $07
db $00,$10,$2f,$00
db $01,$08,$2f,$00
@@ -3425,22 +3425,22 @@ FrameBlock76: ; 7bc4d (1e:7c4d)
db $0a,$00,$3e,$00
db $0a,$20,$3e,$20
-FrameBlock77: ; 7bc6a (1e:7c6a)
+FrameBlock77:
db $04
db $00,$02,$4b,$00
db $00,$0a,$4c,$00
db $08,$00,$4c,$60
db $08,$08,$4b,$60
-FrameBlock78: ; 7bc7b (1e:7c7b)
+FrameBlock78:
db $01
db $00,$00,$4d,$00
-FrameBlock79: ; 7bc80 (1e:7c80)
+FrameBlock79:
db $01
db $00,$00,$4e,$00
-FrameBlockBaseCoords: ; 7bc85 (1e:7c85)
+FrameBlockBaseCoords:
db $10,$68
db $10,$70
db $10,$78
@@ -3619,5 +3619,5 @@ FrameBlockBaseCoords: ; 7bc85 (1e:7c85)
db $1C,$48
db $48,$28
-FrameBlock00: ; 7bde7 (1e:7de7)
+FrameBlock00:
db $00,$00
diff --git a/data/bg_map_attributes.asm b/data/bg_map_attributes.asm
index d1bcfb14..81535e72 100644
--- a/data/bg_map_attributes.asm
+++ b/data/bg_map_attributes.asm
@@ -1,4 +1,4 @@
-BGMapAttributes_Unknown1: ; bd000 (2f:5000)
+BGMapAttributes_Unknown1:
db $23
dw $000d
db $00
@@ -33,7 +33,7 @@ BGMapAttributes_Unknown1: ; bd000 (2f:5000)
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_Unknown2: ; bd250 (2f:5250)
+BGMapAttributes_Unknown2:
db $23
dw $000d
db $00
@@ -68,7 +68,7 @@ BGMapAttributes_Unknown2: ; bd250 (2f:5250)
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_GameFreakIntro: ; bd4a0 (2f:54a0)
+BGMapAttributes_GameFreakIntro:
db $23
dw $000d
db $00
@@ -103,7 +103,7 @@ BGMapAttributes_GameFreakIntro: ; bd4a0 (2f:54a0)
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_TrainerCard: ; bd6f0 (2f:56f0)
+BGMapAttributes_TrainerCard:
db $23
dw $000d
db $00
@@ -138,7 +138,7 @@ BGMapAttributes_TrainerCard: ; bd6f0 (2f:56f0)
db $00,$00,$00,$02,$02,$00,$00,$03,$03,$00,$00,$02,$02,$00,$00,$01,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_PartyMenu: ; bd940 (2f:5940)
+BGMapAttributes_PartyMenu:
db $23
dw $000d
db $00
@@ -173,7 +173,7 @@ BGMapAttributes_PartyMenu: ; bd940 (2f:5940)
db $01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_NidorinoIntro: ; bdb90 (2f:5b90)
+BGMapAttributes_NidorinoIntro:
db $23
dw $000d
db $00
@@ -208,7 +208,7 @@ BGMapAttributes_NidorinoIntro: ; bdb90 (2f:5b90)
db $01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_TitleScreen: ; bdde0 (2f:5de0)
+BGMapAttributes_TitleScreen:
db $23
dw $024d
db $00
@@ -262,7 +262,7 @@ BGMapAttributes_TitleScreen: ; bdde0 (2f:5de0)
db $02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_Slots: ; be270 (2f:6270)
+BGMapAttributes_Slots:
db $23
dw $000d
db $00
@@ -297,7 +297,7 @@ BGMapAttributes_Slots: ; be270 (2f:6270)
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_Pokedex: ; be4c0 (2f:64c0)
+BGMapAttributes_Pokedex:
db $23
dw $000d
db $00
@@ -332,7 +332,7 @@ BGMapAttributes_Pokedex: ; be4c0 (2f:64c0)
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_StatusScreen: ; be710 (2f:6710)
+BGMapAttributes_StatusScreen:
db $23
dw $000d
db $00
@@ -367,7 +367,7 @@ BGMapAttributes_StatusScreen: ; be710 (2f:6710)
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_Battle: ; be960 (2f:6960)
+BGMapAttributes_Battle:
db $23
dw $000d
db $00
@@ -402,7 +402,7 @@ BGMapAttributes_Battle: ; be960 (2f:6960)
db $02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_WholeScreen: ; bebb0 (2f:6bb0)
+BGMapAttributes_WholeScreen:
db $3f
dw $000d
db $00
@@ -451,7 +451,7 @@ BGMapAttributes_WholeScreen: ; bebb0 (2f:6bb0)
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
-BGMapAttributes_Unknown13: ; befc0 (2f:6fc0)
+BGMapAttributes_Unknown13:
db $23
dw $024d
db $00
@@ -503,4 +503,4 @@ BGMapAttributes_Unknown13: ; befc0 (2f:6fc0)
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
- db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 \ No newline at end of file
+ db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
diff --git a/data/bike_riding_tilesets.asm b/data/bike_riding_tilesets.asm
index f0fc922d..48c2cee6 100755
--- a/data/bike_riding_tilesets.asm
+++ b/data/bike_riding_tilesets.asm
@@ -1,2 +1,2 @@
-BikeRidingTilesets:: ; 09e2 (0:09e2)
+BikeRidingTilesets::
db OVERWORLD, FOREST, UNDERGROUND, SHIP_PORT, CAVERN, $FF
diff --git a/data/credit_mons.asm b/data/credit_mons.asm
index c271db68..15212048 100755
--- a/data/credit_mons.asm
+++ b/data/credit_mons.asm
@@ -1,4 +1,4 @@
-CreditsMons: ; 74131 (1d:4131)
+CreditsMons:
db VENUSAUR
db ARBOK
db RHYHORN
diff --git a/data/credits_order.asm b/data/credits_order.asm
index e84a2a09..c818ac07 100755
--- a/data/credits_order.asm
+++ b/data/credits_order.asm
@@ -1,4 +1,4 @@
-CreditsOrder: ; 74243 (1d:4243)
+CreditsOrder:
; subsequent credits elements will be displayed on separate lines.
; $FF, $FE, $FD, $FC, $FB, and $FA are commands that are used
; to go to the next set of credits texts.
diff --git a/data/cries.asm b/data/cries.asm
index 7d03b831..7031536e 100755
--- a/data/cries.asm
+++ b/data/cries.asm
@@ -1,4 +1,4 @@
-CryData: ; 39446 (e:5446)
+CryData:
;$BaseCry, $Pitch, $Length
db $11, $00, $80; Rhydon
db $03, $00, $80; Kangaskhan
diff --git a/data/dungeon_tilesets.asm b/data/dungeon_tilesets.asm
index 702a37e0..01e86714 100755
--- a/data/dungeon_tilesets.asm
+++ b/data/dungeon_tilesets.asm
@@ -1,2 +1,2 @@
-DungeonTilesets: ; c54c (3:454c)
+DungeonTilesets:
db FOREST, MUSEUM, SHIP, CAVERN, LOBBY, MANSION, GATE, LAB, FACILITY, CEMETERY, GYM, $FF
diff --git a/data/evos_moves.asm b/data/evos_moves.asm
index 1892663e..d819b916 100755
--- a/data/evos_moves.asm
+++ b/data/evos_moves.asm
@@ -1,4 +1,4 @@
-EvosMovesPointerTable: ; 3b1e5 (e:71e5)
+EvosMovesPointerTable:
dw Mon112_EvosMoves
dw Mon115_EvosMoves
dw Mon032_EvosMoves
@@ -190,7 +190,7 @@ EvosMovesPointerTable: ; 3b1e5 (e:71e5)
dw Mon070_EvosMoves
dw Mon071_EvosMoves
-Mon112_EvosMoves: ; 3b361 (e:7361)
+Mon112_EvosMoves:
;RHYDON
;Evolutions
db 0
@@ -203,7 +203,7 @@ Mon112_EvosMoves: ; 3b361 (e:7361)
db 64,TAKE_DOWN
db 0
-Mon115_EvosMoves: ; 3b36f (e:736f)
+Mon115_EvosMoves:
;KANGASKHAN
;Evolutions
db 0
@@ -215,7 +215,7 @@ Mon115_EvosMoves: ; 3b36f (e:736f)
db 46,DIZZY_PUNCH
db 0
-Mon032_EvosMoves: ; 3b37b (e:737b)
+Mon032_EvosMoves:
;NIDORAN_M
;Evolutions
db EV_LEVEL,16,NIDORINO
@@ -229,7 +229,7 @@ Mon032_EvosMoves: ; 3b37b (e:737b)
db 38,HORN_DRILL
db 0
-Mon035_EvosMoves: ; 3b38c (e:738c)
+Mon035_EvosMoves:
;CLEFAIRY
;Evolutions
db EV_ITEM,MOON_STONE,1,CLEFABLE
@@ -243,7 +243,7 @@ Mon035_EvosMoves: ; 3b38c (e:738c)
db 48,LIGHT_SCREEN
db 0
-Mon021_EvosMoves: ; 3b39e (e:739e)
+Mon021_EvosMoves:
;SPEAROW
;Evolutions
db EV_LEVEL,20,FEAROW
@@ -256,7 +256,7 @@ Mon021_EvosMoves: ; 3b39e (e:739e)
db 36,AGILITY
db 0
-Mon100_EvosMoves: ; 3b3ad (e:73ad)
+Mon100_EvosMoves:
;VOLTORB
;Evolutions
db EV_LEVEL,30,ELECTRODE
@@ -269,7 +269,7 @@ Mon100_EvosMoves: ; 3b3ad (e:73ad)
db 43,EXPLOSION
db 0
-Mon034_EvosMoves: ; 3b3bc (e:73bc)
+Mon034_EvosMoves:
;NIDOKING
;Evolutions
db 0
@@ -279,7 +279,7 @@ Mon034_EvosMoves: ; 3b3bc (e:73bc)
db 23,THRASH
db 0
-Mon080_EvosMoves: ; 3b3c4 (e:73c4)
+Mon080_EvosMoves:
;SLOWBRO
;Evolutions
db 0
@@ -293,7 +293,7 @@ Mon080_EvosMoves: ; 3b3c4 (e:73c4)
db 55,PSYCHIC_M
db 0
-Mon002_EvosMoves: ; 3b3d4 (e:73d4)
+Mon002_EvosMoves:
;IVYSAUR
;Evolutions
db EV_LEVEL,32,VENUSAUR
@@ -308,7 +308,7 @@ Mon002_EvosMoves: ; 3b3d4 (e:73d4)
db 54,SOLARBEAM
db 0
-Mon103_EvosMoves: ; 3b3e7 (e:73e7)
+Mon103_EvosMoves:
;EXEGGUTOR
;Evolutions
db 0
@@ -316,7 +316,7 @@ Mon103_EvosMoves: ; 3b3e7 (e:73e7)
db 28,STOMP
db 0
-Mon108_EvosMoves: ; 3b3eb (e:73eb)
+Mon108_EvosMoves:
;LICKITUNG
;Evolutions
db 0
@@ -328,7 +328,7 @@ Mon108_EvosMoves: ; 3b3eb (e:73eb)
db 39,SCREECH
db 0
-Mon102_EvosMoves: ; 3b3f7 (e:73f7)
+Mon102_EvosMoves:
;EXEGGCUTE
;Evolutions
db EV_ITEM,LEAF_STONE,1,EXEGGUTOR
@@ -342,7 +342,7 @@ Mon102_EvosMoves: ; 3b3f7 (e:73f7)
db 48,SLEEP_POWDER
db 0
-Mon088_EvosMoves: ; 3b409 (e:7409)
+Mon088_EvosMoves:
;GRIMER
;Evolutions
db EV_LEVEL,38,MUK
@@ -356,7 +356,7 @@ Mon088_EvosMoves: ; 3b409 (e:7409)
db 55,ACID_ARMOR
db 0
-Mon094_EvosMoves: ; 3b41a (e:741a)
+Mon094_EvosMoves:
;GENGAR
;Evolutions
db 0
@@ -365,7 +365,7 @@ Mon094_EvosMoves: ; 3b41a (e:741a)
db 38,DREAM_EATER
db 0
-Mon029_EvosMoves: ; 3b420 (e:7420)
+Mon029_EvosMoves:
;NIDORAN_F
;Evolutions
db EV_LEVEL,16,NIDORINA
@@ -379,7 +379,7 @@ Mon029_EvosMoves: ; 3b420 (e:7420)
db 38,FURY_SWIPES
db 0
-Mon031_EvosMoves: ; 3b431 (e:7431)
+Mon031_EvosMoves:
;NIDOQUEEN
;Evolutions
db 0
@@ -389,7 +389,7 @@ Mon031_EvosMoves: ; 3b431 (e:7431)
db 23,BODY_SLAM
db 0
-Mon104_EvosMoves: ; 3b439 (e:7439)
+Mon104_EvosMoves:
;CUBONE
;Evolutions
db EV_LEVEL,28,MAROWAK
@@ -405,7 +405,7 @@ Mon104_EvosMoves: ; 3b439 (e:7439)
db 46,RAGE
db 0
-Mon111_EvosMoves: ; 3b44e (e:744e)
+Mon111_EvosMoves:
;RHYHORN
;Evolutions
db EV_LEVEL,42,RHYDON
@@ -419,7 +419,7 @@ Mon111_EvosMoves: ; 3b44e (e:744e)
db 55,TAKE_DOWN
db 0
-Mon131_EvosMoves: ; 3b45f (e:745f)
+Mon131_EvosMoves:
;LAPRAS
;Evolutions
db 0
@@ -432,14 +432,14 @@ Mon131_EvosMoves: ; 3b45f (e:745f)
db 46,HYDRO_PUMP
db 0
-Mon059_EvosMoves: ; 3b46d (e:746d)
+Mon059_EvosMoves:
;ARCANINE
;Evolutions
db 0
;Learnset
db 0
-Mon151_EvosMoves: ; 3b46f (e:746f)
+Mon151_EvosMoves:
;MEW
;Evolutions
db 0
@@ -450,7 +450,7 @@ Mon151_EvosMoves: ; 3b46f (e:746f)
db 40,PSYCHIC_M
db 0
-Mon130_EvosMoves: ; 3b479 (e:7479)
+Mon130_EvosMoves:
;GYARADOS
;Evolutions
db 0
@@ -462,7 +462,7 @@ Mon130_EvosMoves: ; 3b479 (e:7479)
db 52,HYPER_BEAM
db 0
-Mon090_EvosMoves: ; 3b485 (e:7485)
+Mon090_EvosMoves:
;SHELLDER
;Evolutions
db EV_ITEM,WATER_STONE,1,CLOYSTER
@@ -475,7 +475,7 @@ Mon090_EvosMoves: ; 3b485 (e:7485)
db 50,ICE_BEAM
db 0
-Mon072_EvosMoves: ; 3b495 (e:7495)
+Mon072_EvosMoves:
;TENTACOOL
;Evolutions
db EV_LEVEL,30,TENTACRUEL
@@ -491,7 +491,7 @@ Mon072_EvosMoves: ; 3b495 (e:7495)
db 48,HYDRO_PUMP
db 0
-Mon092_EvosMoves: ; 3b4aa (e:74aa)
+Mon092_EvosMoves:
;GASTLY
;Evolutions
db EV_LEVEL,25,HAUNTER
@@ -501,7 +501,7 @@ Mon092_EvosMoves: ; 3b4aa (e:74aa)
db 35,DREAM_EATER
db 0
-Mon123_EvosMoves: ; 3b4b3 (e:74b3)
+Mon123_EvosMoves:
;SCYTHER
;Evolutions
db 0
@@ -515,7 +515,7 @@ Mon123_EvosMoves: ; 3b4b3 (e:74b3)
db 50,WING_ATTACK
db 0
-Mon120_EvosMoves: ; 3b4c3 (e:74c3)
+Mon120_EvosMoves:
;STARYU
;Evolutions
db EV_ITEM,WATER_STONE,1,STARMIE
@@ -530,7 +530,7 @@ Mon120_EvosMoves: ; 3b4c3 (e:74c3)
db 47,HYDRO_PUMP
db 0
-Mon009_EvosMoves: ; 3b4d7 (e:74d7)
+Mon009_EvosMoves:
;BLASTOISE
;Evolutions
db 0
@@ -543,7 +543,7 @@ Mon009_EvosMoves: ; 3b4d7 (e:74d7)
db 52,HYDRO_PUMP
db 0
-Mon127_EvosMoves: ; 3b4e5 (e:74e5)
+Mon127_EvosMoves:
;PINSIR
;Evolutions
db 0
@@ -557,7 +557,7 @@ Mon127_EvosMoves: ; 3b4e5 (e:74e5)
db 54,SWORDS_DANCE
db 0
-Mon114_EvosMoves: ; 3b4f5 (e:74f5)
+Mon114_EvosMoves:
;TANGELA
;Evolutions
db 0
@@ -572,21 +572,21 @@ Mon114_EvosMoves: ; 3b4f5 (e:74f5)
db 48,GROWTH
db 0
-Mon152_EvosMoves: ; 3b507 (e:7507)
+Mon152_EvosMoves:
;MISSINGNO_1F
;Evolutions
db 0
;Learnset
db 0
-Mon153_EvosMoves: ; 3b509 (e:7509)
+Mon153_EvosMoves:
;MISSINGNO_20
;Evolutions
db 0
;Learnset
db 0
-Mon058_EvosMoves: ; 3b50b (e:750b)
+Mon058_EvosMoves:
;GROWLITHE
;Evolutions
db EV_ITEM,FIRE_STONE,1,ARCANINE
@@ -599,7 +599,7 @@ Mon058_EvosMoves: ; 3b50b (e:750b)
db 50,FLAMETHROWER
db 0
-Mon095_EvosMoves: ; 3b51b (e:751b)
+Mon095_EvosMoves:
;ONIX
;Evolutions
db 0
@@ -611,7 +611,7 @@ Mon095_EvosMoves: ; 3b51b (e:751b)
db 43,HARDEN
db 0
-Mon022_EvosMoves: ; 3b527 (e:7527)
+Mon022_EvosMoves:
;FEAROW
;Evolutions
db 0
@@ -623,7 +623,7 @@ Mon022_EvosMoves: ; 3b527 (e:7527)
db 43,AGILITY
db 0
-Mon016_EvosMoves: ; 3b533 (e:7533)
+Mon016_EvosMoves:
;PIDGEY
;Evolutions
db EV_LEVEL,18,PIDGEOTTO
@@ -637,7 +637,7 @@ Mon016_EvosMoves: ; 3b533 (e:7533)
db 44,MIRROR_MOVE
db 0
-Mon079_EvosMoves: ; 3b544 (e:7544)
+Mon079_EvosMoves:
;SLOWPOKE
;Evolutions
db EV_LEVEL,37,SLOWBRO
@@ -651,7 +651,7 @@ Mon079_EvosMoves: ; 3b544 (e:7544)
db 48,PSYCHIC_M
db 0
-Mon064_EvosMoves: ; 3b555 (e:7555)
+Mon064_EvosMoves:
;KADABRA
;Evolutions
db EV_TRADE,1,ALAKAZAM
@@ -665,7 +665,7 @@ Mon064_EvosMoves: ; 3b555 (e:7555)
db 42,REFLECT
db 0
-Mon075_EvosMoves: ; 3b566 (e:7566)
+Mon075_EvosMoves:
;GRAVELER
;Evolutions
db EV_TRADE,1,GOLEM
@@ -679,7 +679,7 @@ Mon075_EvosMoves: ; 3b566 (e:7566)
db 43,EXPLOSION
db 0
-Mon113_EvosMoves: ; 3b577 (e:7577)
+Mon113_EvosMoves:
;CHANSEY
;Evolutions
db 0
@@ -693,7 +693,7 @@ Mon113_EvosMoves: ; 3b577 (e:7577)
db 54,DOUBLE_EDGE
db 0
-Mon067_EvosMoves: ; 3b587 (e:7587)
+Mon067_EvosMoves:
;MACHOKE
;Evolutions
db EV_TRADE,1,MACHAMP
@@ -706,7 +706,7 @@ Mon067_EvosMoves: ; 3b587 (e:7587)
db 52,SUBMISSION
db 0
-Mon122_EvosMoves: ; 3b596 (e:7596)
+Mon122_EvosMoves:
;MR_MIME
;Evolutions
db 0
@@ -718,7 +718,7 @@ Mon122_EvosMoves: ; 3b596 (e:7596)
db 47,SUBSTITUTE
db 0
-Mon106_EvosMoves: ; 3b5a2 (e:75a2)
+Mon106_EvosMoves:
;HITMONLEE
;Evolutions
db 0
@@ -730,7 +730,7 @@ Mon106_EvosMoves: ; 3b5a2 (e:75a2)
db 53,MEGA_KICK
db 0
-Mon107_EvosMoves: ; 3b5ae (e:75ae)
+Mon107_EvosMoves:
;HITMONCHAN
;Evolutions
db 0
@@ -742,7 +742,7 @@ Mon107_EvosMoves: ; 3b5ae (e:75ae)
db 53,COUNTER
db 0
-Mon024_EvosMoves: ; 3b5ba (e:75ba)
+Mon024_EvosMoves:
;ARBOK
;Evolutions
db 0
@@ -754,7 +754,7 @@ Mon024_EvosMoves: ; 3b5ba (e:75ba)
db 47,ACID
db 0
-Mon047_EvosMoves: ; 3b5c6 (e:75c6)
+Mon047_EvosMoves:
;PARASECT
;Evolutions
db 0
@@ -766,7 +766,7 @@ Mon047_EvosMoves: ; 3b5c6 (e:75c6)
db 48,GROWTH
db 0
-Mon054_EvosMoves: ; 3b5d2 (e:75d2)
+Mon054_EvosMoves:
;PSYDUCK
;Evolutions
db EV_LEVEL,33,GOLDUCK
@@ -779,7 +779,7 @@ Mon054_EvosMoves: ; 3b5d2 (e:75d2)
db 52,HYDRO_PUMP
db 0
-Mon096_EvosMoves: ; 3b5e1 (e:75e1)
+Mon096_EvosMoves:
;DROWZEE
;Evolutions
db EV_LEVEL,26,HYPNO
@@ -793,7 +793,7 @@ Mon096_EvosMoves: ; 3b5e1 (e:75e1)
db 37,MEDITATE
db 0
-Mon076_EvosMoves: ; 3b5f2 (e:75f2)
+Mon076_EvosMoves:
;GOLEM
;Evolutions
db 0
@@ -806,14 +806,14 @@ Mon076_EvosMoves: ; 3b5f2 (e:75f2)
db 43,EXPLOSION
db 0
-Mon154_EvosMoves: ; 3b600 (e:7600)
+Mon154_EvosMoves:
;MISSINGNO_32
;Evolutions
db 0
;Learnset
db 0
-Mon126_EvosMoves: ; 3b602 (e:7602)
+Mon126_EvosMoves:
;MAGMAR
;Evolutions
db 0
@@ -826,14 +826,14 @@ Mon126_EvosMoves: ; 3b602 (e:7602)
db 55,FLAMETHROWER
db 0
-Mon155_EvosMoves: ; 3b610 (e:7610)
+Mon155_EvosMoves:
;MISSINGNO_34
;Evolutions
db 0
;Learnset
db 0
-Mon125_EvosMoves: ; 3b612 (e:7612)
+Mon125_EvosMoves:
;ELECTABUZZ
;Evolutions
db 0
@@ -845,7 +845,7 @@ Mon125_EvosMoves: ; 3b612 (e:7612)
db 54,THUNDER
db 0
-Mon082_EvosMoves: ; 3b61e (e:761e)
+Mon082_EvosMoves:
;MAGNETON
;Evolutions
db 0
@@ -858,7 +858,7 @@ Mon082_EvosMoves: ; 3b61e (e:761e)
db 54,SCREECH
db 0
-Mon109_EvosMoves: ; 3b62c (e:762c)
+Mon109_EvosMoves:
;KOFFING
;Evolutions
db EV_LEVEL,35,WEEZING
@@ -871,14 +871,14 @@ Mon109_EvosMoves: ; 3b62c (e:762c)
db 48,EXPLOSION
db 0
-Mon156_EvosMoves: ; 3b63b (e:763b)
+Mon156_EvosMoves:
;MISSINGNO_38
;Evolutions
db 0
;Learnset
db 0
-Mon056_EvosMoves: ; 3b63d (e:763d)
+Mon056_EvosMoves:
;MANKEY
;Evolutions
db EV_LEVEL,28,PRIMEAPE
@@ -893,7 +893,7 @@ Mon056_EvosMoves: ; 3b63d (e:763d)
db 45,SCREECH
db 0
-Mon086_EvosMoves: ; 3b650 (e:7650)
+Mon086_EvosMoves:
;SEEL
;Evolutions
db EV_LEVEL,34,DEWGONG
@@ -906,7 +906,7 @@ Mon086_EvosMoves: ; 3b650 (e:7650)
db 50,ICE_BEAM
db 0
-Mon050_EvosMoves: ; 3b65f (e:765f)
+Mon050_EvosMoves:
;DIGLETT
;Evolutions
db EV_LEVEL,26,DUGTRIO
@@ -919,7 +919,7 @@ Mon050_EvosMoves: ; 3b65f (e:765f)
db 40,EARTHQUAKE
db 0
-Mon128_EvosMoves: ; 3b66e (e:766e)
+Mon128_EvosMoves:
;TAUROS
;Evolutions
db 0
@@ -931,28 +931,28 @@ Mon128_EvosMoves: ; 3b66e (e:766e)
db 51,TAKE_DOWN
db 0
-Mon157_EvosMoves: ; 3b67a (e:767a)
+Mon157_EvosMoves:
;MISSINGNO_3D
;Evolutions
db 0
;Learnset
db 0
-Mon158_EvosMoves: ; 3b67c (e:767c)
+Mon158_EvosMoves:
;MISSINGNO_3E
;Evolutions
db 0
;Learnset
db 0
-Mon159_EvosMoves: ; 3b67e (e:767e)
+Mon159_EvosMoves:
;MISSINGNO_3F
;Evolutions
db 0
;Learnset
db 0
-Mon083_EvosMoves: ; 3b680 (e:7680)
+Mon083_EvosMoves:
;FARFETCH_D
;Evolutions
db 0
@@ -964,7 +964,7 @@ Mon083_EvosMoves: ; 3b680 (e:7680)
db 39,SLASH
db 0
-Mon048_EvosMoves: ; 3b68c (e:768c)
+Mon048_EvosMoves:
;VENONAT
;Evolutions
db EV_LEVEL,31,VENOMOTH
@@ -980,7 +980,7 @@ Mon048_EvosMoves: ; 3b68c (e:768c)
db 43,PSYCHIC_M
db 0
-Mon149_EvosMoves: ; 3b6a1 (e:76a1)
+Mon149_EvosMoves:
;DRAGONITE
;Evolutions
db 0
@@ -992,28 +992,28 @@ Mon149_EvosMoves: ; 3b6a1 (e:76a1)
db 60,HYPER_BEAM
db 0
-Mon160_EvosMoves: ; 3b6ad (e:76ad)
+Mon160_EvosMoves:
;MISSINGNO_43
;Evolutions
db 0
;Learnset
db 0
-Mon161_EvosMoves: ; 3b6af (e:76af)
+Mon161_EvosMoves:
;MISSINGNO_44
;Evolutions
db 0
;Learnset
db 0
-Mon162_EvosMoves: ; 3b6b1 (e:76b1)
+Mon162_EvosMoves:
;MISSINGNO_45
;Evolutions
db 0
;Learnset
db 0
-Mon084_EvosMoves: ; 3b6b3 (e:76b3)
+Mon084_EvosMoves:
;DODUO
;Evolutions
db EV_LEVEL,31,DODRIO
@@ -1027,7 +1027,7 @@ Mon084_EvosMoves: ; 3b6b3 (e:76b3)
db 44,AGILITY
db 0
-Mon060_EvosMoves: ; 3b6c4 (e:76c4)
+Mon060_EvosMoves:
;POLIWAG
;Evolutions
db EV_LEVEL,25,POLIWHIRL
@@ -1041,7 +1041,7 @@ Mon060_EvosMoves: ; 3b6c4 (e:76c4)
db 45,HYDRO_PUMP
db 0
-Mon124_EvosMoves: ; 3b6d5 (e:76d5)
+Mon124_EvosMoves:
;JYNX
;Evolutions
db 0
@@ -1054,7 +1054,7 @@ Mon124_EvosMoves: ; 3b6d5 (e:76d5)
db 58,BLIZZARD
db 0
-Mon146_EvosMoves: ; 3b6e3 (e:76e3)
+Mon146_EvosMoves:
;MOLTRES
;Evolutions
db 0
@@ -1064,7 +1064,7 @@ Mon146_EvosMoves: ; 3b6e3 (e:76e3)
db 60,SKY_ATTACK
db 0
-Mon144_EvosMoves: ; 3b6eb (e:76eb)
+Mon144_EvosMoves:
;ARTICUNO
;Evolutions
db 0
@@ -1074,7 +1074,7 @@ Mon144_EvosMoves: ; 3b6eb (e:76eb)
db 60,MIST
db 0
-Mon145_EvosMoves: ; 3b6f3 (e:76f3)
+Mon145_EvosMoves:
;ZAPDOS
;Evolutions
db 0
@@ -1084,14 +1084,14 @@ Mon145_EvosMoves: ; 3b6f3 (e:76f3)
db 60,LIGHT_SCREEN
db 0
-Mon132_EvosMoves: ; 3b6fb (e:76fb)
+Mon132_EvosMoves:
;DITTO
;Evolutions
db 0
;Learnset
db 0
-Mon052_EvosMoves: ; 3b6fd (e:76fd)
+Mon052_EvosMoves:
;MEOWTH
;Evolutions
db EV_LEVEL,28,PERSIAN
@@ -1104,7 +1104,7 @@ Mon052_EvosMoves: ; 3b6fd (e:76fd)
db 44,SLASH
db 0
-Mon098_EvosMoves: ; 3b70c (e:770c)
+Mon098_EvosMoves:
;KRABBY
;Evolutions
db EV_LEVEL,28,KINGLER
@@ -1117,28 +1117,28 @@ Mon098_EvosMoves: ; 3b70c (e:770c)
db 40,HARDEN
db 0
-Mon163_EvosMoves: ; 3b71b (e:771b)
+Mon163_EvosMoves:
;MISSINGNO_4F
;Evolutions
db 0
;Learnset
db 0
-Mon164_EvosMoves: ; 3b71d (e:771d)
+Mon164_EvosMoves:
;MISSINGNO_50
;Evolutions
db 0
;Learnset
db 0
-Mon165_EvosMoves: ; 3b71f (e:771f)
+Mon165_EvosMoves:
;MISSINGNO_51
;Evolutions
db 0
;Learnset
db 0
-Mon037_EvosMoves: ; 3b721 (e:7721)
+Mon037_EvosMoves:
;VULPIX
;Evolutions
db EV_ITEM,FIRE_STONE,1,NINETALES
@@ -1151,14 +1151,14 @@ Mon037_EvosMoves: ; 3b721 (e:7721)
db 42,FIRE_SPIN
db 0
-Mon038_EvosMoves: ; 3b731 (e:7731)
+Mon038_EvosMoves:
;NINETALES
;Evolutions
db 0
;Learnset
db 0
-Mon025_EvosMoves: ; 3b733 (e:7733)
+Mon025_EvosMoves:
;PIKACHU
;Evolutions
db EV_ITEM,THUNDER_STONE,1,RAICHU
@@ -1175,28 +1175,28 @@ Mon025_EvosMoves: ; 3b733 (e:7733)
db 50,LIGHT_SCREEN
db 0
-Mon026_EvosMoves: ; 3b74b (e:774b)
+Mon026_EvosMoves:
;RAICHU
;Evolutions
db 0
;Learnset
db 0
-Mon166_EvosMoves: ; 3b74d (e:774d)
+Mon166_EvosMoves:
;MISSINGNO_56
;Evolutions
db 0
;Learnset
db 0
-Mon167_EvosMoves: ; 3b74f (e:774f)
+Mon167_EvosMoves:
;MISSINGNO_57
;Evolutions
db 0
;Learnset
db 0
-Mon147_EvosMoves: ; 3b751 (e:7751)
+Mon147_EvosMoves:
;DRATINI
;Evolutions
db EV_LEVEL,30,DRAGONAIR
@@ -1209,7 +1209,7 @@ Mon147_EvosMoves: ; 3b751 (e:7751)
db 50,HYPER_BEAM
db 0
-Mon148_EvosMoves: ; 3b760 (e:7760)
+Mon148_EvosMoves:
;DRAGONAIR
;Evolutions
db EV_LEVEL,55,DRAGONITE
@@ -1222,7 +1222,7 @@ Mon148_EvosMoves: ; 3b760 (e:7760)
db 55,HYPER_BEAM
db 0
-Mon140_EvosMoves: ; 3b76f (e:776f)
+Mon140_EvosMoves:
;KABUTO
;Evolutions
db EV_LEVEL,40,KABUTOPS
@@ -1234,7 +1234,7 @@ Mon140_EvosMoves: ; 3b76f (e:776f)
db 49,HYDRO_PUMP
db 0
-Mon141_EvosMoves: ; 3b77c (e:777c)
+Mon141_EvosMoves:
;KABUTOPS
;Evolutions
db 0
@@ -1245,7 +1245,7 @@ Mon141_EvosMoves: ; 3b77c (e:777c)
db 53,HYDRO_PUMP
db 0
-Mon116_EvosMoves: ; 3b786 (e:7786)
+Mon116_EvosMoves:
;HORSEA
;Evolutions
db EV_LEVEL,32,SEADRA
@@ -1258,7 +1258,7 @@ Mon116_EvosMoves: ; 3b786 (e:7786)
db 45,HYDRO_PUMP
db 0
-Mon117_EvosMoves: ; 3b795 (e:7795)
+Mon117_EvosMoves:
;SEADRA
;Evolutions
db 0
@@ -1270,21 +1270,21 @@ Mon117_EvosMoves: ; 3b795 (e:7795)
db 52,HYDRO_PUMP
db 0
-Mon168_EvosMoves: ; 3b7a1 (e:77a1)
+Mon168_EvosMoves:
;MISSINGNO_5E
;Evolutions
db 0
;Learnset
db 0
-Mon169_EvosMoves: ; 3b7a3 (e:77a3)
+Mon169_EvosMoves:
;MISSINGNO_5F
;Evolutions
db 0
;Learnset
db 0
-Mon027_EvosMoves: ; 3b7a5 (e:77a5)
+Mon027_EvosMoves:
;SANDSHREW
;Evolutions
db EV_LEVEL,22,SANDSLASH
@@ -1297,7 +1297,7 @@ Mon027_EvosMoves: ; 3b7a5 (e:77a5)
db 38,FURY_SWIPES
db 0
-Mon028_EvosMoves: ; 3b7b4 (e:77b4)
+Mon028_EvosMoves:
;SANDSLASH
;Evolutions
db 0
@@ -1309,7 +1309,7 @@ Mon028_EvosMoves: ; 3b7b4 (e:77b4)
db 47,FURY_SWIPES
db 0
-Mon138_EvosMoves: ; 3b7c0 (e:77c0)
+Mon138_EvosMoves:
;OMANYTE
;Evolutions
db EV_LEVEL,40,OMASTAR
@@ -1321,7 +1321,7 @@ Mon138_EvosMoves: ; 3b7c0 (e:77c0)
db 53,HYDRO_PUMP
db 0
-Mon139_EvosMoves: ; 3b7cd (e:77cd)
+Mon139_EvosMoves:
;OMASTAR
;Evolutions
db 0
@@ -1332,7 +1332,7 @@ Mon139_EvosMoves: ; 3b7cd (e:77cd)
db 49,HYDRO_PUMP
db 0
-Mon039_EvosMoves: ; 3b7d7 (e:77d7)
+Mon039_EvosMoves:
;JIGGLYPUFF
;Evolutions
db EV_ITEM,MOON_STONE,1,WIGGLYTUFF
@@ -1347,14 +1347,14 @@ Mon039_EvosMoves: ; 3b7d7 (e:77d7)
db 39,DOUBLE_EDGE
db 0
-Mon040_EvosMoves: ; 3b7eb (e:77eb)
+Mon040_EvosMoves:
;WIGGLYTUFF
;Evolutions
db 0
;Learnset
db 0
-Mon133_EvosMoves: ; 3b7ed (e:77ed)
+Mon133_EvosMoves:
;EEVEE
;Evolutions
db EV_ITEM,FIRE_STONE,1,FLAREON
@@ -1370,7 +1370,7 @@ Mon133_EvosMoves: ; 3b7ed (e:77ed)
db 42,TAKE_DOWN
db 0
-Mon136_EvosMoves: ; 3b807 (e:7807)
+Mon136_EvosMoves:
;FLAREON
;Evolutions
db 0
@@ -1385,7 +1385,7 @@ Mon136_EvosMoves: ; 3b807 (e:7807)
db 52,FLAMETHROWER
db 0
-Mon135_EvosMoves: ; 3b819 (e:7819)
+Mon135_EvosMoves:
;JOLTEON
;Evolutions
db 0
@@ -1400,7 +1400,7 @@ Mon135_EvosMoves: ; 3b819 (e:7819)
db 52,THUNDER
db 0
-Mon134_EvosMoves: ; 3b82b (e:782b)
+Mon134_EvosMoves:
;VAPOREON
;Evolutions
db 0
@@ -1416,7 +1416,7 @@ Mon134_EvosMoves: ; 3b82b (e:782b)
db 52,HYDRO_PUMP
db 0
-Mon066_EvosMoves: ; 3b83f (e:783f)
+Mon066_EvosMoves:
;MACHOP
;Evolutions
db EV_LEVEL,28,MACHOKE
@@ -1429,7 +1429,7 @@ Mon066_EvosMoves: ; 3b83f (e:783f)
db 46,SUBMISSION
db 0
-Mon041_EvosMoves: ; 3b84e (e:784e)
+Mon041_EvosMoves:
;ZUBAT
;Evolutions
db EV_LEVEL,22,GOLBAT
@@ -1442,7 +1442,7 @@ Mon041_EvosMoves: ; 3b84e (e:784e)
db 36,HAZE
db 0
-Mon023_EvosMoves: ; 3b85d (e:785d)
+Mon023_EvosMoves:
;EKANS
;Evolutions
db EV_LEVEL,22,ARBOK
@@ -1455,7 +1455,7 @@ Mon023_EvosMoves: ; 3b85d (e:785d)
db 38,ACID
db 0
-Mon046_EvosMoves: ; 3b86c (e:786c)
+Mon046_EvosMoves:
;PARAS
;Evolutions
db EV_LEVEL,24,PARASECT
@@ -1468,7 +1468,7 @@ Mon046_EvosMoves: ; 3b86c (e:786c)
db 41,GROWTH
db 0
-Mon061_EvosMoves: ; 3b87b (e:787b)
+Mon061_EvosMoves:
;POLIWHIRL
;Evolutions
db EV_ITEM,WATER_STONE,1,POLIWRATH
@@ -1482,7 +1482,7 @@ Mon061_EvosMoves: ; 3b87b (e:787b)
db 49,HYDRO_PUMP
db 0
-Mon062_EvosMoves: ; 3b88d (e:788d)
+Mon062_EvosMoves:
;POLIWRATH
;Evolutions
db 0
@@ -1491,7 +1491,7 @@ Mon062_EvosMoves: ; 3b88d (e:788d)
db 19,WATER_GUN
db 0
-Mon013_EvosMoves: ; 3b893 (e:7893)
+Mon013_EvosMoves:
;WEEDLE
;Evolutions
db EV_LEVEL,7,KAKUNA
@@ -1499,7 +1499,7 @@ Mon013_EvosMoves: ; 3b893 (e:7893)
;Learnset
db 0
-Mon014_EvosMoves: ; 3b898 (e:7898)
+Mon014_EvosMoves:
;KAKUNA
;Evolutions
db EV_LEVEL,10,BEEDRILL
@@ -1507,7 +1507,7 @@ Mon014_EvosMoves: ; 3b898 (e:7898)
;Learnset
db 0
-Mon015_EvosMoves: ; 3b89d (e:789d)
+Mon015_EvosMoves:
;BEEDRILL
;Evolutions
db 0
@@ -1520,14 +1520,14 @@ Mon015_EvosMoves: ; 3b89d (e:789d)
db 35,AGILITY
db 0
-Mon170_EvosMoves: ; 3b8ab (e:78ab)
+Mon170_EvosMoves:
;MISSINGNO_73
;Evolutions
db 0
;Learnset
db 0
-Mon085_EvosMoves: ; 3b8ad (e:78ad)
+Mon085_EvosMoves:
;DODRIO
;Evolutions
db 0
@@ -1540,7 +1540,7 @@ Mon085_EvosMoves: ; 3b8ad (e:78ad)
db 51,AGILITY
db 0
-Mon057_EvosMoves: ; 3b8bb (e:78bb)
+Mon057_EvosMoves:
;PRIMEAPE
;Evolutions
db 0
@@ -1555,7 +1555,7 @@ Mon057_EvosMoves: ; 3b8bb (e:78bb)
db 45,SCREECH
db 0
-Mon051_EvosMoves: ; 3b8cd (e:78cd)
+Mon051_EvosMoves:
;DUGTRIO
;Evolutions
db 0
@@ -1567,7 +1567,7 @@ Mon051_EvosMoves: ; 3b8cd (e:78cd)
db 47,EARTHQUAKE
db 0
-Mon049_EvosMoves: ; 3b8d9 (e:78d9)
+Mon049_EvosMoves:
;VENOMOTH
;Evolutions
db 0
@@ -1580,7 +1580,7 @@ Mon049_EvosMoves: ; 3b8d9 (e:78d9)
db 50,PSYCHIC_M
db 0
-Mon087_EvosMoves: ; 3b8e7 (e:78e7)
+Mon087_EvosMoves:
;DEWGONG
;Evolutions
db 0
@@ -1592,21 +1592,21 @@ Mon087_EvosMoves: ; 3b8e7 (e:78e7)
db 56,ICE_BEAM
db 0
-Mon171_EvosMoves: ; 3b8f3 (e:78f3)
+Mon171_EvosMoves:
;MISSINGNO_79
;Evolutions
db 0
;Learnset
db 0
-Mon172_EvosMoves: ; 3b8f5 (e:78f5)
+Mon172_EvosMoves:
;MISSINGNO_7A
;Evolutions
db 0
;Learnset
db 0
-Mon010_EvosMoves: ; 3b8f7 (e:78f7)
+Mon010_EvosMoves:
;CATERPIE
;Evolutions
db EV_LEVEL,7,METAPOD
@@ -1614,7 +1614,7 @@ Mon010_EvosMoves: ; 3b8f7 (e:78f7)
;Learnset
db 0
-Mon011_EvosMoves: ; 3b8fc (e:78fc)
+Mon011_EvosMoves:
;METAPOD
;Evolutions
db EV_LEVEL,10,BUTTERFREE
@@ -1623,7 +1623,7 @@ Mon011_EvosMoves: ; 3b8fc (e:78fc)
db 7,HARDEN
db 0
-Mon012_EvosMoves: ; 3b903 (e:7903)
+Mon012_EvosMoves:
;BUTTERFREE
;Evolutions
db 0
@@ -1638,7 +1638,7 @@ Mon012_EvosMoves: ; 3b903 (e:7903)
db 34,PSYBEAM
db 0
-Mon068_EvosMoves: ; 3b915 (e:7915)
+Mon068_EvosMoves:
;MACHAMP
;Evolutions
db 0
@@ -1650,14 +1650,14 @@ Mon068_EvosMoves: ; 3b915 (e:7915)
db 52,SUBMISSION
db 0
-Mon173_EvosMoves: ; 3b921 (e:7921)
+Mon173_EvosMoves:
;MISSINGNO_7F
;Evolutions
db 0
;Learnset
db 0
-Mon055_EvosMoves: ; 3b923 (e:7923)
+Mon055_EvosMoves:
;GOLDUCK
;Evolutions
db 0
@@ -1669,7 +1669,7 @@ Mon055_EvosMoves: ; 3b923 (e:7923)
db 59,HYDRO_PUMP
db 0
-Mon097_EvosMoves: ; 3b92f (e:792f)
+Mon097_EvosMoves:
;HYPNO
;Evolutions
db 0
@@ -1682,7 +1682,7 @@ Mon097_EvosMoves: ; 3b92f (e:792f)
db 43,MEDITATE
db 0
-Mon042_EvosMoves: ; 3b93d (e:793d)
+Mon042_EvosMoves:
;GOLBAT
;Evolutions
db 0
@@ -1694,7 +1694,7 @@ Mon042_EvosMoves: ; 3b93d (e:793d)
db 43,HAZE
db 0
-Mon150_EvosMoves: ; 3b949 (e:7949)
+Mon150_EvosMoves:
;MEWTWO
;Evolutions
db 0
@@ -1706,7 +1706,7 @@ Mon150_EvosMoves: ; 3b949 (e:7949)
db 81,AMNESIA
db 0
-Mon143_EvosMoves: ; 3b955 (e:7955)
+Mon143_EvosMoves:
;SNORLAX
;Evolutions
db 0
@@ -1717,7 +1717,7 @@ Mon143_EvosMoves: ; 3b955 (e:7955)
db 56,HYPER_BEAM
db 0
-Mon129_EvosMoves: ; 3b95f (e:795f)
+Mon129_EvosMoves:
;MAGIKARP
;Evolutions
db EV_LEVEL,20,GYARADOS
@@ -1726,21 +1726,21 @@ Mon129_EvosMoves: ; 3b95f (e:795f)
db 15,TACKLE
db 0
-Mon174_EvosMoves: ; 3b966 (e:7966)
+Mon174_EvosMoves:
;MISSINGNO_86
;Evolutions
db 0
;Learnset
db 0
-Mon175_EvosMoves: ; 3b968 (e:7968)
+Mon175_EvosMoves:
;MISSINGNO_87
;Evolutions
db 0
;Learnset
db 0
-Mon089_EvosMoves: ; 3b96a (e:796a)
+Mon089_EvosMoves:
;MUK
;Evolutions
db 0
@@ -1753,14 +1753,14 @@ Mon089_EvosMoves: ; 3b96a (e:796a)
db 60,ACID_ARMOR
db 0
-Mon176_EvosMoves: ; 3b978 (e:7978)
+Mon176_EvosMoves:
;MISSINGNO_8A
;Evolutions
db 0
;Learnset
db 0
-Mon099_EvosMoves: ; 3b97a (e:797a)
+Mon099_EvosMoves:
;KINGLER
;Evolutions
db 0
@@ -1772,7 +1772,7 @@ Mon099_EvosMoves: ; 3b97a (e:797a)
db 49,HARDEN
db 0
-Mon091_EvosMoves: ; 3b986 (e:7986)
+Mon091_EvosMoves:
;CLOYSTER
;Evolutions
db 0
@@ -1780,14 +1780,14 @@ Mon091_EvosMoves: ; 3b986 (e:7986)
db 50,SPIKE_CANNON
db 0
-Mon177_EvosMoves: ; 3b98a (e:798a)
+Mon177_EvosMoves:
;MISSINGNO_8C
;Evolutions
db 0
;Learnset
db 0
-Mon101_EvosMoves: ; 3b98c (e:798c)
+Mon101_EvosMoves:
;ELECTRODE
;Evolutions
db 0
@@ -1799,14 +1799,14 @@ Mon101_EvosMoves: ; 3b98c (e:798c)
db 50,EXPLOSION
db 0
-Mon036_EvosMoves: ; 3b998 (e:7998)
+Mon036_EvosMoves:
;CLEFABLE
;Evolutions
db 0
;Learnset
db 0
-Mon110_EvosMoves: ; 3b99a (e:799a)
+Mon110_EvosMoves:
;WEEZING
;Evolutions
db 0
@@ -1818,7 +1818,7 @@ Mon110_EvosMoves: ; 3b99a (e:799a)
db 53,EXPLOSION
db 0
-Mon053_EvosMoves: ; 3b9a6 (e:79a6)
+Mon053_EvosMoves:
;PERSIAN
;Evolutions
db 0
@@ -1830,7 +1830,7 @@ Mon053_EvosMoves: ; 3b9a6 (e:79a6)
db 51,SLASH
db 0
-Mon105_EvosMoves: ; 3b9b2 (e:79b2)
+Mon105_EvosMoves:
;MAROWAK
;Evolutions
db 0
@@ -1845,14 +1845,14 @@ Mon105_EvosMoves: ; 3b9b2 (e:79b2)
db 55,RAGE
db 0
-Mon178_EvosMoves: ; 3b9c4 (e:79c4)
+Mon178_EvosMoves:
;MISSINGNO_92
;Evolutions
db 0
;Learnset
db 0
-Mon093_EvosMoves: ; 3b9c6 (e:79c6)
+Mon093_EvosMoves:
;HAUNTER
;Evolutions
db EV_TRADE,1,GENGAR
@@ -1862,7 +1862,7 @@ Mon093_EvosMoves: ; 3b9c6 (e:79c6)
db 38,DREAM_EATER
db 0
-Mon063_EvosMoves: ; 3b9cf (e:79cf)
+Mon063_EvosMoves:
;ABRA
;Evolutions
db EV_LEVEL,16,KADABRA
@@ -1870,7 +1870,7 @@ Mon063_EvosMoves: ; 3b9cf (e:79cf)
;Learnset
db 0
-Mon065_EvosMoves: ; 3b9d4 (e:79d4)
+Mon065_EvosMoves:
;ALAKAZAM
;Evolutions
db 0
@@ -1883,7 +1883,7 @@ Mon065_EvosMoves: ; 3b9d4 (e:79d4)
db 42,REFLECT
db 0
-Mon017_EvosMoves: ; 3b9e2 (e:79e2)
+Mon017_EvosMoves:
;PIDGEOTTO
;Evolutions
db EV_LEVEL,36,PIDGEOT
@@ -1897,7 +1897,7 @@ Mon017_EvosMoves: ; 3b9e2 (e:79e2)
db 49,MIRROR_MOVE
db 0
-Mon018_EvosMoves: ; 3b9f3 (e:79f3)
+Mon018_EvosMoves:
;PIDGEOT
;Evolutions
db 0
@@ -1910,14 +1910,14 @@ Mon018_EvosMoves: ; 3b9f3 (e:79f3)
db 54,MIRROR_MOVE
db 0
-Mon121_EvosMoves: ; 3ba01 (e:7a01)
+Mon121_EvosMoves:
;STARMIE
;Evolutions
db 0
;Learnset
db 0
-Mon001_EvosMoves: ; 3ba03 (e:7a03)
+Mon001_EvosMoves:
;BULBASAUR
;Evolutions
db EV_LEVEL,16,IVYSAUR
@@ -1932,7 +1932,7 @@ Mon001_EvosMoves: ; 3ba03 (e:7a03)
db 48,SOLARBEAM
db 0
-Mon003_EvosMoves: ; 3ba16 (e:7a16)
+Mon003_EvosMoves:
;VENUSAUR
;Evolutions
db 0
@@ -1946,7 +1946,7 @@ Mon003_EvosMoves: ; 3ba16 (e:7a16)
db 65,SOLARBEAM
db 0
-Mon073_EvosMoves: ; 3ba26 (e:7a26)
+Mon073_EvosMoves:
;TENTACRUEL
;Evolutions
db 0
@@ -1961,14 +1961,14 @@ Mon073_EvosMoves: ; 3ba26 (e:7a26)
db 50,HYDRO_PUMP
db 0
-Mon179_EvosMoves: ; 3ba38 (e:7a38)
+Mon179_EvosMoves:
;MISSINGNO_9C
;Evolutions
db 0
;Learnset
db 0
-Mon118_EvosMoves: ; 3ba3a (e:7a3a)
+Mon118_EvosMoves:
;GOLDEEN
;Evolutions
db EV_LEVEL,33,SEAKING
@@ -1982,7 +1982,7 @@ Mon118_EvosMoves: ; 3ba3a (e:7a3a)
db 54,AGILITY
db 0
-Mon119_EvosMoves: ; 3ba4b (e:7a4b)
+Mon119_EvosMoves:
;SEAKING
;Evolutions
db 0
@@ -1995,35 +1995,35 @@ Mon119_EvosMoves: ; 3ba4b (e:7a4b)
db 54,AGILITY
db 0
-Mon180_EvosMoves: ; 3ba59 (e:7a59)
+Mon180_EvosMoves:
;MISSINGNO_9F
;Evolutions
db 0
;Learnset
db 0
-Mon181_EvosMoves: ; 3ba5b (e:7a5b)
+Mon181_EvosMoves:
;MISSINGNO_A0
;Evolutions
db 0
;Learnset
db 0
-Mon182_EvosMoves: ; 3ba5d (e:7a5d)
+Mon182_EvosMoves:
;MISSINGNO_A1
;Evolutions
db 0
;Learnset
db 0
-Mon183_EvosMoves: ; 3ba5f (e:7a5f)
+Mon183_EvosMoves:
;MISSINGNO_A2
;Evolutions
db 0
;Learnset
db 0
-Mon077_EvosMoves: ; 3ba61 (e:7a61)
+Mon077_EvosMoves:
;PONYTA
;Evolutions
db EV_LEVEL,40,RAPIDASH
@@ -2037,7 +2037,7 @@ Mon077_EvosMoves: ; 3ba61 (e:7a61)
db 48,AGILITY
db 0
-Mon078_EvosMoves: ; 3ba72 (e:7a72)
+Mon078_EvosMoves:
;RAPIDASH
;Evolutions
db 0
@@ -2050,7 +2050,7 @@ Mon078_EvosMoves: ; 3ba72 (e:7a72)
db 55,AGILITY
db 0
-Mon019_EvosMoves: ; 3ba80 (e:7a80)
+Mon019_EvosMoves:
;RATTATA
;Evolutions
db EV_LEVEL,20,RATICATE
@@ -2062,7 +2062,7 @@ Mon019_EvosMoves: ; 3ba80 (e:7a80)
db 34,SUPER_FANG
db 0
-Mon020_EvosMoves: ; 3ba8d (e:7a8d)
+Mon020_EvosMoves:
;RATICATE
;Evolutions
db 0
@@ -2073,7 +2073,7 @@ Mon020_EvosMoves: ; 3ba8d (e:7a8d)
db 41,SUPER_FANG
db 0
-Mon033_EvosMoves: ; 3ba97 (e:7a97)
+Mon033_EvosMoves:
;NIDORINO
;Evolutions
db EV_ITEM,MOON_STONE,1,NIDOKING
@@ -2087,7 +2087,7 @@ Mon033_EvosMoves: ; 3ba97 (e:7a97)
db 46,HORN_DRILL
db 0
-Mon030_EvosMoves: ; 3baa9 (e:7aa9)
+Mon030_EvosMoves:
;NIDORINA
;Evolutions
db EV_ITEM,MOON_STONE,1,NIDOQUEEN
@@ -2101,7 +2101,7 @@ Mon030_EvosMoves: ; 3baa9 (e:7aa9)
db 46,FURY_SWIPES
db 0
-Mon074_EvosMoves: ; 3babb (e:7abb)
+Mon074_EvosMoves:
;GEODUDE
;Evolutions
db EV_LEVEL,25,GRAVELER
@@ -2115,7 +2115,7 @@ Mon074_EvosMoves: ; 3babb (e:7abb)
db 36,EXPLOSION
db 0
-Mon137_EvosMoves: ; 3bacc (e:7acc)
+Mon137_EvosMoves:
;PORYGON
;Evolutions
db 0
@@ -2126,7 +2126,7 @@ Mon137_EvosMoves: ; 3bacc (e:7acc)
db 42,TRI_ATTACK
db 0
-Mon142_EvosMoves: ; 3bad6 (e:7ad6)
+Mon142_EvosMoves:
;AERODACTYL
;Evolutions
db 0
@@ -2137,14 +2137,14 @@ Mon142_EvosMoves: ; 3bad6 (e:7ad6)
db 54,HYPER_BEAM
db 0
-Mon184_EvosMoves: ; 3bae0 (e:7ae0)
+Mon184_EvosMoves:
;MISSINGNO_AC
;Evolutions
db 0
;Learnset
db 0
-Mon081_EvosMoves: ; 3bae2 (e:7ae2)
+Mon081_EvosMoves:
;MAGNEMITE
;Evolutions
db EV_LEVEL,30,MAGNETON
@@ -2158,21 +2158,21 @@ Mon081_EvosMoves: ; 3bae2 (e:7ae2)
db 47,SCREECH
db 0
-Mon185_EvosMoves: ; 3baf3 (e:7af3)
+Mon185_EvosMoves:
;MISSINGNO_AE
;Evolutions
db 0
;Learnset
db 0
-Mon186_EvosMoves: ; 3baf5 (e:7af5)
+Mon186_EvosMoves:
;MISSINGNO_AF
;Evolutions
db 0
;Learnset
db 0
-Mon004_EvosMoves: ; 3baf7 (e:7af7)
+Mon004_EvosMoves:
;CHARMANDER
;Evolutions
db EV_LEVEL,16,CHARMELEON
@@ -2186,7 +2186,7 @@ Mon004_EvosMoves: ; 3baf7 (e:7af7)
db 46,FIRE_SPIN
db 0
-Mon007_EvosMoves: ; 3bb08 (e:7b08)
+Mon007_EvosMoves:
;SQUIRTLE
;Evolutions
db EV_LEVEL,16,WARTORTLE
@@ -2200,7 +2200,7 @@ Mon007_EvosMoves: ; 3bb08 (e:7b08)
db 42,HYDRO_PUMP
db 0
-Mon005_EvosMoves: ; 3bb19 (e:7b19)
+Mon005_EvosMoves:
;CHARMELEON
;Evolutions
db EV_LEVEL,36,CHARIZARD
@@ -2214,7 +2214,7 @@ Mon005_EvosMoves: ; 3bb19 (e:7b19)
db 56,FIRE_SPIN
db 0
-Mon008_EvosMoves: ; 3bb2a (e:7b2a)
+Mon008_EvosMoves:
;WARTORTLE
;Evolutions
db EV_LEVEL,36,BLASTOISE
@@ -2228,7 +2228,7 @@ Mon008_EvosMoves: ; 3bb2a (e:7b2a)
db 47,HYDRO_PUMP
db 0
-Mon006_EvosMoves: ; 3bb3b (e:7b3b)
+Mon006_EvosMoves:
;CHARIZARD
;Evolutions
db 0
@@ -2241,35 +2241,35 @@ Mon006_EvosMoves: ; 3bb3b (e:7b3b)
db 55,FIRE_SPIN
db 0
-Mon187_EvosMoves: ; 3bb49 (e:7b49)
+Mon187_EvosMoves:
;MISSINGNO_B5
;Evolutions
db 0
;Learnset
db 0
-Mon188_EvosMoves: ; 3bb4b (e:7b4b)
+Mon188_EvosMoves:
;FOSSIL_KABUTOPS
;Evolutions
db 0
;Learnset
db 0
-Mon189_EvosMoves: ; 3bb4d (e:7b4d)
+Mon189_EvosMoves:
;FOSSIL_AERODACTYL
;Evolutions
db 0
;Learnset
db 0
-Mon190_EvosMoves: ; 3bb4f (e:7b4f)
+Mon190_EvosMoves:
;MON_GHOST
;Evolutions
db 0
;Learnset
db 0
-Mon043_EvosMoves: ; 3bb51 (e:7b51)
+Mon043_EvosMoves:
;ODDISH
;Evolutions
db EV_LEVEL,21,GLOOM
@@ -2283,7 +2283,7 @@ Mon043_EvosMoves: ; 3bb51 (e:7b51)
db 46,SOLARBEAM
db 0
-Mon044_EvosMoves: ; 3bb62 (e:7b62)
+Mon044_EvosMoves:
;GLOOM
;Evolutions
db EV_ITEM,LEAF_STONE,1,VILEPLUME
@@ -2297,7 +2297,7 @@ Mon044_EvosMoves: ; 3bb62 (e:7b62)
db 52,SOLARBEAM
db 0
-Mon045_EvosMoves: ; 3bb74 (e:7b74)
+Mon045_EvosMoves:
;VILEPLUME
;Evolutions
db 0
@@ -2307,7 +2307,7 @@ Mon045_EvosMoves: ; 3bb74 (e:7b74)
db 19,SLEEP_POWDER
db 0
-Mon069_EvosMoves: ; 3bb7c (e:7b7c)
+Mon069_EvosMoves:
;BELLSPROUT
;Evolutions
db EV_LEVEL,21,WEEPINBELL
@@ -2322,7 +2322,7 @@ Mon069_EvosMoves: ; 3bb7c (e:7b7c)
db 42,SLAM
db 0
-Mon070_EvosMoves: ; 3bb8f (e:7b8f)
+Mon070_EvosMoves:
;WEEPINBELL
;Evolutions
db EV_ITEM,LEAF_STONE,1,VICTREEBEL
@@ -2337,7 +2337,7 @@ Mon070_EvosMoves: ; 3bb8f (e:7b8f)
db 49,SLAM
db 0
-Mon071_EvosMoves: ; 3bba3 (e:7ba3)
+Mon071_EvosMoves:
;VICTREEBEL
;Evolutions
db 0
diff --git a/data/facing.asm b/data/facing.asm
index 7a3dfacd..3e965132 100644
--- a/data/facing.asm
+++ b/data/facing.asm
@@ -1,4 +1,4 @@
-SpriteFacingAndAnimationTable: ; 4000 (1:4000)
+SpriteFacingAndAnimationTable:
dw SpriteFacingDownAndStanding ; facing down, walk animation frame 0
dw SpriteFacingDownAndWalking ; facing down, walk animation frame 1
dw SpriteFacingDownAndStanding ; facing down, walk animation frame 2
@@ -38,7 +38,7 @@ SpriteFacingAndAnimationTable: ; 4000 (1:4000)
; special case
dw SpriteSpecialCase ; pikachu maybe?
-SpriteFacingDownAndStanding: ; 4042 (1:4042)
+SpriteFacingDownAndStanding:
db $04
; Sprite OAM Parameters
db $00,$00,$00,$00 ; top left
@@ -46,7 +46,7 @@ SpriteFacingDownAndStanding: ; 4042 (1:4042)
db $08,$00,$02,OAMFLAG_CANBEMASKED ; bottom left
db $08,$08,$03,OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA ; bottom right
-SpriteFacingDownAndWalking: ; 4053 (1:4053)
+SpriteFacingDownAndWalking:
db $04
; Sprite OAM Parameters
db $00,$00,$80,$00 ; top left
@@ -54,7 +54,7 @@ SpriteFacingDownAndWalking: ; 4053 (1:4053)
db $08,$00,$82,OAMFLAG_CANBEMASKED ; bottom left
db $08,$08,$83,OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA ; bottom right
-SpriteFacingDownAndWalking2: ; 4064 (1:4064)
+SpriteFacingDownAndWalking2:
db $04
; Sprite OAM Parameters
db $00,$08,$80,OAMFLAG_VFLIPPED ; top left
@@ -62,7 +62,7 @@ SpriteFacingDownAndWalking2: ; 4064 (1:4064)
db $08,$08,$82,OAMFLAG_VFLIPPED | OAMFLAG_CANBEMASKED ; bottom left
db $08,$00,$83,OAMFLAG_VFLIPPED | OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA ; bottom right
-SpriteFacingUpAndStanding: ; 4075 (1:4075)
+SpriteFacingUpAndStanding:
db $04
; Sprite OAM Parameters
db $00,$00,$04,$00 ; top left
@@ -70,7 +70,7 @@ SpriteFacingUpAndStanding: ; 4075 (1:4075)
db $08,$00,$06,OAMFLAG_CANBEMASKED ; bottom left
db $08,$08,$07,OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA ; bottom right
-SpriteFacingUpAndWalking: ; 4086 (1:4086)
+SpriteFacingUpAndWalking:
db $04
; Sprite OAM Parameters
db $00,$00,$84,$00 ; top left
@@ -78,7 +78,7 @@ SpriteFacingUpAndWalking: ; 4086 (1:4086)
db $08,$00,$86,OAMFLAG_CANBEMASKED ; bottom left
db $08,$08,$87,OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA ; bottom right
-SpriteFacingUpAndWalking2: ; 4097 (1:4097)
+SpriteFacingUpAndWalking2:
db $04
; Sprite OAM Parameters
db $00,$08,$84,OAMFLAG_VFLIPPED ; top left
@@ -86,7 +86,7 @@ SpriteFacingUpAndWalking2: ; 4097 (1:4097)
db $08,$08,$86,OAMFLAG_VFLIPPED | OAMFLAG_CANBEMASKED ; bottom left
db $08,$00,$87,OAMFLAG_VFLIPPED | OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA ; bottom right
-SpriteFacingLeftAndStanding: ; 40a8 (1:40a8)
+SpriteFacingLeftAndStanding:
db $04
; Sprite OAM Parameters
db $00,$00,$08,$00 ; top left
@@ -94,7 +94,7 @@ SpriteFacingLeftAndStanding: ; 40a8 (1:40a8)
db $08,$00,$0a,OAMFLAG_CANBEMASKED ; bottom left
db $08,$08,$0b,OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA ; bottom right
-SpriteFacingLeftAndWalking: ; 40b9 (1:40b9)
+SpriteFacingLeftAndWalking:
db $04
; Sprite OAM Parameters
db $00,$00,$88,$00 ; top left
@@ -102,7 +102,7 @@ SpriteFacingLeftAndWalking: ; 40b9 (1:40b9)
db $08,$00,$8a,OAMFLAG_CANBEMASKED ; bottom left
db $08,$08,$8b,OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA ; bottom right
-SpriteFacingRightAndStanding: ; 40ca (1:40ca)
+SpriteFacingRightAndStanding:
db $04
; Sprite OAM Parameters
db $00,$08,$08,OAMFLAG_VFLIPPED ; top left
@@ -110,7 +110,7 @@ SpriteFacingRightAndStanding: ; 40ca (1:40ca)
db $08,$08,$0a,OAMFLAG_VFLIPPED | OAMFLAG_CANBEMASKED ; bottom left
db $08,$00,$0b,OAMFLAG_VFLIPPED | OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA ; bottom right
-SpriteFacingRightAndWalking: ; 40db (1:40db)
+SpriteFacingRightAndWalking:
db $04
; Sprite OAM Parameters
db $00,$08,$88,OAMFLAG_VFLIPPED ; top left
@@ -130,4 +130,4 @@ SpriteSpecialCase ; 40ec (1:40ec)
db $0c,-$4,$00,OAM_VFLIP | OAMFLAG_CANBEMASKED
db $0c,$04,$01,OAMFLAG_CANBEMASKED
db $0c,$0c,$00,OAM_VFLIP | OAM_HFLIP | OAMFLAG_CANBEMASKED | OAMFLAG_ENDOFDATA
- \ No newline at end of file
+
diff --git a/data/force_bike_surf.asm b/data/force_bike_surf.asm
index 71c2c0cc..926db476 100755
--- a/data/force_bike_surf.asm
+++ b/data/force_bike_surf.asm
@@ -1,4 +1,4 @@
-ForcedBikeOrSurfMaps: ; c12f (3:412f)
+ForcedBikeOrSurfMaps:
; map id, y, x
db ROUTE_16,$0A,$11
db ROUTE_16,$0B,$11
diff --git a/data/good_rod.asm b/data/good_rod.asm
index f1785737..6c23f402 100755
--- a/data/good_rod.asm
+++ b/data/good_rod.asm
@@ -1,3 +1,3 @@
-GoodRodMons: ; e27f (3:627f)
+GoodRodMons:
db 10,GOLDEEN
db 10,POLIWAG
diff --git a/data/hidden_coins.asm b/data/hidden_coins.asm
index c0dc63b1..b7358572 100755
--- a/data/hidden_coins.asm
+++ b/data/hidden_coins.asm
@@ -1,4 +1,4 @@
-HiddenCoinCoords: ; 7608e (1d:608e)
+HiddenCoinCoords:
db GAME_CORNER,$08,$00
db GAME_CORNER,$10,$01
db GAME_CORNER,$0b,$03
diff --git a/data/hidden_item_coords.asm b/data/hidden_item_coords.asm
index 051fdfe5..e94ebf80 100755
--- a/data/hidden_item_coords.asm
+++ b/data/hidden_item_coords.asm
@@ -1,4 +1,4 @@
-HiddenItemCoords: ; 75faa (1d:5faa)
+HiddenItemCoords:
; map ID, then coords
db SILPH_CO_5F, $03, $0c
db SILPH_CO_9F, $0f, $02
diff --git a/data/hidden_objects.asm b/data/hidden_objects.asm
index 6738d597..7ba90bd3 100755
--- a/data/hidden_objects.asm
+++ b/data/hidden_objects.asm
@@ -1,4 +1,4 @@
-HiddenObjectMaps: ; f268d (3c:668d)
+HiddenObjectMaps:
dbw SILPH_CO_11F, SilphCo11FHiddenObjects
dbw SILPH_CO_5F, SilphCo5FHiddenObjects
dbw SILPH_CO_9F, SilphCo9FHiddenObjects
diff --git a/data/hide_show_data.asm b/data/hide_show_data.asm
index 5b522f8e..72822a40 100755
--- a/data/hide_show_data.asm
+++ b/data/hide_show_data.asm
@@ -4,7 +4,7 @@
; Table of 2-Byte pointers, one pointer per map,
; goes up to Map_F7, ends with $FFFF.
; points to table listing all missable object in the area
-MapHSPointers: ; c69b (3:469b)
+MapHSPointers:
dw MapHS00
dw MapHS01
dw MapHS02
@@ -270,24 +270,24 @@ MapHSPointers: ; c69b (3:469b)
Hide EQU $11 ; (HideObjectPredef - PredefPointers) / 3
Show EQU $15 ; (ShowObjectPredef - PredefPointers) / 3
-MapHSXX: ; c88f (3:488f)
+MapHSXX:
db $FF, $FF, $FF
-MapHS00: ; c892 (3:4892)
+MapHS00:
db PALLET_TOWN, $01, Hide
-MapHS01: ; c895 (3:4895)
+MapHS01:
db VIRIDIAN_CITY, $05, Show
db VIRIDIAN_CITY, $07, Hide
db VIRIDIAN_CITY, $08, Hide
-MapHS02: ; c89e (3:489e)
+MapHS02:
db PEWTER_CITY, $03, Show
db PEWTER_CITY, $05, Show
-MapHS03: ; c8a4 (3:48a4)
+MapHS03:
db CERULEAN_CITY, $01, Hide
db CERULEAN_CITY, $02, Show
db CERULEAN_CITY, $06, Hide
db CERULEAN_CITY, $0A, Show
db CERULEAN_CITY, $0B, Show
-MapHS0A: ; c8b3 (3:48b3)
+MapHS0A:
db SAFFRON_CITY, $01, Show
db SAFFRON_CITY, $02, Show
db SAFFRON_CITY, $03, Show
@@ -303,86 +303,86 @@ MapHS0A: ; c8b3 (3:48b3)
db SAFFRON_CITY, $0D, Hide
db SAFFRON_CITY, $0E, Show
db SAFFRON_CITY, $0F, Hide
-MapHS0D: ; c8e0 (3:48e0)
+MapHS0D:
db ROUTE_2, $01, Show
db ROUTE_2, $02, Show
-MapHS0F: ; c8e6 (3:48e6)
+MapHS0F:
db ROUTE_4, $03, Show
-MapHS14: ; c8e9 (3:48e9)
+MapHS14:
db ROUTE_9, $0A, Show
-MapHS17: ; c8ec (3:48ec)
+MapHS17:
db ROUTE_12, $01, Show
db ROUTE_12, $09, Show
db ROUTE_12, $0A, Show
-MapHS1A: ; c8f5 (3:48f5)
+MapHS1A:
db ROUTE_15, $0B, Show
-MapHS1B: ; c8f8 (3:48f8)
+MapHS1B:
db ROUTE_16, $07, Show
-MapHS21: ; c8fb (3:48fb)
+MapHS21:
db ROUTE_22, $01, Hide
db ROUTE_22, $02, Hide
-MapHS23: ; c901 (3:4901)
+MapHS23:
db ROUTE_24, $01, Show
db ROUTE_24, $08, Show
-MapHS24: ; c907 (3:4907)
+MapHS24:
db ROUTE_25, $0A, Show
-MapHS27: ; c90a (3:490a)
+MapHS27:
db BLUES_HOUSE, $01, Show
db BLUES_HOUSE, $02, Hide
db BLUES_HOUSE, $03, Show
-MapHS28: ; c913 (3:4913)
+MapHS28:
db OAKS_LAB, $01, Show
db OAKS_LAB, $02, Show
db OAKS_LAB, $03, Hide
db OAKS_LAB, $04, Show
db OAKS_LAB, $05, Show
db OAKS_LAB, $06, Hide
-MapHS2D: ; c925 (3:4925)
+MapHS2D:
db VIRIDIAN_GYM, $01, Show
db VIRIDIAN_GYM, $0B, Show
-MapHS34: ; c92b (3:492b)
+MapHS34:
db MUSEUM_1F, $05, Show
MapHS3F: ; c92e (3:492e) ; bulbasaur adoption house
db CERULEAN_HOUSE_1, $02, Show
-MapHSE4: ; c931 (3:4931)
+MapHSE4:
db UNKNOWN_DUNGEON_1, $01, Show
db UNKNOWN_DUNGEON_1, $02, Show
db UNKNOWN_DUNGEON_1, $03, Show
db UNKNOWN_DUNGEON_1, $04, Show
-MapHS8F: ; c93d (3:493d)
+MapHS8F:
db POKEMONTOWER_2, $01, Show
-MapHS90: ; c940 (3:4940)
+MapHS90:
db POKEMONTOWER_3, $04, Show
-MapHS91: ; c943 (3:4943)
+MapHS91:
db POKEMONTOWER_4, $04, Show
db POKEMONTOWER_4, $05, Show
db POKEMONTOWER_4, $06, Show
-MapHS92: ; c94c (3:494c)
+MapHS92:
db POKEMONTOWER_5, $06, Show
-MapHS93: ; c94f (3:494f)
+MapHS93:
db POKEMONTOWER_6, $04, Show
db POKEMONTOWER_6, $05, Show
-MapHS94: ; c955 (3:4955)
+MapHS94:
db POKEMONTOWER_7, $01, Hide ; jessie & james?
db POKEMONTOWER_7, $02, Hide
db POKEMONTOWER_7, $03, Show
-MapHS95: ; c95e (3:495e)
+MapHS95:
db LAVENDER_HOUSE_1, $05, Hide
-MapHS84: ; c961 (3:4961)
+MapHS84:
db CELADON_MANSION_5, $02, Show
-MapHS87: ; c964 (3:4964)
+MapHS87:
db GAME_CORNER, $0B, Show
-MapHS9B: ; c967 (3:4967)
+MapHS9B:
db FUCHSIA_HOUSE_2, $02, Show
-MapHSA5: ; c96a (3:496a)
+MapHSA5:
db MANSION_1, $02, Show
db MANSION_1, $03, Show
-MapHSB1: ; c970 (3:4970)
+MapHSB1:
db FIGHTING_DOJO, $06, Show
db FIGHTING_DOJO, $07, Show
-MapHSB5: ; c976 (3:4976)
+MapHSB5:
db SILPH_CO_1F, $01, Hide
-MapHS53: ; c979 (3:4979)
+MapHS53:
db POWER_PLANT, $01, Show
db POWER_PLANT, $02, Show
db POWER_PLANT, $03, Show
@@ -397,62 +397,62 @@ MapHS53: ; c979 (3:4979)
db POWER_PLANT, $0C, Show
db POWER_PLANT, $0D, Show
db POWER_PLANT, $0E, Show
-MapHSC2: ; c9a3 (3:49a3)
+MapHSC2:
db VICTORY_ROAD_2, $06, Show
db VICTORY_ROAD_2, $07, Show
db VICTORY_ROAD_2, $08, Show
db VICTORY_ROAD_2, $09, Show
db VICTORY_ROAD_2, $0A, Show
db VICTORY_ROAD_2, $0D, Show
-MapHS58: ; c9b5 (3:49b5)
+MapHS58:
db BILLS_HOUSE, $01, Show
db BILLS_HOUSE, $02, Hide
db BILLS_HOUSE, $03, Hide
-MapHS33: ; c9be (3:49be)
+MapHS33:
db VIRIDIAN_FOREST, $07, Show
db VIRIDIAN_FOREST, $08, Show
db VIRIDIAN_FOREST, $09, Show
-MapHS3B: ; c9c7 (3:49c7)
+MapHS3B:
db MT_MOON_1, $08, Show
db MT_MOON_1, $09, Show
db MT_MOON_1, $0A, Show
db MT_MOON_1, $0B, Show
db MT_MOON_1, $0C, Show
db MT_MOON_1, $0D, Show
-MapHS3D: ; c9d9 (3:49d9)
+MapHS3D:
db MT_MOON_3, $02, Hide
db MT_MOON_3, $06, Hide
db MT_MOON_3, $07, Show
db MT_MOON_3, $08, Show
db MT_MOON_3, $09, Show
db MT_MOON_3, $0A, Show
-MapHS60: ; c9eb (3:49eb)
+MapHS60:
db SS_ANNE_2, $02, Hide
-MapHS66: ; c9ee (3:49ee)
+MapHS66:
db SS_ANNE_8, $0A, Show
-MapHS67: ; c9f1 (3:49f1)
+MapHS67:
db SS_ANNE_9, $06, Show
db SS_ANNE_9, $09, Show
-MapHS68: ; c9f7 (3:49f7)
+MapHS68:
db SS_ANNE_10, $09, Show
db SS_ANNE_10, $0A, Show
db SS_ANNE_10, $0B, Show
-MapHSC6: ; ca00 (3:4a00)
+MapHSC6:
db VICTORY_ROAD_3, $05, Show
db VICTORY_ROAD_3, $06, Show
db VICTORY_ROAD_3, $0A, Show
-MapHSC7: ; ca09 (3:4a09)
+MapHSC7:
db ROCKET_HIDEOUT_1, $06, Show
db ROCKET_HIDEOUT_1, $07, Show
-MapHSC8: ; ca0f (3:4a0f)
+MapHSC8:
db ROCKET_HIDEOUT_2, $02, Show
db ROCKET_HIDEOUT_2, $03, Show
db ROCKET_HIDEOUT_2, $04, Show
db ROCKET_HIDEOUT_2, $05, Show
-MapHSC9: ; ca1b (3:4a1b)
+MapHSC9:
db ROCKET_HIDEOUT_3, $03, Show
db ROCKET_HIDEOUT_3, $04, Show
-MapHSCA: ; ca21 (3:4a21)
+MapHSCA:
db ROCKET_HIDEOUT_4, $01, Show
db ROCKET_HIDEOUT_4, $02, Hide
db ROCKET_HIDEOUT_4, $03, Hide
@@ -461,24 +461,24 @@ MapHSCA: ; ca21 (3:4a21)
db ROCKET_HIDEOUT_4, $07, Show
db ROCKET_HIDEOUT_4, $08, Hide
db ROCKET_HIDEOUT_4, $09, Hide
-MapHSCF: ; ca39 (3:4a39)
+MapHSCF:
db SILPH_CO_2F, $01, Show
db SILPH_CO_2F, $02, Show
db SILPH_CO_2F, $03, Show
db SILPH_CO_2F, $04, Show
db SILPH_CO_2F, $05, Show
-MapHSD0: ; ca48 (3:4a48)
+MapHSD0:
db SILPH_CO_3F, $02, Show
db SILPH_CO_3F, $03, Show
db SILPH_CO_3F, $04, Show
-MapHSD1: ; ca51 (3:4a51)
+MapHSD1:
db SILPH_CO_4F, $02, Show
db SILPH_CO_4F, $03, Show
db SILPH_CO_4F, $04, Show
db SILPH_CO_4F, $05, Show
db SILPH_CO_4F, $06, Show
db SILPH_CO_4F, $07, Show
-MapHSD2: ; ca63 (3:4a63)
+MapHSD2:
db SILPH_CO_5F, $02, Show
db SILPH_CO_5F, $03, Show
db SILPH_CO_5F, $04, Show
@@ -486,13 +486,13 @@ MapHSD2: ; ca63 (3:4a63)
db SILPH_CO_5F, $06, Show
db SILPH_CO_5F, $07, Show
db SILPH_CO_5F, $08, Show
-MapHSD3: ; ca78 (3:4a78)
+MapHSD3:
db SILPH_CO_6F, $06, Show
db SILPH_CO_6F, $07, Show
db SILPH_CO_6F, $08, Show
db SILPH_CO_6F, $09, Show
db SILPH_CO_6F, $0A, Show
-MapHSD4: ; ca87 (3:4a87)
+MapHSD4:
db SILPH_CO_7F, $05, Show
db SILPH_CO_7F, $06, Show
db SILPH_CO_7F, $07, Show
@@ -501,93 +501,93 @@ MapHSD4: ; ca87 (3:4a87)
db SILPH_CO_7F, $0A, Show
db SILPH_CO_7F, $0B, Show
db SILPH_CO_7F, $0C, Show
-MapHSD5: ; ca9f (3:4a9f)
+MapHSD5:
db SILPH_CO_8F, $02, Show
db SILPH_CO_8F, $03, Show
db SILPH_CO_8F, $04, Show
-MapHSE9: ; caa8 (3:4aa8)
+MapHSE9:
db SILPH_CO_9F, $02, Show
db SILPH_CO_9F, $03, Show
db SILPH_CO_9F, $04, Show
-MapHSEA: ; cab1 (3:4ab1)
+MapHSEA:
db SILPH_CO_10F, $01, Show
db SILPH_CO_10F, $02, Show
db SILPH_CO_10F, $03, Show
db SILPH_CO_10F, $04, Show
db SILPH_CO_10F, $05, Show
db SILPH_CO_10F, $06, Show
-MapHSEB: ; cac3 (3:4ac3)
+MapHSEB:
db SILPH_CO_11F, $03, Show
db SILPH_CO_11F, $04, Show
db SILPH_CO_11F, $05, Show
db SILPH_CO_11F, $06, Show
-MapHSF4: ; cacf (3:4acf)
+MapHSF4:
db $F4, $02, Show
-MapHSD6: ; cad2 (3:4ad2)
+MapHSD6:
db MANSION_2, $02, Show
-MapHSD7: ; cad5 (3:4ad5)
+MapHSD7:
db MANSION_3, $03, Show
db MANSION_3, $04, Show
-MapHSD8: ; cadb (3:4adb)
+MapHSD8:
db MANSION_4, $03, Show
db MANSION_4, $04, Show
db MANSION_4, $05, Show
db MANSION_4, $06, Show
db MANSION_4, $08, Show
-MapHSD9: ; caea (3:4aea)
+MapHSD9:
db SAFARI_ZONE_EAST, $01, Show
db SAFARI_ZONE_EAST, $02, Show
db SAFARI_ZONE_EAST, $03, Show
db SAFARI_ZONE_EAST, $04, Show
-MapHSDA: ; caf6 (3:4af6)
+MapHSDA:
db SAFARI_ZONE_NORTH, $01, Show
db SAFARI_ZONE_NORTH, $02, Show
-MapHSDB: ; cafc (3:4afc)
+MapHSDB:
db SAFARI_ZONE_WEST, $01, Show
db SAFARI_ZONE_WEST, $02, Show
db SAFARI_ZONE_WEST, $03, Show
db SAFARI_ZONE_WEST, $04, Show
-MapHSDC: ; cb08 (3:4b08)
+MapHSDC:
db SAFARI_ZONE_CENTER, $01, Show
-MapHSE2: ; cb0b (3:4b0b)
+MapHSE2:
db UNKNOWN_DUNGEON_2, $01, Show
db UNKNOWN_DUNGEON_2, $02, Show
db UNKNOWN_DUNGEON_2, $03, Show
db UNKNOWN_DUNGEON_2, $04, Show
-MapHSE3: ; cb17 (3:4b17)
+MapHSE3:
db UNKNOWN_DUNGEON_3, $01, Show
db UNKNOWN_DUNGEON_3, $02, Show
db UNKNOWN_DUNGEON_3, $03, Show
db UNKNOWN_DUNGEON_3, $04, Show
db UNKNOWN_DUNGEON_3, $05, Show
-MapHS6C: ; cb26 (3:4b26)
+MapHS6C:
db VICTORY_ROAD_1, $03, Show
db VICTORY_ROAD_1, $04, Show
-MapHS78: ; cb2c (3:4b2c)
+MapHS78:
db CHAMPIONS_ROOM, $02, Hide
-MapHSC0: ; cb2f (3:4b2f)
+MapHSC0:
db SEAFOAM_ISLANDS_1, $01, Show
db SEAFOAM_ISLANDS_1, $02, Show
-MapHS9F: ; cb35 (3:4b35)
+MapHS9F:
db SEAFOAM_ISLANDS_2, $01, Hide
db SEAFOAM_ISLANDS_2, $02, Hide
-MapHSA0: ; cb3b (3:4b3b)
+MapHSA0:
db SEAFOAM_ISLANDS_3, $01, Hide
db SEAFOAM_ISLANDS_3, $02, Hide
-MapHSA1: ; cb41 (3:4b41)
+MapHSA1:
db SEAFOAM_ISLANDS_4, $02, Show
db SEAFOAM_ISLANDS_4, $03, Show
db SEAFOAM_ISLANDS_4, $05, Hide
db SEAFOAM_ISLANDS_4, $06, Hide
-MapHSA2: ; cb4d (3:4b4d)
+MapHSA2:
db SEAFOAM_ISLANDS_5, $01, Hide
db SEAFOAM_ISLANDS_5, $02, Hide
db SEAFOAM_ISLANDS_5, $03, Show
-MapHS27Copy: ; cb56 (3:4b56)
+MapHS27Copy:
; doesn't seem to be referenced
db BLUES_HOUSE, $01, Show
db BLUES_HOUSE, $02, Hide
db BLUES_HOUSE, $03, Show
- db $FF, $01, Show \ No newline at end of file
+ db $FF, $01, Show
diff --git a/data/item_prices.asm b/data/item_prices.asm
index cdcb5762..15a1bd34 100755
--- a/data/item_prices.asm
+++ b/data/item_prices.asm
@@ -1,4 +1,4 @@
-ItemPrices: ; 4494 (1:4494)
+ItemPrices:
money 0 ; MASTER_BALL
money 1200 ; ULTRA_BALL
money 600 ; GREAT_BALL
diff --git a/data/key_items.asm b/data/key_items.asm
index c7ee6413..afa586af 100755
--- a/data/key_items.asm
+++ b/data/key_items.asm
@@ -1,4 +1,4 @@
-KeyItemBitfield: ; e6dd (3:66dd)
+KeyItemBitfield:
db %11110000
db %00000001
db %11110000
diff --git a/data/mapHeaders/beach_house.asm b/data/mapHeaders/beach_house.asm
index 04652643..99d237f6 100644
--- a/data/mapHeaders/beach_house.asm
+++ b/data/mapHeaders/beach_house.asm
@@ -1,4 +1,4 @@
-BeachHouse_h: ; f220e (3c:620e)
+BeachHouse_h:
db BEACH_HOUSE_TILESET
db BEACH_HOUSE_HEIGHT, BEACH_HOUSE_WIDTH ; dimensions (y, x)
diff --git a/data/mapHeaders/celadoncity.asm b/data/mapHeaders/celadoncity.asm
index 7e3a6c06..7f94cad5 100755
--- a/data/mapHeaders/celadoncity.asm
+++ b/data/mapHeaders/celadoncity.asm
@@ -1,4 +1,4 @@
-CeladonCity_h: ; 18000 (6:4000)
+CeladonCity_h:
db OVERWORLD ; tileset
db CELADON_CITY_HEIGHT, CELADON_CITY_WIDTH ; dimensions (y, x)
dw CeladonCityBlocks, CeladonCityTextPointers, CeladonCityScript ; blocks, texts, scripts
diff --git a/data/mapHeaders/gary.asm b/data/mapHeaders/gary.asm
index 5b1a1f98..792c4b32 100755
--- a/data/mapHeaders/gary.asm
+++ b/data/mapHeaders/gary.asm
@@ -1,4 +1,4 @@
-Gary_h: ; 75f11 (1d:5f11)
+Gary_h:
db GYM ;tileset
db CHAMPIONS_ROOM_HEIGHT, CHAMPIONS_ROOM_WIDTH ; Height, Width
dw GaryBlocks, GaryTextPointers, GaryScript
diff --git a/data/mapHeaders/pallettown.asm b/data/mapHeaders/pallettown.asm
index 5ad13aea..a957314c 100755
--- a/data/mapHeaders/pallettown.asm
+++ b/data/mapHeaders/pallettown.asm
@@ -1,4 +1,4 @@
-PalletTown_h: ; 182a1 (6:42a1)
+PalletTown_h:
db OVERWORLD ; tileset
db PALLET_TOWN_HEIGHT, PALLET_TOWN_WIDTH ; dimensions
dw PalletTownBlocks, PalletTownTextPointers, PalletTownScript
diff --git a/data/mapHeaders/redshouse1f.asm b/data/mapHeaders/redshouse1f.asm
index 02dcc082..82d83042 100755
--- a/data/mapHeaders/redshouse1f.asm
+++ b/data/mapHeaders/redshouse1f.asm
@@ -1,4 +1,4 @@
-RedsHouse1F_h: ; 4815c (12:415c)
+RedsHouse1F_h:
db REDS_HOUSE_1 ; tileset
db REDS_HOUSE_1F_HEIGHT, REDS_HOUSE_1F_WIDTH ; dimensions
dw RedsHouse1FBlocks, RedsHouse1FTextPointers, RedsHouse1FScript
diff --git a/data/mapHeaders/redshouse2f.asm b/data/mapHeaders/redshouse2f.asm
index 6b72d7db..c4b0969c 100755
--- a/data/mapHeaders/redshouse2f.asm
+++ b/data/mapHeaders/redshouse2f.asm
@@ -1,4 +1,4 @@
-RedsHouse2F_h: ; 5c0a4 (17:40a4)
+RedsHouse2F_h:
db REDS_HOUSE_2 ; tileset
db REDS_HOUSE_2F_HEIGHT, REDS_HOUSE_2F_WIDTH ; dimensions
dw RedsHouse2FBlocks, RedsHouse2FTextPointers, RedsHouse2FScript
diff --git a/data/mapHeaders/route15gateupstairs.asm b/data/mapHeaders/route15gateupstairs.asm
index 0687ab28..96e7e2ca 100755
--- a/data/mapHeaders/route15gateupstairs.asm
+++ b/data/mapHeaders/route15gateupstairs.asm
@@ -1,4 +1,4 @@
-Route15GateUpstairs_h: ; 4963e (12:563e)
+Route15GateUpstairs_h:
db GATE ; tileset
db ROUTE_15_GATE_2F_HEIGHT, ROUTE_15_GATE_2F_WIDTH ; dimensions (y, x)
dw Route15GateUpstairsBlocks, Route15GateUpstairsTextPointers, Route15GateUpstairsScript ; blocks, texts, scripts
diff --git a/data/mapHeaders/route2.asm b/data/mapHeaders/route2.asm
index 564f4a58..38e80842 100755
--- a/data/mapHeaders/route2.asm
+++ b/data/mapHeaders/route2.asm
@@ -1,4 +1,4 @@
-Route2_h: ; 54000 (15:4000)
+Route2_h:
db 00 ; Tileset
db ROUTE_2_HEIGHT,ROUTE_2_WIDTH ;Height,Width blocks (1 block = 4x4 tiles)
dw Route2Blocks, Route2TextPointers, Route2Script
diff --git a/data/mapHeaders/undergroundpathentranceroute7copy.asm b/data/mapHeaders/undergroundpathentranceroute7copy.asm
index e5e6cfa0..e12ee454 100755
--- a/data/mapHeaders/undergroundpathentranceroute7copy.asm
+++ b/data/mapHeaders/undergroundpathentranceroute7copy.asm
@@ -1,4 +1,4 @@
-UndergroundPathEntranceRoute7Copy_h: ; 5d75d (17:575d)
+UndergroundPathEntranceRoute7Copy_h:
db GATE ; tileset
db PATH_ENTRANCE_ROUTE_7_HEIGHT, PATH_ENTRANCE_ROUTE_7_WIDTH ; dimensions (y, x)
dw UndergroundPathEntranceRoute7CopyBlocks, UndergroundPathEntranceRoute7CopyTextPointers, UndergroundPathEntranceRoute7CopyScript ; blocks, texts, scripts
diff --git a/data/mapObjects/blueshouse.asm b/data/mapObjects/blueshouse.asm
index 3dfce6e1..08b11853 100755
--- a/data/mapObjects/blueshouse.asm
+++ b/data/mapObjects/blueshouse.asm
@@ -1,4 +1,4 @@
-BluesHouseObject: ; 19bce (6:5bce)
+BluesHouseObject:
db $0A ; border block
db $2 ; warps
diff --git a/data/mapObjects/redshouse1f.asm b/data/mapObjects/redshouse1f.asm
index 4f977b2c..4d32ea3d 100755
--- a/data/mapObjects/redshouse1f.asm
+++ b/data/mapObjects/redshouse1f.asm
@@ -1,4 +1,4 @@
-RedsHouse1FObject: ; 481e4 (12:41e4)
+RedsHouse1FObject:
db $0A ; border block
db $3 ; warps
diff --git a/data/mapObjects/route15gateupstairs.asm b/data/mapObjects/route15gateupstairs.asm
index 4362ade0..c4cdcea8 100755
--- a/data/mapObjects/route15gateupstairs.asm
+++ b/data/mapObjects/route15gateupstairs.asm
@@ -1,4 +1,4 @@
-Route15GateUpstairsObject: ; 4969d (12:569d)
+Route15GateUpstairsObject:
db $a ; border block
db $1 ; warps
diff --git a/data/mapObjects/undergroundpathentranceroute7copy.asm b/data/mapObjects/undergroundpathentranceroute7copy.asm
index 707a0e0e..04a5bf2f 100755
--- a/data/mapObjects/undergroundpathentranceroute7copy.asm
+++ b/data/mapObjects/undergroundpathentranceroute7copy.asm
@@ -1,4 +1,4 @@
-UndergroundPathEntranceRoute7CopyObject: ; 5d787 (17:5787)
+UndergroundPathEntranceRoute7CopyObject:
db $a ; border block
db $3 ; warps
diff --git a/data/map_header_banks.asm b/data/map_header_banks.asm
index eef36242..f26b305d 100644
--- a/data/map_header_banks.asm
+++ b/data/map_header_banks.asm
@@ -1,5 +1,5 @@
; see also MapHeaderPointers
-MapHeaderBanks:: ; fc3e4 (3f:43e4)
+MapHeaderBanks::
db BANK(PalletTown_h) ;PALLET_TOWN
db BANK(ViridianCity_h) ; VIRIDIAN_CITY
db BANK(PewterCity_h) ; PEWTER_CITY
diff --git a/data/map_header_pointers.asm b/data/map_header_pointers.asm
index 730038f3..325ff4bb 100644
--- a/data/map_header_pointers.asm
+++ b/data/map_header_pointers.asm
@@ -1,5 +1,5 @@
; see also MapHeaderBanks
-MapHeaderPointers:: ; fc1f2 (3f:41f2)
+MapHeaderPointers::
dw PalletTown_h
dw ViridianCity_h
dw PewterCity_h
diff --git a/data/map_songs.asm b/data/map_songs.asm
index b7f50c93..973f6945 100644
--- a/data/map_songs.asm
+++ b/data/map_songs.asm
@@ -1,4 +1,4 @@
-MapSongBanks: ; fc000 (3f:4000)
+MapSongBanks:
db MUSIC_PALLET_TOWN, BANK(Music_PalletTown) ;PALLET_TOWN
db MUSIC_CITIES1, BANK(Music_Cities1) ; VIRIDIAN_CITY
db MUSIC_CITIES1, BANK(Music_Cities1) ; PEWTER_CITY
diff --git a/data/mon_palettes.asm b/data/mon_palettes.asm
index 5980e22e..065db93e 100755
--- a/data/mon_palettes.asm
+++ b/data/mon_palettes.asm
@@ -1,4 +1,4 @@
-MonsterPalettes: ; 72921 (1c:6921)
+MonsterPalettes:
db PAL_MEWMON ; MISSINGNO
db PAL_GREENMON ; BULBASAUR
db PAL_GREENMON ; IVYSAUR
diff --git a/data/mon_party_sprites.asm b/data/mon_party_sprites.asm
index 2f45619c..81600f45 100755
--- a/data/mon_party_sprites.asm
+++ b/data/mon_party_sprites.asm
@@ -1,4 +1,4 @@
-MonPartyData: ; 719ba (1c:59ba)
+MonPartyData:
; MON = 0
; BALL_M = 1
; HELIX = 2
diff --git a/data/pikachu_emotions.asm b/data/pikachu_emotions.asm
index cb90a4e6..f72beaa4 100755
--- a/data/pikachu_emotions.asm
+++ b/data/pikachu_emotions.asm
@@ -1,14 +1,14 @@
-PikachuEmotion0: ; fd115 (3f:5115)
+PikachuEmotion0:
db $ff
-PikachuEmotion2: ; fd116 (3f:5116)
+PikachuEmotion2:
pikaemotion_dummy2
pikaemotion_emotebubble SMILE_BUBBLE
pikaemotion_pcm PikachuCry35
pikaemotion_pikapic PikaPicAnimScript2
db $ff
-PikachuEmotion10: ; fd11e (3f:511e)
+PikachuEmotion10:
pikaemotion_dummy2
pikaemotion_subcmd PIKAEMOTION_SUBCMD_LOADEXTRAPIKASPRITES
pikaemotion_emotebubble HEART_BUBBLE
@@ -16,7 +16,7 @@ PikachuEmotion10: ; fd11e (3f:511e)
pikaemotion_pikapic PikaPicAnimScript10
db $ff
-PikachuEmotion7: ; fd128 (3f:5128)
+PikachuEmotion7:
pikaemotion_dummy2
pikaemotion_subcmd PIKAEMOTION_SUBCMD_LOADEXTRAPIKASPRITES
pikaemotion_movement PikachuMovementData_fd224
@@ -25,7 +25,7 @@ PikachuEmotion7: ; fd128 (3f:5128)
pikaemotion_pikapic PikaPicAnimScript7
db $ff
-PikachuEmotion4: ; fd136 (3f:5136)
+PikachuEmotion4:
pikaemotion_dummy2
pikaemotion_subcmd PIKAEMOTION_SUBCMD_LOADEXTRAPIKASPRITES
pikaemotion_movement PikachuMovementData_fd230
@@ -33,25 +33,25 @@ PikachuEmotion4: ; fd136 (3f:5136)
pikaemotion_pikapic PikaPicAnimScript4
db $ff
-PikachuEmotion1: ; fd141 (3f:5141)
+PikachuEmotion1:
pikaemotion_dummy2
pikaemotion_pcm
pikaemotion_pikapic PikaPicAnimScript1
db $ff
-PikachuEmotion8: ; fd147 (3f:5147)
+PikachuEmotion8:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry39
pikaemotion_pikapic PikaPicAnimScript8
db $ff
-PikachuEmotion5: ; fd14d (3f:514d)
+PikachuEmotion5:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry31
pikaemotion_pikapic PikaPicAnimScript5
db $ff
-PikachuEmotion6: ; fd153 (3f:5153)
+PikachuEmotion6:
pikaemotion_dummy2
pikaemotion_subcmd PIKAEMOTION_SUBCMD_LOADEXTRAPIKASPRITES
pikaemotion_pcm
@@ -60,13 +60,13 @@ PikachuEmotion6: ; fd153 (3f:5153)
pikaemotion_pikapic PikaPicAnimScript6
db $ff
-PikachuEmotion3: ; fd160 (3f:5160)
+PikachuEmotion3:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry40
pikaemotion_pikapic PikaPicAnimScript3
db $ff
-PikachuEmotion9: ; fd166 (3f:5166)
+PikachuEmotion9:
pikaemotion_dummy2
pikaemotion_subcmd PIKAEMOTION_SUBCMD_LOADEXTRAPIKASPRITES
pikaemotion_pcm PikachuCry6
@@ -75,105 +75,105 @@ PikachuEmotion9: ; fd166 (3f:5166)
pikaemotion_pikapic PikaPicAnimScript9
db $ff
-PikachuEmotion11: ; fd173 (3f:5173)
+PikachuEmotion11:
pikaemotion_emotebubble ZZZ_BUBBLE
pikaemotion_pcm PikachuCry37
pikaemotion_pikapic PikaPicAnimScript11
db $ff
-PikachuEmotion12: ; fd17a (3f:517a)
+PikachuEmotion12:
pikaemotion_dummy2
pikaemotion_pcm
pikaemotion_pikapic PikaPicAnimScript12
db $ff
-PikachuEmotion13: ; fd180 (3f:5180)
+PikachuEmotion13:
pikaemotion_dummy2
pikaemotion_subcmd PIKAEMOTION_SUBCMD_LOADEXTRAPIKASPRITES
pikaemotion_movement PikachuMovementData_fd21e
pikaemotion_pikapic PikaPicAnimScript13
db $ff
-PikachuEmotion14: ; fd189 (3f:5189)
+PikachuEmotion14:
pikaemotion_dummy2
pikaemotion_emotebubble BOLT_BUBBLE
pikaemotion_pcm PikachuCry10
pikaemotion_pikapic PikaPicAnimScript14
db $ff
-PikachuEmotion15: ; fd191 (3f:5191)
+PikachuEmotion15:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry34
pikaemotion_pikapic PikaPicAnimScript15
db $ff
-PikachuEmotion16: ; fd197 (3f:5197)
+PikachuEmotion16:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry33
pikaemotion_pikapic PikaPicAnimScript16
db $ff
-PikachuEmotion17: ; fd19d (3f:519d)
+PikachuEmotion17:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry13
pikaemotion_pikapic PikaPicAnimScript17
db $ff
-PikachuEmotion18: ; fd1a3 (3f:51a3)
+PikachuEmotion18:
pikaemotion_dummy2
pikaemotion_pcm
pikaemotion_pikapic PikaPicAnimScript18
db $ff
-PikachuEmotion19: ; fd1a9 (3f:51a9)
+PikachuEmotion19:
pikaemotion_dummy2
pikaemotion_emotebubble HEART_BUBBLE
pikaemotion_pcm PikachuCry33
pikaemotion_pikapic PikaPicAnimScript19
db $ff
-PikachuEmotion20: ; fd1b1 (3f:51b1)
+PikachuEmotion20:
pikaemotion_dummy2
pikaemotion_emotebubble HEART_BUBBLE
pikaemotion_pcm PikachuCry5
pikaemotion_pikapic PikaPicAnimScript20
db $ff
-PikachuEmotion21: ; fd1b9 (3f:51b9)
+PikachuEmotion21:
pikaemotion_dummy2
pikaemotion_emotebubble FISH_BUBBLE
pikaemotion_pcm
pikaemotion_pikapic PikaPicAnimScript21
db $ff
-PikachuEmotion22: ; fd1c1 (3f:51c1)
+PikachuEmotion22:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry4
pikaemotion_pikapic PikaPicAnimScript22
db $ff
-PikachuEmotion23: ; fd1c7 (3f:51c7)
+PikachuEmotion23:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry19
pikaemotion_pikapic PikaPicAnimScript23
pikaemotion_subcmd PIKAEMOTION_SUBCMD_SHOWMAPVIEW
db $ff
-PikachuEmotion24: ; fd1cf (3f:51cf)
+PikachuEmotion24:
pikaemotion_dummy2
pikaemotion_emotebubble EXCLAMATION_BUBBLE
pikaemotion_pcm
pikaemotion_pikapic PikaPicAnimScript24
db $ff
-PikachuEmotion25: ; fd1d7 (3f:51d7)
+PikachuEmotion25:
pikaemotion_dummy2
pikaemotion_emotebubble BOLT_BUBBLE
pikaemotion_pcm PikachuCry35
pikaemotion_pikapic PikaPicAnimScript25
db $ff
-PikachuEmotion26: ; fd1df (3f:51df)
+PikachuEmotion26:
pikaemotion_dummy2
pikaemotion_emotebubble ZZZ_BUBBLE
pikaemotion_pcm PikachuCry37
@@ -182,24 +182,24 @@ PikachuEmotion26: ; fd1df (3f:51df)
pikaemotion_subcmd PIKAEMOTION_SUBCMD_CHECKPEWTERCENTER
db $ff
-PikachuEmotion27: ; fd1eb (3f:51eb)
+PikachuEmotion27:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry9
pikaemotion_pikapic PikaPicAnimScript27
db $ff
-PikachuEmotion28: ; fd1f1 (3f:51f1)
+PikachuEmotion28:
pikaemotion_dummy2
pikaemotion_pcm PikachuCry15
pikaemotion_pikapic PikaPicAnimScript28
db $ff
-PikachuEmotion29: ; fd1f7 (3f:51f7)
+PikachuEmotion29:
pikaemotion_pcm PikachuCry5
pikaemotion_pikapic PikaPicAnimScript10
db $ff
-PikachuEmotion30: ; fd1fc (3f:51fc)
+PikachuEmotion30:
pikaemotion_9
pikaemotion_emotebubble HEART_BUBBLE
pikaemotion_pcm PikachuCry5
@@ -209,47 +209,47 @@ PikachuEmotion30: ; fd1fc (3f:51fc)
pikaemotion_subcmd PIKAEMOTION_SUBCMD_CHECKLAVENDERTOWER
db $ff
-PikachuEmotion31: ; fd20a (3f:520a)
+PikachuEmotion31:
pikaemotion_pcm PikachuCry19
pikaemotion_pikapic PikaPicAnimScript23
pikaemotion_subcmd PIKAEMOTION_SUBCMD_SHOWMAPVIEW
pikaemotion_subcmd PIKAEMOTION_SUBCMD_CHECKBILLSHOUSE
db $ff
-PikachuEmotion32: ; fd213 (3f:5213)
+PikachuEmotion32:
pikaemotion_pcm PikachuCry26
pikaemotion_pikapic PikaPicAnimScript23
db $ff
-PikachuMovementData_fd218: ; fd218 (3f:5218)
+PikachuMovementData_fd218:
db $00
db $39, 2 - 1
db $3e, 31 - 1
db $3f
-PikachuMovementData_fd21e: ; fd21e (3f:521e)
+PikachuMovementData_fd21e:
db $00
db $39, 1 - 1
db $3e, 31 - 1
db $3f
-PikachuMovementData_fd224: ; fd224 (3f:5224)
+PikachuMovementData_fd224:
db $00
db $3c, 8 - 1, (2 << 4) | (16 - 1)
db $3c, 8 - 1, (2 << 4) | (16 - 1)
db $3f
-PikachuMovementData_fd22c: ; fd22c (3f:522c)
+PikachuMovementData_fd22c:
db $3b, 32 - 1, 4 - 1
db $3f
-PikachuMovementData_fd230: ; fd230 (3f:5230)
+PikachuMovementData_fd230:
db $00
db $3c, 16 - 1, (1 << 4) | (16 - 1)
db $3c, 16 - 1, (1 << 4) | (16 - 1)
db $3f
-PikachuMovementData_fd238: ; fd238 (3f:5238)
+PikachuMovementData_fd238:
db $00
db $05, 8 - 1
db $39, 1 - 1
diff --git a/data/pikachu_pic_animation.asm b/data/pikachu_pic_animation.asm
index 85e67ecb..d10f65dd 100755
--- a/data/pikachu_pic_animation.asm
+++ b/data/pikachu_pic_animation.asm
@@ -21,7 +21,7 @@ PikaPicAnimThunderboltPals:
db 4, %11100100
db $ff
-Data_fe26b: ; fe26b (3f:626b)
+Data_fe26b:
pikapic_loadgfx Pic_e4000
pikapic_loadgfx Pic_e49d1
pikapic_loadgfx PikachuSprite
@@ -32,9 +32,9 @@ Data_fe26b: ; fe26b (3f:626b)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript0: ; fe28a (3f:628a)
-PikaPicAnimScript1: ; fe28a (3f:628a)
-PikaPicAnimScript29: ; fe28a (3f:628a)
+PikaPicAnimScript0:
+PikaPicAnimScript1:
+PikaPicAnimScript29:
pikapic_setduration 40
pikapic_loadgfx Pic_e4000
pikapic_loadgfx GFX_e40cc
@@ -44,7 +44,7 @@ PikaPicAnimScript29: ; fe28a (3f:628a)
pikapic_cry PikachuCry3
pikapic_looptofinish
-PikaPicAnimScript2: ; fe2a4 (3f:62a4)
+PikaPicAnimScript2:
pikapic_setduration 44
pikapic_loadgfx Pic_e411c
pikapic_loadgfx GFX_e41d2
@@ -54,7 +54,7 @@ PikaPicAnimScript2: ; fe2a4 (3f:62a4)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript3: ; fe2be (3f:62be)
+PikaPicAnimScript3:
pikapic_setduration 80
pikapic_loadgfx Pic_e4272
pikapic_loadgfx GFX_e4323
@@ -64,7 +64,7 @@ PikaPicAnimScript3: ; fe2be (3f:62be)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript4: ; fe2d8 (3f:62d8)
+PikaPicAnimScript4:
pikapic_setduration 70
pikapic_loadgfx Pic_e4383
pikapic_loadgfx GFX_e444b
@@ -74,7 +74,7 @@ PikaPicAnimScript4: ; fe2d8 (3f:62d8)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript5: ; fe2f2 (3f:62f2)
+PikaPicAnimScript5:
pikapic_setduration 32
pikapic_loadgfx Pic_e458b
pikapic_loadgfx GFX_e463b
@@ -84,7 +84,7 @@ PikaPicAnimScript5: ; fe2f2 (3f:62f2)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript6: ; fe30c (3f:630c)
+PikaPicAnimScript6:
pikapic_setduration 50
pikapic_loadgfx Pic_e467b
pikapic_loadgfx GFX_e472e
@@ -94,7 +94,7 @@ PikaPicAnimScript6: ; fe30c (3f:630c)
pikapic_cry PikachuCry38
pikapic_looptofinish
-PikaPicAnimScript7: ; fe326 (3f:6326)
+PikaPicAnimScript7:
pikapic_setduration 58
pikapic_loadgfx Pic_e476e
pikapic_loadgfx GFX_e4841
@@ -104,7 +104,7 @@ PikaPicAnimScript7: ; fe326 (3f:6326)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript8: ; fe340 (3f:6340)
+PikaPicAnimScript8:
pikapic_setduration 44
pikapic_loadgfx Pic_e49d1
pikapic_loadgfx GFX_e4a99
@@ -114,7 +114,7 @@ PikaPicAnimScript8: ; fe340 (3f:6340)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript9: ; fe35a (3f:635a)
+PikaPicAnimScript9:
pikapic_setduration 56
pikapic_loadgfx Pic_e4b39
pikapic_loadgfx GFX_e4bde
@@ -124,7 +124,7 @@ PikaPicAnimScript9: ; fe35a (3f:635a)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript10: ; fe374 (3f:6374)
+PikaPicAnimScript10:
pikapic_setduration 56
pikapic_loadgfx Pic_e4c3e
pikapic_loadgfx GFX_e4ce0
@@ -135,7 +135,7 @@ PikaPicAnimScript10: ; fe374 (3f:6374)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript11: ; fe390 (3f:6390)
+PikaPicAnimScript11:
pikapic_setduration 100
pikapic_loadgfx Pic_e5000
pikapic_loadgfx GFX_e50af
@@ -145,7 +145,7 @@ PikaPicAnimScript11: ; fe390 (3f:6390)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript12: ; fe3aa (3f:63aa)
+PikaPicAnimScript12:
pikapic_setduration 50
pikapic_loadgfx Pic_e523f
pikapic_loadgfx GFX_e52fe
@@ -155,7 +155,7 @@ PikaPicAnimScript12: ; fe3aa (3f:63aa)
pikapic_cry PikachuCry25
pikapic_looptofinish
-PikaPicAnimScript13: ; fe3c4 (3f:63c4)
+PikaPicAnimScript13:
pikapic_setduration 50
pikapic_loadgfx Pic_e548e
pikapic_loadgfx GFX_e5541
@@ -165,7 +165,7 @@ PikaPicAnimScript13: ; fe3c4 (3f:63c4)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript14: ; fe3de (3f:63de)
+PikaPicAnimScript14:
pikapic_setduration 40
pikapic_loadgfx Pic_e56d1
pikapic_loadgfx GFX_e5794
@@ -175,7 +175,7 @@ PikaPicAnimScript14: ; fe3de (3f:63de)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript15: ; fe3f8 (3f:63f8)
+PikaPicAnimScript15:
pikapic_setduration 50
pikapic_loadgfx Pic_e5924
pikapic_loadgfx GFX_e59ed
@@ -185,7 +185,7 @@ PikaPicAnimScript15: ; fe3f8 (3f:63f8)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript16: ; fe412 (3f:6412)
+PikaPicAnimScript16:
pikapic_setduration 32
pikapic_loadgfx Pic_e5b7d
pikapic_loadgfx GFX_e5c4d
@@ -195,7 +195,7 @@ PikaPicAnimScript16: ; fe412 (3f:6412)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript17: ; fe42c (3f:642c)
+PikaPicAnimScript17:
pikapic_setduration 100
pikapic_loadgfx Pic_e5ddd
pikapic_loadgfx GFX_e5e90
@@ -205,7 +205,7 @@ PikaPicAnimScript17: ; fe42c (3f:642c)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript18: ; fe446 (3f:6446)
+PikaPicAnimScript18:
pikapic_setduration 32
pikapic_loadgfx GFX_e6020
pikapic_loadgfx GFX_e61b0
@@ -215,7 +215,7 @@ PikaPicAnimScript18: ; fe446 (3f:6446)
pikapic_cry PikachuCry18
pikapic_looptofinish
-PikaPicAnimScript19: ; fe460 (3f:6460)
+PikaPicAnimScript19:
pikapic_setduration 44
pikapic_loadgfx Pic_e6340
pikapic_loadgfx GFX_e63f7
@@ -225,7 +225,7 @@ PikaPicAnimScript19: ; fe460 (3f:6460)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript20: ; fe47a (3f:647a)
+PikaPicAnimScript20:
pikapic_setduration 50
pikapic_loadgfx Pic_e6587
pikapic_loadgfx GFX_e6646
@@ -235,7 +235,7 @@ PikaPicAnimScript20: ; fe47a (3f:647a)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript21: ; fe494 (3f:6494)
+PikaPicAnimScript21:
pikapic_setduration 40
pikapic_loadgfx Pic_e67d6
pikapic_loadgfx GFX_e682f
@@ -248,7 +248,7 @@ PikaPicAnimScript21: ; fe494 (3f:6494)
pikapic_cry PikachuCry20
pikapic_looptofinish
-PikaPicAnimScript22: ; fe4b4 (3f:64b4)
+PikaPicAnimScript22:
pikapic_setduration 40
pikapic_loadgfx GFX_e6e6f
pikapic_loadgfx GFX_e6fff
@@ -258,7 +258,7 @@ PikaPicAnimScript22: ; fe4b4 (3f:64b4)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript23: ; fe4ce (3f:64ce)
+PikaPicAnimScript23:
pikapic_setduration 70
pikapic_loadgfx GFX_e718f
pikapic_loadgfx GFX_e731f
@@ -268,7 +268,7 @@ PikaPicAnimScript23: ; fe4ce (3f:64ce)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript24: ; fe4e8 (3f:64e8)
+PikaPicAnimScript24:
pikapic_setduration 60
pikapic_loadgfx GFX_e74af
pikapic_loadgfx GFX_e763f
@@ -278,7 +278,7 @@ PikaPicAnimScript24: ; fe4e8 (3f:64e8)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript25: ; fe502 (3f:6502)
+PikaPicAnimScript25:
pikapic_setduration 50
pikapic_loadgfx Pic_e77cf
pikapic_loadgfx GFX_e7863
@@ -292,9 +292,9 @@ PikaPicAnimScript25: ; fe502 (3f:6502)
pikapic_thunderbolt
pikapic_ret
-Data_fe51f: ; fe51f (3f:651f)
+Data_fe51f:
pikapic_waitbgmap
-PikaPicAnimScript26: ; fe520 (3f:6520)
+PikaPicAnimScript26:
pikapic_setduration 100
pikapic_loadgfx Pic_e5000
pikapic_loadgfx GFX_e50af
@@ -306,7 +306,7 @@ PikaPicAnimScript26: ; fe520 (3f:6520)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript27: ; fe53e (3f:653e)
+PikaPicAnimScript27:
pikapic_setduration 30
pikapic_loadgfx Pic_f0abf
pikapic_loadgfx GFX_f0b64
@@ -316,7 +316,7 @@ PikaPicAnimScript27: ; fe53e (3f:653e)
pikapic_cry
pikapic_looptofinish
-PikaPicAnimScript28: ; fe558 (3f:6558)
+PikaPicAnimScript28:
pikapic_setduration 64
pikapic_loadgfx Pic_f0cf4
pikapic_loadgfx GFX_f0d82
diff --git a/data/pokedex_entries.asm b/data/pokedex_entries.asm
index 8b021287..1f35a0d5 100755
--- a/data/pokedex_entries.asm
+++ b/data/pokedex_entries.asm
@@ -1,4 +1,4 @@
-PokedexEntryPointers: ; 4050b (10:450b)
+PokedexEntryPointers:
dw RhydonDexEntry
dw KangaskhanDexEntry
dw NidoranMDexEntry
@@ -195,1064 +195,1064 @@ PokedexEntryPointers: ; 4050b (10:450b)
; weight in pounds
; text entry
-BulbasaurDexEntry: ; 40687 (10:4687)
+BulbasaurDexEntry:
db "SEED@"
db 2,4
dw 150
TX_FAR _BulbasaurDexEntry
db "@"
-IvysaurDexEntry: ; 40695 (10:4695)
+IvysaurDexEntry:
db "SEED@"
db 3,3
dw 290
TX_FAR _IvysaurDexEntry
db "@"
-VenusaurDexEntry: ; 406a3 (10:46a3)
+VenusaurDexEntry:
db "SEED@"
db 6,7
dw 2210
TX_FAR _VenusaurDexEntry
db "@"
-CharmanderDexEntry: ; 406b1 (10:46b1)
+CharmanderDexEntry:
db "LIZARD@"
db 2,
dw 190
TX_FAR _CharmanderDexEntry
db "@"
-CharmeleonDexEntry: ; 406c1 (10:46c1)
+CharmeleonDexEntry:
db "FLAME@"
db 3,7
dw 420
TX_FAR _CharmeleonDexEntry
db "@"
-CharizardDexEntry: ; 406d0 (10:46d0)
+CharizardDexEntry:
db "FLAME@"
db 5,7
dw 2000
TX_FAR _CharizardDexEntry
db "@"
-SquirtleDexEntry: ; 406df (10:46df)
+SquirtleDexEntry:
db "TINYTURTLE@"
db 1,8
dw 200
TX_FAR _SquirtleDexEntry
db "@"
-WartortleDexEntry: ; 406f3 (10:46f3)
+WartortleDexEntry:
db "TURTLE@"
db 3,3
dw 500
TX_FAR _WartortleDexEntry
db "@"
-BlastoiseDexEntry: ; 40703 (10:4703)
+BlastoiseDexEntry:
db "SHELLFISH@"
db 5,3
dw 1890
TX_FAR _BlastoiseDexEntry
db "@"
-CaterpieDexEntry: ; 40716 (10:4716)
+CaterpieDexEntry:
db "WORM@"
db 1,
dw 60
TX_FAR _CaterpieDexEntry
db "@"
-MetapodDexEntry: ; 40724 (10:4724)
+MetapodDexEntry:
db "COCOON@"
db 2,4
dw 220
TX_FAR _MetapodDexEntry
db "@"
-ButterfreeDexEntry: ; 40734 (10:4734)
+ButterfreeDexEntry:
db "BUTTERFLY@"
db 3,7
dw 710
TX_FAR _ButterfreeDexEntry
db "@"
-WeedleDexEntry: ; 40747 (10:4747)
+WeedleDexEntry:
db "HAIRY BUG@"
db 1,
dw 70
TX_FAR _WeedleDexEntry
db "@"
-KakunaDexEntry: ; 4075a (10:475a)
+KakunaDexEntry:
db "COCOON@"
db 2,
dw 220
TX_FAR _KakunaDexEntry
db "@"
-BeedrillDexEntry: ; 4076a (10:476a)
+BeedrillDexEntry:
db "POISON BEE@"
db 3,3
dw 650
TX_FAR _BeedrillDexEntry
db "@"
-PidgeyDexEntry: ; 4077e (10:477e)
+PidgeyDexEntry:
db "TINY BIRD@"
db 1,
dw 40
TX_FAR _PidgeyDexEntry
db "@"
-PidgeottoDexEntry: ; 40791 (10:4791)
+PidgeottoDexEntry:
db "BIRD@"
db 3,7
dw 660
TX_FAR _PidgeottoDexEntry
db "@"
-PidgeotDexEntry: ; 4079f (10:479f)
+PidgeotDexEntry:
db "BIRD@"
db 4,11
dw 870
TX_FAR _PidgeotDexEntry
db "@"
-RattataDexEntry: ; 407ad (10:47ad)
+RattataDexEntry:
db "RAT@"
db 1,
dw 80
TX_FAR _RattataDexEntry
db "@"
-RaticateDexEntry: ; 407ba (10:47ba)
+RaticateDexEntry:
db "RAT@"
db 2,4
dw 410
TX_FAR _RaticateDexEntry
db "@"
-SpearowDexEntry: ; 407c7 (10:47c7)
+SpearowDexEntry:
db "TINY BIRD@"
db 1,
dw 40
TX_FAR _SpearowDexEntry
db "@"
-FearowDexEntry: ; 407da (10:47da)
+FearowDexEntry:
db "BEAK@"
db 3,11
dw 840
TX_FAR _FearowDexEntry
db "@"
-EkansDexEntry: ; 407e8 (10:47e8)
+EkansDexEntry:
db "SNAKE@"
db 6,7
dw 150
TX_FAR _EkansDexEntry
db "@"
-ArbokDexEntry: ; 407f7 (10:47f7)
+ArbokDexEntry:
db "COBRA@"
db 11,6
dw 1430
TX_FAR _ArbokDexEntry
db "@"
-PikachuDexEntry: ; 40806 (10:4806)
+PikachuDexEntry:
db "MOUSE@"
db 1,4
dw 130
TX_FAR _PikachuDexEntry
db "@"
-RaichuDexEntry: ; 40815 (10:4815)
+RaichuDexEntry:
db "MOUSE@"
db 2,7
dw 660
TX_FAR _RaichuDexEntry
db "@"
-SandshrewDexEntry: ; 40824 (10:4824)
+SandshrewDexEntry:
db "MOUSE@"
db 2,
dw 260
TX_FAR _SandshrewDexEntry
db "@"
-SandslashDexEntry: ; 40833 (10:4833)
+SandslashDexEntry:
db "MOUSE@"
db 3,3
dw 650
TX_FAR _SandslashDexEntry
db "@"
-NidoranFDexEntry: ; 40842 (10:4842)
+NidoranFDexEntry:
db "POISON PIN@"
db 1,4
dw 150
TX_FAR _NidoranFDexEntry
db "@"
-NidorinaDexEntry: ; 40856 (10:4856)
+NidorinaDexEntry:
db "POISON PIN@"
db 2,7
dw 440
TX_FAR _NidorinaDexEntry
db "@"
-NidoqueenDexEntry: ; 4086a (10:486a)
+NidoqueenDexEntry:
db "DRILL@"
db 4,3
dw 1320
TX_FAR _NidoqueenDexEntry
db "@"
-NidoranMDexEntry: ; 40879 (10:4879)
+NidoranMDexEntry:
db "POISON PIN@"
db 1,8
dw 200
TX_FAR _NidoranMDexEntry
db "@"
-NidorinoDexEntry: ; 4088d (10:488d)
+NidorinoDexEntry:
db "POISON PIN@"
db 2,11
dw 430
TX_FAR _NidorinoDexEntry
db "@"
-NidokingDexEntry: ; 408a1 (10:48a1)
+NidokingDexEntry:
db "DRILL@"
db 4,7
dw 1370
TX_FAR _NidokingDexEntry
db "@"
-ClefairyDexEntry: ; 408b0 (10:48b0)
+ClefairyDexEntry:
db "FAIRY@"
db 2,
dw 170
TX_FAR _ClefairyDexEntry
db "@"
-ClefableDexEntry: ; 408bf (10:48bf)
+ClefableDexEntry:
db "FAIRY@"
db 4,3
dw 880
TX_FAR _ClefableDexEntry
db "@"
-VulpixDexEntry: ; 408ce (10:48ce)
+VulpixDexEntry:
db "FOX@"
db 2,
dw 220
TX_FAR _VulpixDexEntry
db "@"
-NinetalesDexEntry: ; 408db (10:48db)
+NinetalesDexEntry:
db "FOX@"
db 3,7
dw 440
TX_FAR _NinetalesDexEntry
db "@"
-JigglypuffDexEntry: ; 408e8 (10:48e8)
+JigglypuffDexEntry:
db "BALLOON@"
db 1,8
dw 120
TX_FAR _JigglypuffDexEntry
db "@"
-WigglytuffDexEntry: ; 408f9 (10:48f9)
+WigglytuffDexEntry:
db "BALLOON@"
db 3,3
dw 260
TX_FAR _WigglytuffDexEntry
db "@"
-ZubatDexEntry: ; 4090a (10:490a)
+ZubatDexEntry:
db "BAT@"
db 2,7
dw 170
TX_FAR _ZubatDexEntry
db "@"
-GolbatDexEntry: ; 40917 (10:4917)
+GolbatDexEntry:
db "BAT@"
db 5,3
dw 1210
TX_FAR _GolbatDexEntry
db "@"
-OddishDexEntry: ; 40924 (10:4924)
+OddishDexEntry:
db "WEED@"
db 1,8
dw 120
TX_FAR _OddishDexEntry
db "@"
-GloomDexEntry: ; 40932 (10:4932)
+GloomDexEntry:
db "WEED@"
db 2,7
dw 190
TX_FAR _GloomDexEntry
db "@"
-VileplumeDexEntry: ; 40940 (10:4940)
+VileplumeDexEntry:
db "FLOWER@"
db 3,11
dw 410
TX_FAR _VileplumeDexEntry
db "@"
-ParasDexEntry: ; 40950 (10:4950)
+ParasDexEntry:
db "MUSHROOM@"
db 1,
dw 120
TX_FAR _ParasDexEntry
db "@"
-ParasectDexEntry: ; 40962 (10:4962)
+ParasectDexEntry:
db "MUSHROOM@"
db 3,3
dw 650
TX_FAR _ParasectDexEntry
db "@"
-VenonatDexEntry: ; 40974 (10:4974)
+VenonatDexEntry:
db "INSECT@"
db 3,3
dw 660
TX_FAR _VenonatDexEntry
db "@"
-VenomothDexEntry: ; 40984 (10:4984)
+VenomothDexEntry:
db "POISONMOTH@"
db 4,11
dw 280
TX_FAR _VenomothDexEntry
db "@"
-DiglettDexEntry: ; 40998 (10:4998)
+DiglettDexEntry:
db "MOLE@"
db ,8
dw 20
TX_FAR _DiglettDexEntry
db "@"
-DugtrioDexEntry: ; 409a6 (10:49a6)
+DugtrioDexEntry:
db "MOLE@"
db 2,4
dw 730
TX_FAR _DugtrioDexEntry
db "@"
-MeowthDexEntry: ; 409b4 (10:49b4)
+MeowthDexEntry:
db "SCRATCHCAT@"
db 1,4
dw 90
TX_FAR _MeowthDexEntry
db "@"
-PersianDexEntry: ; 409c8 (10:49c8)
+PersianDexEntry:
db "CLASSY CAT@"
db 3,3
dw 710
TX_FAR _PersianDexEntry
db "@"
-PsyduckDexEntry: ; 409dc (10:49dc)
+PsyduckDexEntry:
db "DUCK@"
db 2,7
dw 430
TX_FAR _PsyduckDexEntry
db "@"
-GolduckDexEntry: ; 409ea (10:49ea)
+GolduckDexEntry:
db "DUCK@"
db 5,7
dw 1690
TX_FAR _GolduckDexEntry
db "@"
-MankeyDexEntry: ; 409f8 (10:49f8)
+MankeyDexEntry:
db "PIG MONKEY@"
db 1,8
dw 620
TX_FAR _MankeyDexEntry
db "@"
-PrimeapeDexEntry: ; 40a0c (10:4a0c)
+PrimeapeDexEntry:
db "PIG MONKEY@"
db 3,3
dw 710
TX_FAR _PrimeapeDexEntry
db "@"
-GrowlitheDexEntry: ; 40a20 (10:4a20)
+GrowlitheDexEntry:
db "PUPPY@"
db 2,4
dw 420
TX_FAR _GrowlitheDexEntry
db "@"
-ArcanineDexEntry: ; 40a2f (10:4a2f)
+ArcanineDexEntry:
db "LEGENDARY@"
db 6,3
dw 3420
TX_FAR _ArcanineDexEntry
db "@"
-PoliwagDexEntry: ; 40a42 (10:4a42)
+PoliwagDexEntry:
db "TADPOLE@"
db 2,
dw 270
TX_FAR _PoliwagDexEntry
db "@"
-PoliwhirlDexEntry: ; 40a53 (10:4a53)
+PoliwhirlDexEntry:
db "TADPOLE@"
db 3,3
dw 440
TX_FAR _PoliwhirlDexEntry
db "@"
-PoliwrathDexEntry: ; 40a64 (10:4a64)
+PoliwrathDexEntry:
db "TADPOLE@"
db 4,3
dw 1190
TX_FAR _PoliwrathDexEntry
db "@"
-AbraDexEntry: ; 40a75 (10:4a75)
+AbraDexEntry:
db "PSI@"
db 2,11
dw 430
TX_FAR _AbraDexEntry
db "@"
-KadabraDexEntry: ; 40a82 (10:4a82)
+KadabraDexEntry:
db "PSI@"
db 4,3
dw 1250
TX_FAR _KadabraDexEntry
db "@"
-AlakazamDexEntry: ; 40a8f (10:4a8f)
+AlakazamDexEntry:
db "PSI@"
db 4,11
dw 1060
TX_FAR _AlakazamDexEntry
db "@"
-MachopDexEntry: ; 40a9c (10:4a9c)
+MachopDexEntry:
db "SUPERPOWER@"
db 2,7
dw 430
TX_FAR _MachopDexEntry
db "@"
-MachokeDexEntry: ; 40ab0 (10:4ab0)
+MachokeDexEntry:
db "SUPERPOWER@"
db 4,11
dw 1550
TX_FAR _MachokeDexEntry
db "@"
-MachampDexEntry: ; 40ac4 (10:4ac4)
+MachampDexEntry:
db "SUPERPOWER@"
db 5,3
dw 2870
TX_FAR _MachampDexEntry
db "@"
-BellsproutDexEntry: ; 40ad8 (10:4ad8)
+BellsproutDexEntry:
db "FLOWER@"
db 2,4
dw 90
TX_FAR _BellsproutDexEntry
db "@"
-WeepinbellDexEntry: ; 40ae8 (10:4ae8)
+WeepinbellDexEntry:
db "FLYCATCHER@"
db 3,3
dw 140
TX_FAR _WeepinbellDexEntry
db "@"
-VictreebelDexEntry: ; 40afc (10:4afc)
+VictreebelDexEntry:
db "FLYCATCHER@"
db 5,7
dw 340
TX_FAR _VictreebelDexEntry
db "@"
-TentacoolDexEntry: ; 40b10 (10:4b10)
+TentacoolDexEntry:
db "JELLYFISH@"
db 2,11
dw 1000
TX_FAR _TentacoolDexEntry
db "@"
-TentacruelDexEntry: ; 40b23 (10:4b23)
+TentacruelDexEntry:
db "JELLYFISH@"
db 5,3
dw 1210
TX_FAR _TentacruelDexEntry
db "@"
-GeodudeDexEntry: ; 40b36 (10:4b36)
+GeodudeDexEntry:
db "ROCK@"
db 1,4
dw 440
TX_FAR _GeodudeDexEntry
db "@"
-GravelerDexEntry: ; 40b44 (10:4b44)
+GravelerDexEntry:
db "ROCK@"
db 3,3
dw 2320
TX_FAR _GravelerDexEntry
db "@"
-GolemDexEntry: ; 40b52 (10:4b52)
+GolemDexEntry:
db "MEGATON@"
db 4,7
dw 6620
TX_FAR _GolemDexEntry
db "@"
-PonytaDexEntry: ; 40b63 (10:4b63)
+PonytaDexEntry:
db "FIRE HORSE@"
db 3,3
dw 660
TX_FAR _PonytaDexEntry
db "@"
-RapidashDexEntry: ; 40b77 (10:4b77)
+RapidashDexEntry:
db "FIRE HORSE@"
db 5,7
dw 2090
TX_FAR _RapidashDexEntry
db "@"
-SlowpokeDexEntry: ; 40b8b (10:4b8b)
+SlowpokeDexEntry:
db "DOPEY@"
db 3,11
dw 790
TX_FAR _SlowpokeDexEntry
db "@"
-SlowbroDexEntry: ; 40b9a (10:4b9a)
+SlowbroDexEntry:
db "HERMITCRAB@"
db 5,3
dw 1730
TX_FAR _SlowbroDexEntry
db "@"
-MagnemiteDexEntry: ; 40bae (10:4bae)
+MagnemiteDexEntry:
db "MAGNET@"
db 1,
dw 130
TX_FAR _MagnemiteDexEntry
db "@"
-MagnetonDexEntry: ; 40bbe (10:4bbe)
+MagnetonDexEntry:
db "MAGNET@"
db 3,3
dw 1320
TX_FAR _MagnetonDexEntry
db "@"
-FarfetchdDexEntry: ; 40bce (10:4bce)
+FarfetchdDexEntry:
db "WILD DUCK@"
db 2,7
dw 330
TX_FAR _FarfetchdDexEntry
db "@"
-DoduoDexEntry: ; 40be1 (10:4be1)
+DoduoDexEntry:
db "TWIN BIRD@"
db 4,7
dw 860
TX_FAR _DoduoDexEntry
db "@"
-DodrioDexEntry: ; 40bf4 (10:4bf4)
+DodrioDexEntry:
db "TRIPLEBIRD@"
db 5,11
dw 1880
TX_FAR _DodrioDexEntry
db "@"
-SeelDexEntry: ; 40c08 (10:4c08)
+SeelDexEntry:
db "SEA LION@"
db 3,7
dw 1980
TX_FAR _SeelDexEntry
db "@"
-DewgongDexEntry: ; 40c1a (10:4c1a)
+DewgongDexEntry:
db "SEA LION@"
db 5,7
dw 2650
TX_FAR _DewgongDexEntry
db "@"
-GrimerDexEntry: ; 40c2c (10:4c2c)
+GrimerDexEntry:
db "SLUDGE@"
db 2,11
dw 660
TX_FAR _GrimerDexEntry
db "@"
-MukDexEntry: ; 40c3c (10:4c3c)
+MukDexEntry:
db "SLUDGE@"
db 3,11
dw 660
TX_FAR _MukDexEntry
db "@"
-ShellderDexEntry: ; 40c4c (10:4c4c)
+ShellderDexEntry:
db "BIVALVE@"
db 1,
dw 90
TX_FAR _ShellderDexEntry
db "@"
-CloysterDexEntry: ; 40c5d (10:4c5d)
+CloysterDexEntry:
db "BIVALVE@"
db 4,11
dw 2920
TX_FAR _CloysterDexEntry
db "@"
-GastlyDexEntry: ; 40c6e (10:4c6e)
+GastlyDexEntry:
db "GAS@"
db 4,3
dw 2
TX_FAR _GastlyDexEntry
db "@"
-HaunterDexEntry: ; 40c7b (10:4c7b)
+HaunterDexEntry:
db "GAS@"
db 5,3
dw 2
TX_FAR _HaunterDexEntry
db "@"
-GengarDexEntry: ; 40c88 (10:4c88)
+GengarDexEntry:
db "SHADOW@"
db 4,11
dw 890
TX_FAR _GengarDexEntry
db "@"
-OnixDexEntry: ; 40c98 (10:4c98)
+OnixDexEntry:
db "ROCK SNAKE@"
db 28,10
dw 4630
TX_FAR _OnixDexEntry
db "@"
-DrowzeeDexEntry: ; 40cac (10:4cac)
+DrowzeeDexEntry:
db "HYPNOSIS@"
db 3,3
dw 710
TX_FAR _DrowzeeDexEntry
db "@"
-HypnoDexEntry: ; 40cbe (10:4cbe)
+HypnoDexEntry:
db "HYPNOSIS@"
db 5,3
dw 1670
TX_FAR _HypnoDexEntry
db "@"
-KrabbyDexEntry: ; 40cd0 (10:4cd0)
+KrabbyDexEntry:
db "RIVER CRAB@"
db 1,4
dw 140
TX_FAR _KrabbyDexEntry
db "@"
-KinglerDexEntry: ; 40ce4 (10:4ce4)
+KinglerDexEntry:
db "PINCER@"
db 4,3
dw 1320
TX_FAR _KinglerDexEntry
db "@"
-VoltorbDexEntry: ; 40cf4 (10:4cf4)
+VoltorbDexEntry:
db "BALL@"
db 1,8
dw 230
TX_FAR _VoltorbDexEntry
db "@"
-ElectrodeDexEntry: ; 40d02 (10:4d02)
+ElectrodeDexEntry:
db "BALL@"
db 3,11
dw 1470
TX_FAR _ElectrodeDexEntry
db "@"
-ExeggcuteDexEntry: ; 40d10 (10:4d10)
+ExeggcuteDexEntry:
db "EGG@"
db 1,4
dw 60
TX_FAR _ExeggcuteDexEntry
db "@"
-ExeggutorDexEntry: ; 40d1d (10:4d1d)
+ExeggutorDexEntry:
db "COCONUT@"
db 6,7
dw 2650
TX_FAR _ExeggutorDexEntry
db "@"
-CuboneDexEntry: ; 40d2e (10:4d2e)
+CuboneDexEntry:
db "LONELY@"
db 1,4
dw 140
TX_FAR _CuboneDexEntry
db "@"
-MarowakDexEntry: ; 40d3e (10:4d3e)
+MarowakDexEntry:
db "BONEKEEPER@"
db 3,3
dw 990
TX_FAR _MarowakDexEntry
db "@"
-HitmonleeDexEntry: ; 40d52 (10:4d52)
+HitmonleeDexEntry:
db "KICKING@"
db 4,11
dw 1100
TX_FAR _HitmonleeDexEntry
db "@"
-HitmonchanDexEntry: ; 40d63 (10:4d63)
+HitmonchanDexEntry:
db "PUNCHING@"
db 4,7
dw 1110
TX_FAR _HitmonchanDexEntry
db "@"
-LickitungDexEntry: ; 40d75 (10:4d75)
+LickitungDexEntry:
db "LICKING@"
db 3,11
dw 1440
TX_FAR _LickitungDexEntry
db "@"
-KoffingDexEntry: ; 40d86 (10:4d86)
+KoffingDexEntry:
db "POISON GAS@"
db 2,
dw 20
TX_FAR _KoffingDexEntry
db "@"
-WeezingDexEntry: ; 40d9a (10:4d9a)
+WeezingDexEntry:
db "POISON GAS@"
db 3,11
dw 210
TX_FAR _WeezingDexEntry
db "@"
-RhyhornDexEntry: ; 40dae (10:4dae)
+RhyhornDexEntry:
db "SPIKES@"
db 3,3
dw 2540
TX_FAR _RhyhornDexEntry
db "@"
-RhydonDexEntry: ; 40dbe (10:4dbe)
+RhydonDexEntry:
db "DRILL@"
db 6,3
dw 2650
TX_FAR _RhydonDexEntry
db "@"
-ChanseyDexEntry: ; 40dcd (10:4dcd)
+ChanseyDexEntry:
db "EGG@"
db 3,7
dw 760
TX_FAR _ChanseyDexEntry
db "@"
-TangelaDexEntry: ; 40dda (10:4dda)
+TangelaDexEntry:
db "VINE@"
db 3,3
dw 770
TX_FAR _TangelaDexEntry
db "@"
-KangaskhanDexEntry: ; 40de8 (10:4de8)
+KangaskhanDexEntry:
db "PARENT@"
db 7,3
dw 1760
TX_FAR _KangaskhanDexEntry
db "@"
-HorseaDexEntry: ; 40df8 (10:4df8)
+HorseaDexEntry:
db "DRAGON@"
db 1,4
dw 180
TX_FAR _HorseaDexEntry
db "@"
-SeadraDexEntry: ; 40e08 (10:4e08)
+SeadraDexEntry:
db "DRAGON@"
db 3,11
dw 550
TX_FAR _SeadraDexEntry
db "@"
-GoldeenDexEntry: ; 40e18 (10:4e18)
+GoldeenDexEntry:
db "GOLDFISH@"
db 2,
dw 330
TX_FAR _GoldeenDexEntry
db "@"
-SeakingDexEntry: ; 40e2a (10:4e2a)
+SeakingDexEntry:
db "GOLDFISH@"
db 4,3
dw 860
TX_FAR _SeakingDexEntry
db "@"
-StaryuDexEntry: ; 40e3c (10:4e3c)
+StaryuDexEntry:
db "STARSHAPE@"
db 2,7
dw 760
TX_FAR _StaryuDexEntry
db "@"
-StarmieDexEntry: ; 40e4f (10:4e4f)
+StarmieDexEntry:
db "MYSTERIOUS@"
db 3,7
dw 1760
TX_FAR _StarmieDexEntry
db "@"
-MrMimeDexEntry: ; 40e63 (10:4e63)
+MrMimeDexEntry:
db "BARRIER@"
db 4,3
dw 1200
TX_FAR _MrMimeDexEntry
db "@"
-ScytherDexEntry: ; 40e74 (10:4e74)
+ScytherDexEntry:
db "MANTIS@"
db 4,11
dw 1230
TX_FAR _ScytherDexEntry
db "@"
-JynxDexEntry: ; 40e84 (10:4e84)
+JynxDexEntry:
db "HUMANSHAPE@"
db 4,7
dw 900
TX_FAR _JynxDexEntry
db "@"
-ElectabuzzDexEntry: ; 40e98 (10:4e98)
+ElectabuzzDexEntry:
db "ELECTRIC@"
db 3,7
dw 660
TX_FAR _ElectabuzzDexEntry
db "@"
-MagmarDexEntry: ; 40eaa (10:4eaa)
+MagmarDexEntry:
db "SPITFIRE@"
db 4,3
dw 980
TX_FAR _MagmarDexEntry
db "@"
-PinsirDexEntry: ; 40ebc (10:4ebc)
+PinsirDexEntry:
db "STAGBEETLE@"
db 4,11
dw 1210
TX_FAR _PinsirDexEntry
db "@"
-TaurosDexEntry: ; 40ed0 (10:4ed0)
+TaurosDexEntry:
db "WILD BULL@"
db 4,7
dw 1950
TX_FAR _TaurosDexEntry
db "@"
-MagikarpDexEntry: ; 40ee3 (10:4ee3)
+MagikarpDexEntry:
db "FISH@"
db 2,11
dw 220
TX_FAR _MagikarpDexEntry
db "@"
-GyaradosDexEntry: ; 40ef1 (10:4ef1)
+GyaradosDexEntry:
db "ATROCIOUS@"
db 21,4
dw 5180
TX_FAR _GyaradosDexEntry
db "@"
-LaprasDexEntry: ; 40f04 (10:4f04)
+LaprasDexEntry:
db "TRANSPORT@"
db 8,2
dw 4850
TX_FAR _LaprasDexEntry
db "@"
-DittoDexEntry: ; 40f17 (10:4f17)
+DittoDexEntry:
db "TRANSFORM@"
db 1,
dw 90
TX_FAR _DittoDexEntry
db "@"
-EeveeDexEntry: ; 40f2a (10:4f2a)
+EeveeDexEntry:
db "EVOLUTION@"
db 1,
dw 140
TX_FAR _EeveeDexEntry
db "@"
-VaporeonDexEntry: ; 40f3d (10:4f3d)
+VaporeonDexEntry:
db "BUBBLE JET@"
db 3,3
dw 640
TX_FAR _VaporeonDexEntry
db "@"
-JolteonDexEntry: ; 40f51 (10:4f51)
+JolteonDexEntry:
db "LIGHTNING@"
db 2,7
dw 540
TX_FAR _JolteonDexEntry
db "@"
-FlareonDexEntry: ; 40f64 (10:4f64)
+FlareonDexEntry:
db "FLAME@"
db 2,11
dw 550
TX_FAR _FlareonDexEntry
db "@"
-PorygonDexEntry: ; 40f73 (10:4f73)
+PorygonDexEntry:
db "VIRTUAL@"
db 2,7
dw 800
TX_FAR _PorygonDexEntry
db "@"
-OmanyteDexEntry: ; 40f84 (10:4f84)
+OmanyteDexEntry:
db "SPIRAL@"
db 1,4
dw 170
TX_FAR _OmanyteDexEntry
db "@"
-OmastarDexEntry: ; 40f94 (10:4f94)
+OmastarDexEntry:
db "SPIRAL@"
db 3,3
dw 770
TX_FAR _OmastarDexEntry
db "@"
-KabutoDexEntry: ; 40fa4 (10:4fa4)
+KabutoDexEntry:
db "SHELLFISH@"
db 1,8
dw 250
TX_FAR _KabutoDexEntry
db "@"
-KabutopsDexEntry: ; 40fb7 (10:4fb7)
+KabutopsDexEntry:
db "SHELLFISH@"
db 4,3
dw 890
TX_FAR _KabutopsDexEntry
db "@"
-AerodactylDexEntry: ; 40fca (10:4fca)
+AerodactylDexEntry:
db "FOSSIL@"
db 5,11
dw 1300
TX_FAR _AerodactylDexEntry
db "@"
-SnorlaxDexEntry: ; 40fda (10:4fda)
+SnorlaxDexEntry:
db "SLEEPING@"
db 6,11
dw 10140
TX_FAR _SnorlaxDexEntry
db "@"
-ArticunoDexEntry: ; 40fec (10:4fec)
+ArticunoDexEntry:
db "FREEZE@"
db 5,7
dw 1220
TX_FAR _ArticunoDexEntry
db "@"
-ZapdosDexEntry: ; 40ffc (10:4ffc)
+ZapdosDexEntry:
db "ELECTRIC@"
db 5,3
dw 1160
TX_FAR _ZapdosDexEntry
db "@"
-MoltresDexEntry: ; 4100e (10:500e)
+MoltresDexEntry:
db "FLAME@"
db 6,7
dw 1320
TX_FAR _MoltresDexEntry
db "@"
-DratiniDexEntry: ; 4101d (10:501d)
+DratiniDexEntry:
db "DRAGON@"
db 5,11
dw 70
TX_FAR _DratiniDexEntry
db "@"
-DragonairDexEntry: ; 4102d (10:502d)
+DragonairDexEntry:
db "DRAGON@"
db 13,1
dw 360
TX_FAR _DragonairDexEntry
db "@"
-DragoniteDexEntry: ; 4103d (10:503d)
+DragoniteDexEntry:
db "DRAGON@"
db 7,3
dw 4630
TX_FAR _DragoniteDexEntry
db "@"
-MewtwoDexEntry: ; 4104d (10:504d)
+MewtwoDexEntry:
db "GENETIC@"
db 6,7
dw 2690
TX_FAR _MewtwoDexEntry
db "@"
-MewDexEntry: ; 4105e (10:505e)
+MewDexEntry:
db "NEW SPECIE@"
db 1,4
dw 90
TX_FAR _MewDexEntry
db "@"
-MissingNoDexEntry: ; 41072 (10:5072)
+MissingNoDexEntry:
db "???@"
db 10 ; 1.0 m
db 100 ; 10.0 kg
@@ -1262,4 +1262,4 @@ MissingNoDexEntry: ; 41072 (10:5072)
; db "???@"
; db 10,100 ; 10 feet, 100 inches
; dw 35072 ; dw ("コ" << 8 | 0), 3507.2 lbs
-; db "メント さくせいちゅう@" ; a whole bunch of sound effects \ No newline at end of file
+; db "メント さくせいちゅう@" ; a whole bunch of sound effects
diff --git a/data/pokedex_order.asm b/data/pokedex_order.asm
index b3d7305e..0e293946 100755
--- a/data/pokedex_order.asm
+++ b/data/pokedex_order.asm
@@ -1,4 +1,4 @@
-PokedexOrder: ; 410b1 (10:50b1)
+PokedexOrder:
db DEX_RHYDON
db DEX_KANGASKHAN
db DEX_NIDORAN_M
diff --git a/data/prize_mon_levels.asm b/data/prize_mon_levels.asm
index a48fd347..eb126d37 100755
--- a/data/prize_mon_levels.asm
+++ b/data/prize_mon_levels.asm
@@ -1,4 +1,4 @@
-PrizeMonLevelDictionary: ; 528ea (14:68ea)
+PrizeMonLevelDictionary:
db ABRA,15
db VULPIX,18
db WIGGLYTUFF,22
diff --git a/data/prizes.asm b/data/prizes.asm
index 103ed415..b113c7cb 100755
--- a/data/prizes.asm
+++ b/data/prizes.asm
@@ -1,4 +1,4 @@
-PrizeDifferentMenuPtrs: ; 527ae (14:67ae)
+PrizeDifferentMenuPtrs:
dw PrizeMenuMon1Entries
dw PrizeMenuMon1Cost
@@ -8,37 +8,37 @@ PrizeDifferentMenuPtrs: ; 527ae (14:67ae)
dw PrizeMenuTMsEntries
dw PrizeMenuTMsCost
-PrizeMenuMon1Entries: ; 527b9 (14:67b9)
+PrizeMenuMon1Entries:
db ABRA
db VULPIX
db WIGGLYTUFF
db "@"
-PrizeMenuMon1Cost: ; 527be (14:67be)
+PrizeMenuMon1Cost:
coins 230
coins 1000
coins 2680
db "@"
-PrizeMenuMon2Entries: ; 527c5 (14:67c5)
+PrizeMenuMon2Entries:
db SCYTHER
db PINSIR
db PORYGON
db "@"
-PrizeMenuMon2Cost: ; 527c9 (14:67c9)
+PrizeMenuMon2Cost:
coins 6500
coins 6500
coins 9999
db "@"
-PrizeMenuTMsEntries: ; 527df (14:67df)
+PrizeMenuTMsEntries:
db TM_23
db TM_15
db TM_50
db "@"
-PrizeMenuTMsCost: ; 527e4 (14:67e4)
+PrizeMenuTMsCost:
coins 3300
coins 5500
coins 7700
diff --git a/data/sgb_border.asm b/data/sgb_border.asm
index 694f97b6..0080b4d2 100755
--- a/data/sgb_border.asm
+++ b/data/sgb_border.asm
@@ -1,4 +1,4 @@
-BorderPalettes: ; 72c39 (1c:6c39)
+BorderPalettes:
INCBIN "gfx/tilemaps/sgbborder.map"
ds $100
@@ -83,5 +83,5 @@ BorderPalettes: ; 72c39 (1c:6c39)
RGB 31, 31, 25
RGB 31, 31, 25
-SGBBorderGraphics: ; 734b9 (1c:74b9)
+SGBBorderGraphics:
INCBIN "gfx/pokemon_yellow.t6.2bpp"
diff --git a/data/sgb_packets.asm b/data/sgb_packets.asm
index c00a7f58..b2cb6e9b 100755
--- a/data/sgb_packets.asm
+++ b/data/sgb_packets.asm
@@ -51,32 +51,32 @@ DATA_SND: MACRO
db \3 ; length (1-11)
ENDM
-BlkPacket_WholeScreen: ; 72611 (1c:6611)
+BlkPacket_WholeScreen:
db $21
db $1,$3,$0,$0,$0,$13,$11,$0
db $0,$0,$0,$0,$0,$0,$0
-BlkPacket_Battle: ; 72621 (1c:6621)
+BlkPacket_Battle:
db $22
db $5,$7,$a,$0,$c,$13,$11,$3,$5,$1
db $0,$a,$3,$3,$0,$a,$7,$13,$a
db $3,$a,$0,$4,$8,$b,$3,$f,$b
db $0,$13,$6
-BlkPacket_StatusScreen: ; 72641 (1c:6641)
+BlkPacket_StatusScreen:
db $21
db $1,$7,$5,$1,$0
db $7,$6,$0,$0,$0,$0,$0,$0,$0
db $0
-BlkPacket_Pokedex: ; 72651 (1c:6651)
+BlkPacket_Pokedex:
db $21
db $1,$7,$5,$1,$1,$8,$8
db $0,$0,$0,$0,$0,$0,$0,$0
-BlkPacket_Slots: ; 72661 (1c:6661)
+BlkPacket_Slots:
db $22
db $5,$3,$5,$0,$0,$13,$b,$3,$a
db $0,$4,$13,$9,$2,$f,$0,$6,$13
db $7,$3,$0,$4,$4,$f,$9,$3,$0
db $0,$c,$13,$11
-BlkPacket_Titlescreen: ; 72681 (1c:6681)
+BlkPacket_Titlescreen:
db $22
db $3,$3,$0,$0
db $0,$13,$7,$3,$a,$0,$8,$13,$11
@@ -88,7 +88,7 @@ BlkPacket_NidorinoIntro ; 726a1 (1c:66a1)
db $0,$0,$4,$13,$d,$3,$5,$0,$e
db $13,$11,$0,$0,$0,$0,$0,$0,$0
db $0,$0,$0,$0,$0
-BlkPacket_PartyMenu: ; 726c1 (1c:66c1)
+BlkPacket_PartyMenu:
db $23
db $7,$6,$10
db $1,$0,$2,$c,$2,$0,$5,$1,$b
@@ -96,7 +96,7 @@ BlkPacket_PartyMenu: ; 726c1 (1c:66c1)
db $5,$5,$b,$5,$2,$0,$5,$7,$b
db $7,$2,$0,$5,$9,$b,$9,$2,$0
db $5,$b,$b,$b,$0,$0,$0,$0
-BlkPacket_TrainerCard: ; 726f1 (1c:66f1)
+BlkPacket_TrainerCard:
db $24
db $a,$2,$0,$3,$c,$4,$d,$2,$5
db $7,$c,$8,$d,$2,$f,$b,$c,$c
@@ -105,70 +105,70 @@ BlkPacket_TrainerCard: ; 726f1 (1c:66f1)
db $d,$2,$a,$3,$f,$4,$10,$2,$f
db $7,$f,$8,$10,$2,$a,$b,$f,$c
db $10,$2,$5,$f,$f,$10,$10,$0,$0
-BlkPacket_GameFreakIntro: ; 72731 (1c:6731)
+BlkPacket_GameFreakIntro:
db $22
db $3,$7,$5,$5,$b,$7,$d,$2
db $a,$8,$b,$9,$d,$3,$f,$c,$b
db $e,$d,$0,$0,$0,$0,$0,$0,$0
db $0,$0,$0,$0,$0
-UnknownPacket_72751: ; 72751 (1c:6751)
+UnknownPacket_72751:
db $21,$1,$7,$5
db $4,$0,$f,$5,$0,$0,$0,$0,$0
db $0,$0,$0
-PalPacket_Empty: ; 72761 (1c:6761)
+PalPacket_Empty:
PAL_SET 0, 0, 0, 0
-PalPacket_PartyMenu: ; 72771 (1c:6771)
+PalPacket_PartyMenu:
PAL_SET PAL_MEWMON, PAL_GREENBAR, PAL_YELLOWBAR, PAL_REDBAR
-PalPacket_Black: ; 72781 (1c:6781)
+PalPacket_Black:
PAL_SET PAL_BLACK, PAL_BLACK, PAL_BLACK, PAL_BLACK
-PalPacket_TownMap: ; 72791 (1c:6791)
+PalPacket_TownMap:
PAL_SET PAL_TOWNMAP, 0, 0, 0
-PalPacket_Pokedex: ; 727a1 (1c:67a1)
+PalPacket_Pokedex:
PAL_SET PAL_BROWNMON, 0, 0, 0
-PalPacket_Slots: ; 727b1 (1c:67b1)
+PalPacket_Slots:
PAL_SET PAL_SLOTS1, PAL_SLOTS2, PAL_SLOTS3, PAL_SLOTS4
-PalPacket_Titlescreen: ; 727c1 (1c:67c1)
+PalPacket_Titlescreen:
PAL_SET PAL_LOGO2, PAL_LOGO1, PAL_MEWMON, PAL_PURPLEMON
-PalPacket_TrainerCard: ; 727d1 (1c:67d1)
+PalPacket_TrainerCard:
PAL_SET PAL_MEWMON, PAL_BADGE, PAL_REDMON, PAL_YELLOWMON
-PalPacket_Generic: ; 727e1 (1c:67e1)
+PalPacket_Generic:
PAL_SET PAL_MEWMON, 0, 0, 0
-PalPacket_NidorinoIntro: ; 727f1 (1c:67f1)
+PalPacket_NidorinoIntro:
PAL_SET PAL_PURPLEMON, PAL_BLACK, 0, 0
-PalPacket_GameFreakIntro: ; 72801 (1c:6801)
+PalPacket_GameFreakIntro:
PAL_SET PAL_GAMEFREAK, PAL_REDMON, PAL_VIRIDIAN, PAL_BLUEMON
-UnknownPalPacket_72811: ; 72811 (1c:6811)
+UnknownPalPacket_72811:
db $51,$25,$0,$25,$0,$25,$0,$25,$0,$0,$0,$0,$0,$0,$0,$0
-UnknownPalPacket_72821: ; 72821 (1c:6821)
+UnknownPalPacket_72821:
db $51,$25,$0,$27,$0,$25,$0,$25,$0,$0,$0,$0,$0,$0,$0,$0
-PalTrnPacket: ; 72831 (1c:6831)
+PalTrnPacket:
PAL_TRN
-MltReq1Packet: ; 72841 (1c:6841)
+MltReq1Packet:
MLT_REQ 1
-MltReq2Packet: ; 72851 (1c:6851)
+MltReq2Packet:
MLT_REQ 2
-ChrTrnPacket: ; 72861 (1c:6861)
+ChrTrnPacket:
CHR_TRN 0, 0
-PctTrnPacket: ; 72871 (1c:6871)
+PctTrnPacket:
PCT_TRN
-MaskEnFreezePacket: ; 72881 (1c:6881)
+MaskEnFreezePacket:
MASK_EN 1
-MaskEnCancelPacket: ; 72891 (1c:6891)
+MaskEnCancelPacket:
MASK_EN 0
; These are DATA_SND packets containing SNES code.
@@ -245,4 +245,4 @@ DataSnd_72911: DATA_SND $810, $0, 11 ; 72911 (1c:6911)
db $EA ; nop
db $60 ; rts
db $EA ; nop
- db $EA ; nop \ No newline at end of file
+ db $EA ; nop
diff --git a/data/slot_machine_wheels.asm b/data/slot_machine_wheels.asm
index dc9accca..88a89822 100755
--- a/data/slot_machine_wheels.asm
+++ b/data/slot_machine_wheels.asm
@@ -1,4 +1,4 @@
-SlotMachineWheel1: ; 37c15 (d:7c15)
+SlotMachineWheel1:
dw SLOTS7
dw SLOTSMOUSE
dw SLOTSFISH
@@ -18,7 +18,7 @@ SlotMachineWheel1: ; 37c15 (d:7c15)
dw SLOTSMOUSE
dw SLOTSFISH
-SlotMachineWheel2: ; 37c39 (d:7c39)
+SlotMachineWheel2:
dw SLOTS7
dw SLOTSFISH
dw SLOTSCHERRY
@@ -38,7 +38,7 @@ SlotMachineWheel2: ; 37c39 (d:7c39)
dw SLOTSFISH
dw SLOTSCHERRY
-SlotMachineWheel3: ; 37c5d (d:7c5d)
+SlotMachineWheel3:
dw SLOTS7
dw SLOTSBIRD
dw SLOTSFISH
diff --git a/data/special_warps.asm b/data/special_warps.asm
index e883f3e2..27837109 100755
--- a/data/special_warps.asm
+++ b/data/special_warps.asm
@@ -1,7 +1,7 @@
; Format: (size 2 bytes)
; 00: target map ID
; 01: which dungeon warp in the source map was used
-DungeonWarpList: ; 6133 (1:6133)
+DungeonWarpList:
db SEAFOAM_ISLANDS_2,$01
db SEAFOAM_ISLANDS_2,$02
db SEAFOAM_ISLANDS_3,$01
@@ -16,7 +16,7 @@ DungeonWarpList: ; 6133 (1:6133)
db MANSION_2,$03
db $FF
-DungeonWarpData: ; 614c (1:614c)
+DungeonWarpData:
FLYWARP_DATA SEAFOAM_ISLANDS_2_WIDTH,7,18
FLYWARP_DATA SEAFOAM_ISLANDS_2_WIDTH,7,23
FLYWARP_DATA SEAFOAM_ISLANDS_3_WIDTH,7,19
@@ -34,32 +34,32 @@ DungeonWarpData: ; 614c (1:614c)
; db Map_id
; FLYWARP_DATA [Map Width][Y-pos][X-pos]
; db Tileset_id
-FirstMapSpec: ; 6194 (1:6194)
+FirstMapSpec:
db REDS_HOUSE_2F
FLYWARP_DATA REDS_HOUSE_2F_WIDTH,6,3
db REDS_HOUSE_2
-TradeCenterSpec1: ; 619a (1:619a)
+TradeCenterSpec1:
db TRADE_CENTER
FLYWARP_DATA TRADE_CENTER_WIDTH,4,3
db CLUB
-TradeCenterSpec2: ; 61a3 (1:61a3)
+TradeCenterSpec2:
db TRADE_CENTER
FLYWARP_DATA TRADE_CENTER_WIDTH,4,6
db CLUB
-ColosseumSpec1: ; 61ac (1:61ac)
+ColosseumSpec1:
db COLOSSEUM
FLYWARP_DATA COLOSSEUM_WIDTH,4,3
db CLUB
-ColosseumSpec2: ; 61b3 (1:61b3)
+ColosseumSpec2:
db COLOSSEUM
FLYWARP_DATA COLOSSEUM_WIDTH,4,6
db CLUB
-FlyWarpDataPtr: ; 61bc (1:61bc)
+FlyWarpDataPtr:
db PALLET_TOWN, 0
dw PalletTownFlyWarp
db VIRIDIAN_CITY, 0
@@ -91,29 +91,29 @@ FlyWarpDataPtr: ; 61bc (1:61bc)
; [Event Displacement][Y-block][X-block][Y-sub_block][X-sub_block]
; Macro Format:
; FLYWARP_DATA [Map Width][Y-pos][X-pos]
-PalletTownFlyWarp: ; 61f0 (1:61f0)
+PalletTownFlyWarp:
FLYWARP_DATA PALLET_TOWN_WIDTH, 6, 5
-ViridianCityFlyWarp: ; 61f6 (1:61f6)
+ViridianCityFlyWarp:
FLYWARP_DATA VIRIDIAN_CITY_WIDTH, 26, 23
-PewterCityFlyWarp: ; 61fc (1:61fc)
+PewterCityFlyWarp:
FLYWARP_DATA PEWTER_CITY_WIDTH, 26, 13
-CeruleanCityFlyWarp: ; 6202 (1:6202)
+CeruleanCityFlyWarp:
FLYWARP_DATA CERULEAN_CITY_WIDTH, 18, 19
-LavenderTownFlyWarp: ; 6208 (1:6208)
+LavenderTownFlyWarp:
FLYWARP_DATA LAVENDER_TOWN_WIDTH, 6, 3
-VermilionCityFlyWarp: ; 620e (1:620e)
+VermilionCityFlyWarp:
FLYWARP_DATA VERMILION_CITY_WIDTH, 4, 11
-CeladonCityFlyWarp: ; 6214 (1:6214)
+CeladonCityFlyWarp:
FLYWARP_DATA CELADON_CITY_WIDTH, 10, 41
-FuchsiaCityFlyWarp: ; 621a (1:621a)
+FuchsiaCityFlyWarp:
FLYWARP_DATA FUCHSIA_CITY_WIDTH, 28, 19
-CinnabarIslandFlyWarp: ; 6220 (1:6220)
+CinnabarIslandFlyWarp:
FLYWARP_DATA CINNABAR_ISLAND_WIDTH, 12, 11
-IndigoPlateauFlyWarp: ; 6226 (1:6226)
+IndigoPlateauFlyWarp:
FLYWARP_DATA INDIGO_PLATEAU_WIDTH, 6, 9
-SaffronCityFlyWarp: ; 622c (1:622c)
+SaffronCityFlyWarp:
FLYWARP_DATA SAFFRON_CITY_WIDTH, 30, 9
-Route4FlyWarp: ; 6232 (1:6232)
+Route4FlyWarp:
FLYWARP_DATA ROUTE_4_WIDTH, 6, 11
-Route10FlyWarp: ; 6238 (1:6238)
- FLYWARP_DATA ROUTE_10_WIDTH, 20, 11 \ No newline at end of file
+Route10FlyWarp:
+ FLYWARP_DATA ROUTE_10_WIDTH, 20, 11
diff --git a/data/sprite_sets.asm b/data/sprite_sets.asm
index 50e50e07..d74c9d2f 100755
--- a/data/sprite_sets.asm
+++ b/data/sprite_sets.asm
@@ -1,4 +1,4 @@
-MapSpriteSets: ; 141e6 (5:41e6)
+MapSpriteSets:
db $01 ; PALLET_TOWN
db $01 ; VIRIDIAN_CITY
db $02 ; PEWTER_CITY
@@ -44,7 +44,7 @@ MapSpriteSets: ; 141e6 (5:41e6)
; 01: coordinate of dividing line
; 02: sprite set ID if in the West or North side
; 03: sprite set ID if in the East or South side
-SplitMapSpriteSets: ; 1402b (5:420b)
+SplitMapSpriteSets:
db $02,$25,$02,$01 ; $f1
db $02,$32,$02,$03 ; $f2
db $01,$39,$04,$08 ; $f3
@@ -58,7 +58,7 @@ SplitMapSpriteSets: ; 1402b (5:420b)
db $01,$11,$05,$07 ; $fb
db $01,$03,$07,$03 ; $fc
-SpriteSets: ; 1423d (5:423d)
+SpriteSets:
; sprite set $01
db SPRITE_PIKACHU
db SPRITE_BLUE
@@ -189,7 +189,7 @@ SpriteSets: ; 1423d (5:423d)
db SPRITE_BALL
db SPRITE_OMANYTE
-SpriteSheetPointerTable: ; 142a9 (5:42a9)
+SpriteSheetPointerTable:
; SPRITE_RED
dw RedSprite
db $c0 ; byte count
diff --git a/data/super_rod.asm b/data/super_rod.asm
index fa133c77..1303edbb 100755
--- a/data/super_rod.asm
+++ b/data/super_rod.asm
@@ -1,4 +1,4 @@
-FishingSlots:: ; f5eda (3d:5eda)
+FishingSlots::
db PALLET_TOWN,STARYU,10,TENTACOOL,10,STARYU,5,TENTACOOL,20
db VIRIDIAN_CITY,POLIWAG,5,POLIWAG,10,POLIWAG,15,POLIWAG,10
db CERULEAN_CITY,GOLDEEN,25,GOLDEEN,30,SEAKING,30,SEAKING,40
diff --git a/data/tileset_headers.asm b/data/tileset_headers.asm
index 73e51e86..c85a51e5 100755
--- a/data/tileset_headers.asm
+++ b/data/tileset_headers.asm
@@ -1,4 +1,4 @@
-Tilesets: ; c558 (3:4558)
+Tilesets:
tileset Overworld_Block, Overworld_GFX, Overworld_Coll, $FF,$FF,$FF, $52, OUTDOOR
tileset RedsHouse1_Block, RedsHouse1_GFX, RedsHouse1_Coll, $FF,$FF,$FF, $FF, INDOOR
diff --git a/data/tm_prices.asm b/data/tm_prices.asm
index 2aa72f28..ccc8be05 100755
--- a/data/tm_prices.asm
+++ b/data/tm_prices.asm
@@ -1,4 +1,4 @@
-TechnicalMachinePrices: ; f65f5 (3d:65f5)
+TechnicalMachinePrices:
; In thousands (nybbles).
dn 3, 2 ; TM_01, TM_02
dn 2, 1 ; TM_03, TM_04
diff --git a/data/tms.asm b/data/tms.asm
index e41a60e9..d61392c4 100755
--- a/data/tms.asm
+++ b/data/tms.asm
@@ -1,4 +1,4 @@
-TechnicalMachines: ; 13773 (4:7773)
+TechnicalMachines:
db MEGA_PUNCH
db RAZOR_WIND
db SWORDS_DANCE
diff --git a/data/town_map_entries.asm b/data/town_map_entries.asm
index 5223f435..e9ced645 100755
--- a/data/town_map_entries.asm
+++ b/data/town_map_entries.asm
@@ -1,4 +1,4 @@
-ExternalMapEntries: ; 7139c (1c:539c)
+ExternalMapEntries:
EMAP $2,$B,PalletTownName
EMAP $2,$8,ViridianCityName
EMAP $2,$3,PewterCityName
@@ -37,7 +37,7 @@ ExternalMapEntries: ; 7139c (1c:539c)
EMAP $A,$1,Route24Name
EMAP $B,$0,Route25Name
-InternalMapEntries: ; 7140b (1c:540b)
+InternalMapEntries:
IMAP OAKS_LAB, $2,$B,PalletTownName
IMAP VIRIDIAN_GYM, $2,$8,ViridianCityName
IMAP VIRIDIAN_FOREST_ENTRANCE, $2,$6,Route2Name
diff --git a/data/town_map_order.asm b/data/town_map_order.asm
index b43ed010..10131a31 100755
--- a/data/town_map_order.asm
+++ b/data/town_map_order.asm
@@ -1,4 +1,4 @@
-TownMapOrder: ; 70f95 (1c:4f95)
+TownMapOrder:
db PALLET_TOWN
db ROUTE_1
db VIRIDIAN_CITY
diff --git a/data/trades.asm b/data/trades.asm
index 77fc55f4..4fa52d30 100755
--- a/data/trades.asm
+++ b/data/trades.asm
@@ -1,4 +1,4 @@
-TradeMons: ; 71c1d (1c:5c1d)
+TradeMons:
; givemonster, getmonster, textstring, nickname (11 bytes), 14 bytes total
db LICKITUNG, DUGTRIO, 0,"GURIO@@@@@@"
db CLEFAIRY, MR_MIME, 0,"MILES@@@@@@"
diff --git a/data/trainer_moves.asm b/data/trainer_moves.asm
index dbff96f4..696253e3 100755
--- a/data/trainer_moves.asm
+++ b/data/trainer_moves.asm
@@ -3,7 +3,7 @@
; entry = trainerclass, trainerid, moveset+, 0
; moveset = partymon location, partymon's move, moveid
-SpecialTrainerMoves: ; 39c6b (e:5c6b)
+SpecialTrainerMoves:
db BUG_CATCHER,$f
db 2,2,TACKLE
db 2,3,STRING_SHOT
diff --git a/data/trainer_parties.asm b/data/trainer_parties.asm
index 8f75f41e..48de8bce 100755
--- a/data/trainer_parties.asm
+++ b/data/trainer_parties.asm
@@ -1,4 +1,4 @@
-TrainerDataPointers: ; 39dd1 (e:5dd1)
+TrainerDataPointers:
dw YoungsterData
dw BugCatcherData
dw LassData
diff --git a/data/trainer_types.asm b/data/trainer_types.asm
index bb8bd0ec..ef02c8a8 100755
--- a/data/trainer_types.asm
+++ b/data/trainer_types.asm
@@ -1,11 +1,11 @@
-FemaleTrainerList:: ; 33c3 (0:33c3)
+FemaleTrainerList::
db OPP_LASS
db OPP_JR_TRAINER_F
db OPP_BEAUTY
db OPP_COOLTRAINER_F
db $FF
-EvilTrainerList:: ; 33c8 (0:33c8)
+EvilTrainerList::
db OPP_JUGGLER_X
db OPP_GAMBLER
db OPP_ROCKER
diff --git a/data/type_effects.asm b/data/type_effects.asm
index 8885ae19..1321a3d9 100755
--- a/data/type_effects.asm
+++ b/data/type_effects.asm
@@ -1,4 +1,4 @@
-TypeEffects: ; 3e5fa (f:65fa)
+TypeEffects:
; format: attacking type, defending type, damage multiplier
; the multiplier is a (decimal) fixed-point number:
; 20 is ×2.0
diff --git a/data/warp_tile_ids.asm b/data/warp_tile_ids.asm
index 672d7382..4edc48a5 100755
--- a/data/warp_tile_ids.asm
+++ b/data/warp_tile_ids.asm
@@ -1,4 +1,4 @@
-WarpTileIDPointers: ; c215 (3:4215)
+WarpTileIDPointers:
dw OverworldWarpTileIDs
dw RedsHouse1WarpTileIDs
dw MartWarpTileIDs
@@ -25,65 +25,65 @@ WarpTileIDPointers: ; c215 (3:4215)
dw PlateauWarpTileIDs
dw BeachHouseWarpTileIDs
-OverworldWarpTileIDs: ; c247 (3:4247)
+OverworldWarpTileIDs:
db $1B,$58,$FF
-ForestGateWarpTileIDs: ; c24a (3:424a)
-MuseumWarpTileIDs: ; c24a (3:424a)
-GateWarpTileIDs: ; c24a (3:424a)
+ForestGateWarpTileIDs:
+MuseumWarpTileIDs:
+GateWarpTileIDs:
db $3B
-RedsHouse1WarpTileIDs: ; c24b (3:424b)
-RedsHouse2WarpTileIDs: ; c24b (3:424b)
+RedsHouse1WarpTileIDs:
+RedsHouse2WarpTileIDs:
db $1A,$1C,$FF
-MartWarpTileIDs: ; c24e (3:424e)
-PokecenterWarpTileIDs: ; c24e (3:424e)
+MartWarpTileIDs:
+PokecenterWarpTileIDs:
db $5E,$FF
-ForestWarpTileIDs: ; c250 (3:4250)
+ForestWarpTileIDs:
db $5A,$5C,$3A,$FF
-DojoWarpTileIDs: ; c254 (3:4254)
-GymWarpTileIDs: ; c254 (3:4254)
+DojoWarpTileIDs:
+GymWarpTileIDs:
db $4A,$FF
-HouseWarpTileIDs: ; c256 (3:4256)
+HouseWarpTileIDs:
db $54,$5C,$32,$FF
-ShipWarpTileIDs: ; c25a (3:425a)
+ShipWarpTileIDs:
db $37,$39,$1E,$4A,$FF
-InteriorWarpTileIDs: ; c25f (3:425f)
+InteriorWarpTileIDs:
db $15,$55,$04,$FF
-CavernWarpTileIDs: ; c263 (3:4263)
+CavernWarpTileIDs:
db $18,$1A,$22,$FF
-LobbyWarpTileIDs: ; c267 (3:4267)
+LobbyWarpTileIDs:
db $1A,$1C,$38,$FF
-MansionWarpTileIDs: ; c26b (3:426b)
+MansionWarpTileIDs:
db $1A,$1C,$53,$FF
-LabWarpTileIDs: ; c26f (3:426f)
+LabWarpTileIDs:
db $34,$FF
-FacilityWarpTileIDs: ; c271 (3:4571)
+FacilityWarpTileIDs:
db $43,$58,$20
-CemeteryWarpTileIDs: ; c274 (3:4274)
+CemeteryWarpTileIDs:
db $1B
-UndergroundWarpTileIDs: ; c275 (3:4275)
+UndergroundWarpTileIDs:
db $13,$FF
-PlateauWarpTileIDs: ; c277 (3:4277)
+PlateauWarpTileIDs:
db $1B,$3B
-ShipPortWarpTileIDs: ; c279 (3:4279)
-ClubWarpTileIDs: ; c279 (3:4279)
+ShipPortWarpTileIDs:
+ClubWarpTileIDs:
db $FF
-BeachHouseWarpTileIDs: ; c27a (3:427a)
- db $FF \ No newline at end of file
+BeachHouseWarpTileIDs:
+ db $FF
diff --git a/data/wild_mons.asm b/data/wild_mons.asm
index 15cbccc7..c1c44e95 100755
--- a/data/wild_mons.asm
+++ b/data/wild_mons.asm
@@ -1,4 +1,4 @@
-WildDataPointers: ; cb95 (3:4b95)
+WildDataPointers:
dw NoMons ; PALLET_TOWN
dw NoMons ; VIRIDIAN_CITY
dw NoMons ; PEWTER_CITY
diff --git a/engine/HoF_room_pc.asm b/engine/HoF_room_pc.asm
index 51575a9d..31d11677 100755
--- a/engine/HoF_room_pc.asm
+++ b/engine/HoF_room_pc.asm
@@ -287,7 +287,7 @@ ShowTheEndGFX:
call PlaceString
jp FadeInCreditsText
-TheEndTextString: ; 74229 (1d:4229)
+TheEndTextString:
; "T H E E N D"
db $60, " ", $62, " ", $64, " ", $64, " ", $66, " ", $68, "@"
db $61, " ", $63, " ", $65, " ", $65, " ", $67, " ", $69, "@"
diff --git a/engine/add_party_mon.asm b/engine/add_party_mon.asm
index b20913dd..1aa6bd16 100644
--- a/engine/add_party_mon.asm
+++ b/engine/add_party_mon.asm
@@ -1,4 +1,4 @@
-_AddPartyMon: ; f161 (3:7161)
+_AddPartyMon:
; Adds a new mon to the player's or enemy's party.
; [wMonDataLocation] is used in an unusual way in this function.
; If the lower nybble is 0, the mon is added to the player's party, else the enemy's.
@@ -251,10 +251,10 @@ _AddPartyMon: ; f161 (3:7161)
scf
ret
-LoadMovePPs: ; f2f9 (3:72f9)
+LoadMovePPs:
call GetPredefRegisters
; fallthrough
-AddPartyMon_WriteMovePP: ; f2fc (3:72fc)
+AddPartyMon_WriteMovePP:
ld b, NUM_MOVES
.pploop
ld a, [hli] ; read move ID
@@ -283,7 +283,7 @@ AddPartyMon_WriteMovePP: ; f2fc (3:72fc)
; adds enemy mon [wcf91] (at position [wWhichPokemon] in enemy list) to own party
; used in the cable club trade center
-_AddEnemyMonToPlayerParty: ; f323 (3:7323)
+_AddEnemyMonToPlayerParty:
ld hl, wPartyCount
ld a, [hl]
cp PARTY_LENGTH
@@ -342,4 +342,4 @@ _AddEnemyMonToPlayerParty: ; f323 (3:7323)
ld hl, wPokedexSeen
call FlagAction ; add to seen pokemon
and a
- ret ; return success \ No newline at end of file
+ ret ; return success
diff --git a/engine/animated_objects_3e.asm b/engine/animated_objects_3e.asm
index 9d21ff8b..63a94350 100755
--- a/engine/animated_objects_3e.asm
+++ b/engine/animated_objects_3e.asm
@@ -1,4 +1,4 @@
-ClearObjectAnimationBuffers: ; fbb5a (3e:7b5a)
+ClearObjectAnimationBuffers:
ld hl, wAnimatedObjectsData
ld bc, wAnimatedObjectsDataEnd - wAnimatedObjectsData
xor a
diff --git a/engine/bank3c.asm b/engine/bank3c.asm
index d3bcc897..7ae059e7 100644
--- a/engine/bank3c.asm
+++ b/engine/bank3c.asm
@@ -1,7 +1,7 @@
INCLUDE "engine/pikachu_pcm.asm"
INCLUDE "engine/overworld/advance_player_sprite.asm"
-ResetStatusAndHalveMoneyOnBlackout: ; f0274 (3c:4274)
+ResetStatusAndHalveMoneyOnBlackout:
; Reset player status on blackout.
xor a
ld [wd435], a
@@ -50,7 +50,7 @@ ResetStatusAndHalveMoneyOnBlackout: ; f0274 (3c:4274)
ld [wJoyIgnore], a
predef_jump HealParty
-SetMapSpecificScriptFlagsOnMapReload: ; f02da (3c:42da)
+SetMapSpecificScriptFlagsOnMapReload:
ld a, [wCurMap]
cp VERMILION_GYM ; ??? new thing about verm gym?
jr z, .verm_gym
@@ -102,16 +102,16 @@ SetMapSpecificScriptFlagsOnMapReload: ; f02da (3c:42da)
db AGATHAS_ROOM
db $ff
-BeachHouse_GFX: ; f0314 (3c:4314)
+BeachHouse_GFX:
INCBIN "gfx/tilesets/beachhouse.2bpp"
-BeachHouse_Block: ; f0914 (3c:4914)
+BeachHouse_Block:
INCBIN "gfx/blocksets/beachhouse.bst"
-Func_f0a54: ; f0a54 (3c:4a54)
+Func_f0a54:
ret
-LoadUnusedBluesHouseMissableObjectData: ; f0a55 (3c:4a55)
+LoadUnusedBluesHouseMissableObjectData:
; referenced in an unused function
ld hl, .MissableObjectsMaps
.loop
@@ -177,13 +177,13 @@ TryApplyPikachuMovementData: ; f0a82
callab RefreshPikachuFollow
ret
-Pic_f0abf: ; f0abf (3c:4abf)
+Pic_f0abf:
INCBIN "gfx/pikachu/unknown_f0abf.pic"
-GFX_f0b64: ; f0b64 (3c:4b64)
+GFX_f0b64:
INCBIN "gfx/pikachu/unknown_f0b64.2bpp"
-Pic_f0cf4: ; f0cf4 (3c:4cf4)
+Pic_f0cf4:
INCBIN "gfx/pikachu/unknown_f0cf4.pic"
-GFX_f0d82: ; f0d82 (3c:4d82)
+GFX_f0d82:
INCBIN "gfx/pikachu/unknown_f0d82.2bpp"
PokecenterChanseyText:
@@ -221,7 +221,7 @@ INCLUDE "scripts/mtmoonpokecenter2.asm"
INCLUDE "data/mapHeaders/beach_house.asm"
INCLUDE "scripts/beach_house.asm"
-BeachHouseBlockdata: ; f2388 (3c:6388)
+BeachHouseBlockdata:
INCBIN "maps/beach_house.blk"
INCLUDE "data/mapObjects/beach_house.asm"
diff --git a/engine/bank3d.asm b/engine/bank3d.asm
index fbf816b6..6efff351 100644
--- a/engine/bank3d.asm
+++ b/engine/bank3d.asm
@@ -3,7 +3,7 @@ INCLUDE "engine/battle/link_battle_versus_text.asm"
INCLUDE "engine/battle/unused_stats_functions.asm"
INCLUDE "engine/battle/scroll_draw_trainer_pic.asm"
-StarterPikachuBattleEntranceAnimation: ; f429f (3d:429f)
+StarterPikachuBattleEntranceAnimation:
coord hl, 0, 5
ld c, 0
.loop1
@@ -29,7 +29,7 @@ StarterPikachuBattleEntranceAnimation: ; f429f (3d:429f)
inc hl
jr .loop1
-.PlaceColumn: ; f42c2 (3d:f42c2)
+.PlaceColumn:
push hl
push de
push bc
@@ -53,7 +53,7 @@ StarterPikachuBattleEntranceAnimation: ; f429f (3d:429f)
INCLUDE "engine/battle/decrement_pp.asm"
-ModifyPikachuHappiness:: ; f430a (3d:430a)
+ModifyPikachuHappiness::
ld a, d
cp PIKAHAPPY_GYMLEADER
jr z, .checkanywhereinparty
@@ -142,7 +142,7 @@ ModifyPikachuHappiness:: ; f430a (3d:430a)
.done
ret
-HappinessChangeTable: ; f4385 (3d:4385)
+HappinessChangeTable:
; Increase
db 5, 3, 2 ; Gained a level
db 5, 3, 2 ; HP restore
@@ -157,7 +157,7 @@ HappinessChangeTable: ; f4385 (3d:4385)
db -5, -5, -10 ; Unknown (d = 10)
db -10, -10, -20 ; Unknown (d = 11)
-PikachuMoods: ; f43a6 (3d:43a6)
+PikachuMoods:
; Increase
db $8a ; Gained a level
db $83 ; HP restore
@@ -176,7 +176,7 @@ RedPicBack: INCBIN "pic/trainer/redb.pic"
OldManPic: INCBIN "pic/trainer/oldman.pic"
ProfOakPicBack: INCBIN "pic/ytrainer/prof.oakb.pic"
-LoadYellowTitleScreenGFX: ; f453f (3d:453f)
+LoadYellowTitleScreenGFX:
ld hl, PokemonLogoGraphics
ld de, vChars2
ld bc, 115 * $10
@@ -199,14 +199,14 @@ LoadYellowTitleScreenGFX: ; f453f (3d:453f)
call FarCopyData
ret
-TitleScreen_PlacePokemonLogo: ; f4578 (3d:4578)
+TitleScreen_PlacePokemonLogo:
coord hl, 2, 1
ld de, TitleScreenPokemonLogoTilemap
lb bc, 7, 16
call Bank3D_CopyBox
ret
-TitleScreen_PlacePikaSpeechBubble: ; f4585 (3d:4585)
+TitleScreen_PlacePikaSpeechBubble:
coord hl, 6, 4
ld de, TitleScreenPikaBubbleTilemap
lb bc, 4, 7
@@ -217,7 +217,7 @@ TitleScreen_PlacePikaSpeechBubble: ; f4585 (3d:4585)
ld [hl], $65
ret
-TitleScreen_PlacePikachu: ; f459a (3d:459a)
+TitleScreen_PlacePikachu:
coord hl, 4, 8
ld de, TitleScreenPikachuTilemap
lb bc, 9, 12
@@ -236,7 +236,7 @@ TitleScreen_PlacePikachu: ; f459a (3d:459a)
call CopyData
ret
-TitleScreenPikachuEyesOAMData: ; f45c7 (3d:45c7)
+TitleScreenPikachuEyesOAMData:
db $60, $40, $f1, $22
db $60, $48, $f0, $22
db $68, $40, $f3, $22
@@ -246,7 +246,7 @@ TitleScreenPikachuEyesOAMData: ; f45c7 (3d:45c7)
db $68, $60, $f2, $02
db $68, $68, $f3, $02
-Bank3D_CopyBox: ; f45e7 (3d:45e7)
+Bank3D_CopyBox:
; copy cxb (xy) screen area from de to hl
.row
push bc
@@ -265,7 +265,7 @@ Bank3D_CopyBox: ; f45e7 (3d:45e7)
jr nz, .row
ret
-TitleScreenPokemonLogoTilemap: ; f45f9 (3d:45f9)
+TitleScreenPokemonLogoTilemap:
; 16x7 (xy)
db $f4, $f4, $f4, $f4, $f4, $f4, $49, $f4, $72, $30, $f4, $f4, $f4, $f4, $f4, $f4
db $fd, $01, $02, $03, $04, $05, $06, $07, $08, $09, $0a, $0b, $f4, $0d, $0e, $0f
@@ -275,18 +275,18 @@ TitleScreenPokemonLogoTilemap: ; f45f9 (3d:45f9)
db $f4, $41, $42, $43, $44, $45, $46, $47, $48, $f4, $4a, $4b, $4c, $4d, $4e, $4f
db $f4, $6a, $6b, $6c, $6d, $f4, $f4, $f4, $f4, $f4, $f4, $6e, $6f, $70, $71, $f4
-Pointer_f4669: ; f4669 (3d:4669)
+Pointer_f4669:
; Unreferenced
db $47, $48, $49, $4a, $4b, $4c, $4d, $4e, $4f, $5f
-TitleScreenPikaBubbleTilemap: ; f4673 (3d:4673)
+TitleScreenPikaBubbleTilemap:
; 7x4 (xy)
db $24, $25, $66, $67, $68, $69, $2a
db $50, $51, $52, $53, $54, $55, $56
db $57, $58, $59, $5a, $5b, $5c, $5d
db $6d, $5e, $5f, $60, $61, $62, $63
-TitleScreenPikachuTilemap: ; f468f (3d:468f)
+TitleScreenPikachuTilemap:
; 12x9 (xy)
db $80, $81, $82, $83, $00, $00, $00, $00, $84, $85, $86, $87
db $88, $89, $8a, $8b, $8c, $8d, $8d, $8e, $8f, $8a, $90, $91
@@ -306,11 +306,11 @@ YellowLogoGraphicsEnd:
INCLUDE "engine/menu/link_menu.asm"
-HandleMenuInputDouble: ; f5a40 (3d:5a40)
+HandleMenuInputDouble:
xor a
ld [wPartyMenuAnimMonEnabled], a
-HandleMenuInputPokemonSelectionDouble: ; f5a44 (3d:5a44)
+HandleMenuInputPokemonSelectionDouble:
ld a, [H_DOWNARROWBLINKCNT1]
push af
ld a, [H_DOWNARROWBLINKCNT2]
@@ -380,7 +380,7 @@ HandleMenuInputPokemonSelectionDouble: ; f5a44 (3d:5a44)
ld a, [hJoy5]
ret
-.UpdateCursorTile: ; f5ab0 (3d:5ab0)
+.UpdateCursorTile:
ld a, [wTopMenuItemY]
and a
jr z, .asm_f5ac0
@@ -436,7 +436,7 @@ HandleMenuInputPokemonSelectionDouble: ; f5a44 (3d:5a44)
ld [wLastMenuItem], a
ret
-PrintStrengthTxt: ; f5b06 (3d:5b06)
+PrintStrengthTxt:
ld hl, wd728
set 0, [hl]
ld hl, Text_f5b17
@@ -444,7 +444,7 @@ PrintStrengthTxt: ; f5b06 (3d:5b06)
ld hl, Text_f5b28
jp PrintText
-Text_f5b17: ; f5b17 (3d:5b17)
+Text_f5b17:
TX_FAR _UsedStrengthText ; 2d:417e
TX_ASM
ld a, [wcf91]
@@ -452,11 +452,11 @@ Text_f5b17: ; f5b17 (3d:5b17)
call Delay3
jp TextScriptEnd
-Text_f5b28: ; f5b28 (3d:5b28)
+Text_f5b28:
TX_FAR _CanMoveBouldersText ; 2d:4193
db "@"
-IsSurfingAllowed: ; f5b2d (3d:5b2d)
+IsSurfingAllowed:
; Returns whether surfing is allowed in bit 1 of wd728.
; Surfing isn't allowed on the Cycling Road or in the lowest level of the
; Seafoam Islands before the current has been slowed with boulders.
@@ -483,19 +483,19 @@ IsSurfingAllowed: ; f5b2d (3d:5b2d)
ld hl, CyclingIsFunText
jp PrintText
-CoordsData_f5b64: ; f5b64 (3d:5b64)
+CoordsData_f5b64:
db 11, 07
db $ff
-CurrentTooFastText: ; f5b67 (3d:5b67)
+CurrentTooFastText:
TX_FAR _CurrentTooFastText ; 2d:41ab
db "@"
-CyclingIsFunText: ; f5b6c (3d:5b6c)
+CyclingIsFunText:
TX_FAR _CyclingIsFunText ; 2d:41ca
db "@"
-AddItemToInventory_: ; f5b70 (3d:5b70)
+AddItemToInventory_:
ld a, [wItemQuantity] ; a = item quantity
push af
push bc
@@ -589,7 +589,7 @@ AddItemToInventory_: ; f5b70 (3d:5b70)
; hl = address of inventory (either wNumBagItems or wNumBoxItems)
; [wWhichPokemon] = index (within the inventory) of the item to remove
; [wItemQuantity] = quantity to remove
-RemoveItemFromInventory_: ; f5be1 (3d:5be1)
+RemoveItemFromInventory_:
push hl
inc hl
ld a, [wWhichPokemon] ; index (within the inventory) of the item being removed
@@ -647,7 +647,7 @@ BlankLeaderNames: INCBIN "gfx/blank_leader_names.2bpp"
CircleTile: INCBIN "gfx/circle_tile.2bpp"
BadgeNumbersTileGraphics: INCBIN "gfx/badge_numbers.2bpp"
-ReadSuperRodData: ; f5ea4 (3d:5ea4)
+ReadSuperRodData:
ld a, [wCurMap]
ld c, a
ld hl, FishingSlots
@@ -667,7 +667,7 @@ ReadSuperRodData: ; f5ea4 (3d:5ea4)
ld de, $0
ret
-GenerateRandomFishingEncounter: ; f5ec1 (3d:5ec1)
+GenerateRandomFishingEncounter:
call Random
cp $66
jr c, .asm_f5ed6
@@ -694,4 +694,4 @@ INCLUDE "engine/multiply_divide.asm"
INCLUDE "engine/give_pokemon.asm"
INCLUDE "engine/battle/get_trainer_name.asm"
INCLUDE "engine/random.asm"
-INCLUDE "engine/predefs.asm" \ No newline at end of file
+INCLUDE "engine/predefs.asm"
diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm
index 74bb0573..31148392 100755
--- a/engine/battle/animations.asm
+++ b/engine/battle/animations.asm
@@ -1,6 +1,6 @@
; Draws a "frame block". Frame blocks are blocks of tiles that are put
; together to form frames in battle animations.
-DrawFrameBlock: ; 78000 (1e:4000)
+DrawFrameBlock:
ld l, c
ld h, b
ld a, [hli]
@@ -188,7 +188,7 @@ DrawFrameBlock: ; 78000 (1e:4000)
.done
ret
-PlayAnimation: ; 78124 (1e:4124)
+PlayAnimation:
xor a
ld [$FF8B], a ; it looks like nothing reads this
ld [wSubAnimTransform], a
@@ -285,7 +285,7 @@ PlayAnimation: ; 78124 (1e:4124)
.AnimationOver ; 417B
ret
-LoadSubanimation: ; 781b5 (1e:41b5)
+LoadSubanimation:
ld a, [wSubAnimAddrPtr + 1]
ld h, a
ld a, [wSubAnimAddrPtr]
@@ -335,7 +335,7 @@ LoadSubanimation: ; 781b5 (1e:41b5)
; called if the subanimation type is not 5
; sets the transform to 0 (i.e. no transform) if it's the player's turn
; sets the transform to the subanimation type if it's the enemy's turn
-GetSubanimationTransform1: ; 781fb (1e:41fb)
+GetSubanimationTransform1:
ld b, a
ld a, [H_WHOSETURN]
and a
@@ -347,7 +347,7 @@ GetSubanimationTransform1: ; 781fb (1e:41fb)
; called if the subanimation type is 5
; sets the transform to 2 (i.e. horizontal and vertical flip) if it's the player's turn
; sets the transform to 0 (i.e. no transform) if it's the enemy's turn
-GetSubanimationTransform2: ; 78203 (1e:4203)
+GetSubanimationTransform2:
ld a, [H_WHOSETURN]
and a
ld a, 2 << 5
@@ -356,7 +356,7 @@ GetSubanimationTransform2: ; 78203 (1e:4203)
ret
; loads tile patterns for battle animations
-LoadAnimationTileset: ; 7820b (1e:420b)
+LoadAnimationTileset:
ld a, [wWhichBattleAnimTileset]
add a
add a
@@ -376,7 +376,7 @@ LoadAnimationTileset: ; 7820b (1e:420b)
ld c, a ; number of tiles
jp CopyVideoData ; load tileset
-AnimationTilesetPointers: ; 7822b (1e:422b)
+AnimationTilesetPointers:
db 79 ; number of tiles
dw AnimationTileset1
db $FF
@@ -389,16 +389,16 @@ AnimationTilesetPointers: ; 7822b (1e:422b)
dw AnimationTileset1
db $FF
-AnimationTileset1: ; 78237 (1e:4237)
+AnimationTileset1:
INCBIN "gfx/attack_anim_1.2bpp"
-AnimationTileset2: ; 78757 (1e:4757)
+AnimationTileset2:
INCBIN "gfx/attack_anim_2.2bpp"
-SlotMachineTiles2: ; 78bde (1e:4c17)
+SlotMachineTiles2:
INCBIN "gfx/slotmachine2.2bpp"
-MoveAnimation: ; 78d97 (1e:4d97)
+MoveAnimation:
push hl
push de
push bc
@@ -443,7 +443,7 @@ MoveAnimation: ; 78d97 (1e:4d97)
pop hl
ret
-ShareMoveAnimations: ; 78ddf (1e:4ddf)
+ShareMoveAnimations:
; some moves just reuse animations from status conditions
ld a, [H_WHOSETURN]
and a
@@ -466,7 +466,7 @@ ShareMoveAnimations: ; 78ddf (1e:4ddf)
ld [wAnimationID], a
ret
-PlayApplyingAttackAnimation: ; 78df6 (1e:4df6)
+PlayApplyingAttackAnimation:
; Generic animation that shows after the move's individual animation
; Different animation depending on whether the move has an additional effect and on whose turn it is
ld a, [wAnimationType]
@@ -483,7 +483,7 @@ PlayApplyingAttackAnimation: ; 78df6 (1e:4df6)
ld l, a
jp [hl]
-AnimationTypePointerTable: ; 78e08 (1e:4e08)
+AnimationTypePointerTable:
dw ShakeScreenVertically ; enemy mon has used a damaging move without a side effect
dw ShakeScreenHorizontallyHeavy ; enemy mon has used a damaging move with a side effect
dw ShakeScreenHorizontallySlow ; enemy mon has used a non-damaging move
@@ -491,33 +491,33 @@ AnimationTypePointerTable: ; 78e08 (1e:4e08)
dw ShakeScreenHorizontallyLight ; player mon has used a damaging move with a side effect
dw ShakeScreenHorizontallySlow2 ; player mon has used a non-damaging move
-ShakeScreenVertically: ; 78e14 (1e:4e14)
+ShakeScreenVertically:
call PlayApplyingAttackSound
ld b, 8
jp AnimationShakeScreenVertically
-ShakeScreenHorizontallyHeavy: ; 78e1c (1e:4e1c)
+ShakeScreenHorizontallyHeavy:
call PlayApplyingAttackSound
ld b, 8
jp AnimationShakeScreenHorizontallyFast
-ShakeScreenHorizontallySlow: ; 78e24 (1e:4e24)
+ShakeScreenHorizontallySlow:
lb bc, 6, 2
jr AnimationShakeScreenHorizontallySlow
-BlinkEnemyMonSprite: ; 78e29 (1e:4e29)
+BlinkEnemyMonSprite:
call PlayApplyingAttackSound
jp AnimationBlinkEnemyMon
-ShakeScreenHorizontallyLight: ; 78e2f (1e:4e2f)
+ShakeScreenHorizontallyLight:
call PlayApplyingAttackSound
ld b, 2
jp AnimationShakeScreenHorizontallyFast
-ShakeScreenHorizontallySlow2: ; 78e37 (1e:4e37)
+ShakeScreenHorizontallySlow2:
lb bc, 3, 2
-AnimationShakeScreenHorizontallySlow: ; 78e3a (1e:4e3a)
+AnimationShakeScreenHorizontallySlow:
push bc
push bc
.loop1
@@ -542,7 +542,7 @@ AnimationShakeScreenHorizontallySlow: ; 78e3a (1e:4e3a)
jr nz, AnimationShakeScreenHorizontallySlow
ret
-SetAnimationPalette: ; 78e5c (1e:4e5c)
+SetAnimationPalette:
ld a, [wOnSGB]
and a
ld a, $e4
@@ -574,7 +574,7 @@ SetAnimationPalette: ; 78e5c (1e:4e5c)
call UpdateGBCPal_OBP1
ret
-Func_78e98: ; 78e98 (1e:4e98)
+Func_78e98:
call SaveScreenTilesToBuffer2
xor a
ld [H_AUTOBGTRANSFERENABLED], a
@@ -587,14 +587,14 @@ Func_78e98: ; 78e98 (1e:4e98)
call LoadScreenTilesFromBuffer2
ld h, vBGMap1 / $100
-WriteLowerByteOfBGMapAndEnableBGTransfer: ; 78eb1 (1e:4eb1)
+WriteLowerByteOfBGMapAndEnableBGTransfer:
ld l, vBGMap0 & $ff
call BattleAnimCopyTileMapToVRAM
ld a, $1
ld [H_AUTOBGTRANSFERENABLED], a
ret
-PlaySubanimation: ; 78ebb (1e:4ebb)
+PlaySubanimation:
ld a, [wAnimSoundID]
cp a, $FF
jr z, .skipPlayingSound
@@ -660,7 +660,7 @@ PlaySubanimation: ; 78ebb (1e:4ebb)
ld [wSubAnimSubEntryAddr], a
jp .loop
-AnimationCleanOAM: ; 78f30 (1e:4f30)
+AnimationCleanOAM:
push hl
push de
push bc
@@ -675,7 +675,7 @@ AnimationCleanOAM: ; 78f30 (1e:4f30)
; this runs after each frame block is drawn in a subanimation
; it runs a particular special effect based on the animation ID
-DoSpecialEffectByAnimationId: ; 78f3f (1e:4f3f)
+DoSpecialEffectByAnimationId:
push hl
push de
push bc
@@ -698,7 +698,7 @@ DoSpecialEffectByAnimationId: ; 78f3f (1e:4f3f)
ret
; Format: Animation ID (1 byte), Address (2 bytes)
-AnimationIdSpecialEffects: ; 78f5d (1e:4f5d)
+AnimationIdSpecialEffects:
db MEGA_PUNCH
dw AnimationFlashScreen
@@ -773,7 +773,7 @@ AnimationIdSpecialEffects: ; 78f5d (1e:4f5d)
db $FF ; terminator
-DoBallTossSpecialEffects: ; 78fa6 (1e:4fa6)
+DoBallTossSpecialEffects:
ld a, [wcf91]
cp a, 3 ; is it a Master Ball or Ultra Ball?
jr nc, .skipFlashingEffect
@@ -828,7 +828,7 @@ DoBallTossSpecialEffects: ; 78fa6 (1e:4fa6)
ld [wSubAnimCounter], a
ret
-DoBallShakeSpecialEffects: ; 79001 (1e:5001)
+DoBallShakeSpecialEffects:
ld a, [wSubAnimCounter]
cp a, 4 ; is it the beginning of a shake?
jr nz, .skipPlayingSound
@@ -862,14 +862,14 @@ DoBallShakeSpecialEffects: ; 79001 (1e:5001)
ret
; plays a sound after the second frame of the poof animation
-DoPoofSpecialEffects: ; 79039 (1e:5039)
+DoPoofSpecialEffects:
ld a, [wSubAnimCounter]
cp a, 5
ret nz
ld a, SFX_BALL_POOF
jp PlaySound
-DoRockSlideSpecialEffects: ; 79044 (1e:5044)
+DoRockSlideSpecialEffects:
ld a, [wSubAnimCounter]
cp a, 12
ret nc
@@ -885,21 +885,21 @@ DoRockSlideSpecialEffects: ; 79044 (1e:5044)
ld b, 1
predef_jump PredefShakeScreenVertically ; shake vertically
-FlashScreenEveryEightFrameBlocks: ; 79062 (1e:5062)
+FlashScreenEveryEightFrameBlocks:
ld a, [wSubAnimCounter]
and a, 7 ; is the subanimation counter exactly 8?
call z, AnimationFlashScreen ; if so, flash the screen
ret
; flashes the screen if the subanimation counter is divisible by 4
-FlashScreenEveryFourFrameBlocks: ; 7906b (1e:506b)
+FlashScreenEveryFourFrameBlocks:
ld a, [wSubAnimCounter]
and a, 3
call z, AnimationFlashScreen
ret
; used for Explosion and Selfdestruct
-DoExplodeSpecialEffects: ; 79074 (1e:5074)
+DoExplodeSpecialEffects:
ld a, [wSubAnimCounter]
cp a, 1 ; is it the end of the subanimation?
jr nz, FlashScreenEveryFourFrameBlocks
@@ -908,7 +908,7 @@ DoExplodeSpecialEffects: ; 79074 (1e:5074)
jp AnimationHideMonPic ; make pokemon disappear
; flashes the screen when subanimation counter is 1 modulo 4
-DoBlizzardSpecialEffects: ; 79081 (1e:5081)
+DoBlizzardSpecialEffects:
ld a, [wSubAnimCounter]
cp a, 13
jp z, AnimationFlashScreen
@@ -922,7 +922,7 @@ DoBlizzardSpecialEffects: ; 79081 (1e:5081)
; flashes the screen at 3 points in the subanimation
; unused
-FlashScreenUnused: ; 79099 (1e:5099)
+FlashScreenUnused:
ld a, [wSubAnimCounter]
cp a, 14
jp z, AnimationFlashScreen
@@ -933,7 +933,7 @@ FlashScreenUnused: ; 79099 (1e:5099)
ret
; function to make the pokemon disappear at the beginning of the animation
-TradeHidePokemon: ; 790ac (1e:50ac)
+TradeHidePokemon:
ld a, [wSubAnimCounter]
cp a, 6
ret nz
@@ -941,7 +941,7 @@ TradeHidePokemon: ; 790ac (1e:50ac)
jp ClearMonPicFromTileMap ; make pokemon disappear
; function to make a shaking pokeball jump up at the end of the animation
-TradeShakePokeball: ; 790b7 (1e:50b7)
+TradeShakePokeball:
ld a, [wSubAnimCounter]
cp a, 1
ret nz
@@ -970,12 +970,12 @@ TradeShakePokeball: ; 790b7 (1e:50b7)
ld a, SFX_TRADE_MACHINE
jp PlaySound
-BallMoveDistances1: ; 790e3 (1e:50e3)
+BallMoveDistances1:
db -12, -12, -8
db $ff ; terminator
; function to make the pokeball jump up
-TradeJumpPokeball: ; 790e7 (1e:50e7)
+TradeJumpPokeball:
ld de, BallMoveDistances2
.loop
ld hl, wOAMBuffer ; OAM buffer
@@ -1011,13 +1011,13 @@ TradeJumpPokeball: ; 790e7 (1e:50e7)
pop de
jr .loop
-BallMoveDistances2: ; 7911f (1e:511f)
+BallMoveDistances2:
db 11, 12, -12, -7, 7, 12, -8, 8
db $ff ; terminator
; this function copies the current musical note graphic
; so that there are two musical notes flying towards the defending pokemon
-DoGrowlSpecialEffects: ; 79127 (1e:5127)
+DoGrowlSpecialEffects:
ld hl, wOAMBuffer ; OAM buffer
ld de, wOAMBuffer + $10
ld bc, $10
@@ -1028,13 +1028,13 @@ DoGrowlSpecialEffects: ; 79127 (1e:5127)
ret
; this is associated with Tail Whip, but Tail Whip doesn't use any subanimations
-TailWhipAnimationUnused: ; 7913b (1e:513b)
+TailWhipAnimationUnused:
ld a, 1
ld [wSubAnimCounter], a
ld c, 20
jp DelayFrames
-SpecialEffectPointers: ; 79145 (1e:5145)
+SpecialEffectPointers:
db SE_DARK_SCREEN_FLASH ; $FE
dw AnimationFlashScreen
db SE_DARK_SCREEN_PALETTE ; $FD
@@ -1115,13 +1115,13 @@ SpecialEffectPointers: ; 79145 (1e:5145)
dw AnimationWavyScreen
db $FF
-AnimationDelay10: ; 791bb (1e:51bb)
+AnimationDelay10:
ld c, 10
jp DelayFrames
; calls a function with the turn flipped from player to enemy or vice versa
; input - hl - address of function to call
-CallWithTurnFlipped: ; 791c0 (1e:51c0)
+CallWithTurnFlipped:
ld a, [H_WHOSETURN]
push af
xor a, 1
@@ -1135,7 +1135,7 @@ CallWithTurnFlipped: ; 791c0 (1e:51c0)
ret
; flashes the screen for an extended period (48 frames)
-AnimationFlashScreenLong: ; 791d0 (1e:51d0)
+AnimationFlashScreenLong:
ld a, 3 ; cycle through the palettes 3 times
ld [wFlashScreenLongCounter], a
ld a, [wOnSGB] ; running on SGB?
@@ -1162,7 +1162,7 @@ AnimationFlashScreenLong: ; 791d0 (1e:51d0)
ret
; BG palettes
-FlashScreenLongMonochrome: ; 791fc (1e:51fc)
+FlashScreenLongMonochrome:
db %11111001 ; 3, 3, 2, 1
db %11111110 ; 3, 3, 3, 2
db %11111111 ; 3, 3, 3, 3
@@ -1178,7 +1178,7 @@ FlashScreenLongMonochrome: ; 791fc (1e:51fc)
db $01 ; terminator
; BG palettes
-FlashScreenLongSGB: ; 79209 (1e:5209)
+FlashScreenLongSGB:
db %11111000 ; 3, 3, 2, 0
db %11111100 ; 3, 3, 3, 0
db %11111111 ; 3, 3, 3, 3
@@ -1195,7 +1195,7 @@ FlashScreenLongSGB: ; 79209 (1e:5209)
; causes a delay of 2 frames for the first cycle
; causes a delay of 1 frame for the second and third cycles
-FlashScreenLongDelay: ; 79216 (1e:5216)
+FlashScreenLongDelay:
ld a, [wFlashScreenLongCounter]
cp a, 4 ; never true since [wFlashScreenLongCounter] starts at 3
ld c, 4
@@ -1208,7 +1208,7 @@ FlashScreenLongDelay: ; 79216 (1e:5216)
.delayFrames
jp DelayFrames
-AnimationFlashScreen: ; 7922c (1e:522c)
+AnimationFlashScreen:
ld a, [rBGP]
push af ; save initial palette
ld a, %00011011 ; 0, 1, 2, 3 (inverted colors)
@@ -1226,42 +1226,42 @@ AnimationFlashScreen: ; 7922c (1e:522c)
call UpdateGBCPal_BGP
ret
-AnimationDarkScreenPalette: ; 7924d (1e:524d)
+AnimationDarkScreenPalette:
; Changes the screen's palette to a dark palette.
lb bc, $6f, $6f
jr SetAnimationBGPalette
-AnimationDarkenMonPalette: ; 79252 (1e:5252)
+AnimationDarkenMonPalette:
; Darkens the mon sprite's palette.
lb bc, $f9, $f4
jr SetAnimationBGPalette
-AnimationUnusedPalette1: ; 79257 (1e:5257)
+AnimationUnusedPalette1:
lb bc, $fe, $f8
jr SetAnimationBGPalette
-AnimationUnusedPalette2: ; 7925c (1e:525c)
+AnimationUnusedPalette2:
lb bc, $ff, $ff
jr SetAnimationBGPalette
-AnimationResetScreenPalette: ; 79261 (1e:5261)
+AnimationResetScreenPalette:
; Restores the screen's palette to the normal palette.
lb bc, $e4, $e4
jr SetAnimationBGPalette
-AnimationUnusedPalette3: ; 79266 (1e:5266)
+AnimationUnusedPalette3:
lb bc, $00, $00
jr SetAnimationBGPalette
-AnimationLightScreenPalette: ; 7926b (1e:526b)
+AnimationLightScreenPalette:
; Changes the screen to use a palette with light colors.
lb bc, $90, $90
jr SetAnimationBGPalette
-AnimationUnusedPalette4: ; 79270 (1e:5270)
+AnimationUnusedPalette4:
lb bc, $40, $40
-SetAnimationBGPalette: ; 79273 (1e:5273)
+SetAnimationBGPalette:
ld a, [wOnSGB]
and a
ld a, b
@@ -1274,17 +1274,17 @@ SetAnimationBGPalette: ; 79273 (1e:5273)
ld b, $5
-AnimationShakeScreenVertically: ; 79283 (1e:5283)
+AnimationShakeScreenVertically:
predef_jump PredefShakeScreenVertically
-AnimationShakeScreen: ; 79288 (1e:5288)
+AnimationShakeScreen:
; Shakes the screen for a while. Used in Earthquake/Fissure/etc. animations.
ld b, $8
-AnimationShakeScreenHorizontallyFast: ; 7928a (1e:528a)
+AnimationShakeScreenHorizontallyFast:
predef_jump PredefShakeScreenHorizontally
-AnimationWaterDropletsEverywhere: ; 7928f (1e:528f)
+AnimationWaterDropletsEverywhere:
; Draws water droplets all over the screen and makes them
; scroll. It's hard to describe, but it's the main animation
; in Surf/Mist/Toxic.
@@ -1311,7 +1311,7 @@ AnimationWaterDropletsEverywhere: ; 7928f (1e:528f)
jr nz, .loop
ret
-_AnimationWaterDroplets: ; 792c0 (1e:52c0)
+_AnimationWaterDroplets:
ld hl, wOAMBuffer
.loop
ld a, $1
@@ -1352,7 +1352,7 @@ _AnimationWaterDroplets: ; 792c0 (1e:52c0)
call AnimationCleanOAM
jp DelayFrame
-AnimationSlideMonUp: ; 79314 (1e:5314)
+AnimationSlideMonUp:
; Slides the mon's sprite upwards.
ld c, 7
ld a, [H_WHOSETURN]
@@ -1368,7 +1368,7 @@ AnimationSlideMonUp: ; 79314 (1e:5314)
ld [wSlideMonUpBottomRowLeftTile], a
jp _AnimationSlideMonUp
-AnimationSlideMonDown: ; 79331 (1e:5331)
+AnimationSlideMonDown:
; Slides the mon's sprite down out of the screen.
xor a
call GetTileIDList
@@ -1385,19 +1385,19 @@ AnimationSlideMonDown: ; 79331 (1e:5331)
jr nz, .loop
ret
-AnimationSlideMonOff: ; 79349 (1e:5349)
+AnimationSlideMonOff:
; Slides the mon's sprite off the screen horizontally.
ld e, 8
ld a, 3
ld [wSlideMonDelay], a
jp _AnimationSlideMonOff
-AnimationSlideEnemyMonOff: ; 79353 (1e:5353)
+AnimationSlideEnemyMonOff:
; Slides the enemy mon off the screen horizontally.
ld hl, AnimationSlideMonOff
jp CallWithTurnFlipped
-_AnimationSlideMonUp: ; 79359 (1e:5359)
+_AnimationSlideMonUp:
push de
push hl
push bc
@@ -1448,7 +1448,7 @@ _AnimationSlideMonUp: ; 79359 (1e:5359)
jr nz, _AnimationSlideMonUp
ret
-ShakeEnemyHUD_WritePlayerMonPicOAM: ; 79397 (1e:5397)
+ShakeEnemyHUD_WritePlayerMonPicOAM:
; Writes the OAM entries for a copy of the player mon's pic in OAM.
; The top 5 rows are reproduced in OAM, although only 2 are actually needed.
ld a, $10
@@ -1476,7 +1476,7 @@ ShakeEnemyHUD_WritePlayerMonPicOAM: ; 79397 (1e:5397)
ld [wBaseCoordX], a
jr .loop
-BattleAnimWriteOAMEntry: ; 793c3 (1e:53c3)
+BattleAnimWriteOAMEntry:
; Y coordinate = e (increased by 8 each call, before the write to OAM)
; X coordinate = [wBaseCoordX]
; tile = d
@@ -1507,11 +1507,11 @@ BattleAnimWriteOAMEntry: ; 793c3 (1e:53c3)
ld [hli], a
ret
-AdjustOAMBlockXPos: ; 793ef (1e:53ef)
+AdjustOAMBlockXPos:
ld l, e
ld h, d
-AdjustOAMBlockXPos2: ; 793f1 (1e:53f1)
+AdjustOAMBlockXPos2:
ld de, 4
.loop
ld a, [wCoordAdjustmentAmount]
@@ -1531,11 +1531,11 @@ AdjustOAMBlockXPos2: ; 793f1 (1e:53f1)
jr nz, .loop
ret
-AdjustOAMBlockYPos: ; 79408 (1e:5408)
+AdjustOAMBlockYPos:
ld l, e
ld h, d
-AdjustOAMBlockYPos2: ; 7940d (1e:540d)
+AdjustOAMBlockYPos2:
ld de, 4
.loop
ld a, [wCoordAdjustmentAmount]
@@ -1554,12 +1554,12 @@ AdjustOAMBlockYPos2: ; 7940d (1e:540d)
jr nz, .loop
ret
-AnimationBlinkEnemyMon: ; 79421 (1e:5421)
+AnimationBlinkEnemyMon:
; Make the enemy mon's sprite blink on and off for a second or two
ld hl, AnimationBlinkMon
jp CallWithTurnFlipped
-AnimationBlinkMon: ; 79427 (1e:5427)
+AnimationBlinkMon:
; Make the mon's sprite blink on and off for a second or two.
push af
ld c, 6
@@ -1577,7 +1577,7 @@ AnimationBlinkMon: ; 79427 (1e:5427)
pop af
ret
-AnimationFlashMonPic: ; 79441 (1e:5441)
+AnimationFlashMonPic:
; Flashes the mon's sprite on and off
ld a, [wBattleMonSpecies]
ld [wChangeMonPicPlayerTurnSpecies], a
@@ -1585,25 +1585,25 @@ AnimationFlashMonPic: ; 79441 (1e:5441)
ld [wChangeMonPicEnemyTurnSpecies], a
jp ChangeMonPic
-AnimationFlashEnemyMonPic: ; 79450 (1e:5450)
+AnimationFlashEnemyMonPic:
; Flashes the enemy mon's sprite on and off
ld hl, AnimationFlashMonPic
jp CallWithTurnFlipped
-AnimationShowMonPic: ; 79456 (1e:5456)
+AnimationShowMonPic:
xor a
call GetTileIDList
call GetMonSpriteTileMapPointerFromRowCount
call CopyPicTiles
jp Delay3
-AnimationShowEnemyMonPic: ; 79463 (1e:5463)
+AnimationShowEnemyMonPic:
; Shows the emenmy mon's front sprite. Used in animations like Seismic Toss
; to make the mon's sprite reappear after disappears offscreen.
ld hl, AnimationShowMonPic
jp CallWithTurnFlipped
-AnimationShakeBackAndForth: ; 79469 (1e:5469)
+AnimationShakeBackAndForth:
; Shakes the mon's sprite back and forth rapidly. This is used in Double Team.
; The mon's sprite disappears after this animation.
ld a, [H_WHOSETURN]
@@ -1650,7 +1650,7 @@ AnimationShakeBackAndForth: ; 79469 (1e:5469)
jr nz, .loop
ret
-AnimationMoveMonHorizontally: ; 794b1 (1e:54b1)
+AnimationMoveMonHorizontally:
; Shifts the mon's sprite horizontally to a fixed location. Used by lots of
; animations like Tackle/Body Slam.
call AnimationHideMonPic
@@ -1668,7 +1668,7 @@ AnimationMoveMonHorizontally: ; 794b1 (1e:54b1)
ld c, 3
jp DelayFrames
-AnimationResetMonPosition: ; 794cd (1e:54cd)
+AnimationResetMonPosition:
; Resets the mon's sprites to be located at the normal coordinates.
ld a, [H_WHOSETURN]
and a
@@ -1679,7 +1679,7 @@ AnimationResetMonPosition: ; 794cd (1e:54cd)
call ClearMonPicFromTileMap
jp AnimationShowMonPic
-AnimationSpiralBallsInward: ; 794dc (1e:54dc)
+AnimationSpiralBallsInward:
; Creates an effect that looks like energy balls spiralling into the
; player mon's sprite. Used in Focus Energy, for example.
ld a, [H_WHOSETURN]
@@ -1746,7 +1746,7 @@ AnimationSpiralBallsInward: ; 794dc (1e:54dc)
call AnimationCleanOAM
jp AnimationFlashScreen
-SpiralBallAnimationCoordinates: ; 79545 (1e:5545)
+SpiralBallAnimationCoordinates:
; y, x pairs
; This is the sequence of screen coordinates that the spiralling
; balls are positioned at.
@@ -1773,7 +1773,7 @@ SpiralBallAnimationCoordinates: ; 79545 (1e:5545)
db $50, $28
db $FF ; list terminator
-AnimationSquishMonPic: ; 79570 (1e:5570)
+AnimationSquishMonPic:
; Squishes the mon's sprite horizontally making it
; disappear. Used by Teleport/Sky Attack animations.
ld c, 4
@@ -1804,7 +1804,7 @@ AnimationSquishMonPic: ; 79570 (1e:5570)
ld c, 2
jp DelayFrame
-_AnimationSquishMonPic: ; 795a3 (1e:55a3)
+_AnimationSquishMonPic:
ld c, 7
.loop
push bc
@@ -1829,7 +1829,7 @@ _AnimationSquishMonPic: ; 795a3 (1e:55a3)
jr nz, .loop
jp Delay3
-AnimationShootBallsUpward: ; 795c8 (1e:55c8)
+AnimationShootBallsUpward:
; Shoots one pillar of "energy" balls upwards. Used in Teleport/Sky Attack
; animations.
ld a, [H_WHOSETURN]
@@ -1848,7 +1848,7 @@ AnimationShootBallsUpward: ; 795c8 (1e:55c8)
call _AnimationShootBallsUpward
jp AnimationCleanOAM
-_AnimationShootBallsUpward: ; 795e6 (1e:55e6)
+_AnimationShootBallsUpward:
push bc
xor a
ld [wWhichBattleAnimTileset], a
@@ -1898,7 +1898,7 @@ _AnimationShootBallsUpward: ; 795e6 (1e:55e6)
jr nz, .loop
ret
-AnimationShootManyBallsUpward: ; 79635 (1e:5635)
+AnimationShootManyBallsUpward:
; Shoots several pillars of "energy" balls upward.
ld a, [H_WHOSETURN]
and a
@@ -1922,19 +1922,19 @@ AnimationShootManyBallsUpward: ; 79635 (1e:5635)
pop hl
jr .loop
-UpwardBallsAnimXCoordinatesPlayerTurn: ; 79660 (1e:5660)
+UpwardBallsAnimXCoordinatesPlayerTurn:
; List of x coordinates for each pillar of "energy" balls in the
; AnimationShootManyBallsUpward animation. It's unused in the game.
db $10, $40, $28, $18, $38, $30
db $FF ; list terminator
-UpwardBallsAnimXCoordinatesEnemyTurn: ; 79667 (1e:5667)
+UpwardBallsAnimXCoordinatesEnemyTurn:
; List of x coordinates for each pillar of "energy" balls in the
; AnimationShootManyBallsUpward animation. It's unused in the game.
db $60, $90, $78, $68, $88, $80
db $FF ; list terminator
-AnimationMinimizeMon: ; 7966e (1e:566e)
+AnimationMinimizeMon:
; Changes the mon's sprite to a mini black sprite. Used by the
; Minimize animation.
ld hl, wTempPic
@@ -1958,11 +1958,11 @@ AnimationMinimizeMon: ; 7966e (1e:566e)
call Delay3
jp AnimationShowMonPic
-MinimizedMonSprite: ; 79693 (1e:5693)
+MinimizedMonSprite:
INCBIN "gfx/minimized_mon_sprite.1bpp"
MinimizedMonSpriteEnd:
-AnimationSlideMonDownAndHide: ; 79698 (1e:5698)
+AnimationSlideMonDownAndHide:
; Slides the mon's sprite down and disappears. Used in Acid Armor.
ld a, $1
ld c, $2
@@ -1989,7 +1989,7 @@ AnimationSlideMonDownAndHide: ; 79698 (1e:5698)
call FillMemory
jp CopyTempPicToMonPic
-_AnimationSlideMonOff: ; 796c7 (1e:56c7)
+_AnimationSlideMonOff:
; Slides the mon's sprite off the screen horizontally by e tiles and waits
; [wSlideMonDelay] V-blanks each time the pic is slid by one tile.
ld a, [H_WHOSETURN]
@@ -2059,7 +2059,7 @@ _AnimationSlideMonOff: ; 796c7 (1e:56c7)
ld a, " "
ret
-AnimationSlideMonHalfOff: ; 79714 (1e:5714)
+AnimationSlideMonHalfOff:
; Slides the mon's sprite halfway off the screen. It's used in Softboiled.
ld e, 4
ld a, 4
@@ -2067,7 +2067,7 @@ AnimationSlideMonHalfOff: ; 79714 (1e:5714)
call _AnimationSlideMonOff
jp Delay3
-CopyTempPicToMonPic: ; 79721 (1e:5721)
+CopyTempPicToMonPic:
ld a, [H_WHOSETURN]
and a
ld hl, vBackPic ; player turn
@@ -2078,7 +2078,7 @@ CopyTempPicToMonPic: ; 79721 (1e:5721)
ld bc, 7 * 7
jp CopyVideoData
-AnimationWavyScreen: ; 79735 (1e:5735)
+AnimationWavyScreen:
; used in Psywave/Psychic etc.
ld hl, vBGMap0
call BattleAnimCopyTileMapToVRAM
@@ -2119,7 +2119,7 @@ AnimationWavyScreen: ; 79735 (1e:5735)
call BattleAnimCopyTileMapToVRAM
ret
-WavyScreen_SetSCX: ; 7977d (1e:577d)
+WavyScreen_SetSCX:
ld a, [rSTAT]
and $3 ; is it H-blank?
jr nz, WavyScreen_SetSCX ; wait until it's H-blank
@@ -2132,14 +2132,14 @@ WavyScreen_SetSCX: ; 7977d (1e:577d)
ld hl, WavyScreenLineOffsets ; go back to the beginning if so
ret
-WavyScreenLineOffsets: ; 7978e (1e:578e)
+WavyScreenLineOffsets:
; Sequence of horizontal line pixel offsets for the wavy screen animation.
; This sequence vaguely resembles a sine wave.
db 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1
db 0, 0, 0, 0, 0, -1, -1, -1, -2, -2, -2, -2, -2, -1, -1, -1
db $80 ; terminator
-AnimationSubstitute: ; 797af (1e:57af)
+AnimationSubstitute:
; Changes the pokemon's sprite to the mini sprite
ld hl, wTempPic
xor a
@@ -2178,12 +2178,12 @@ AnimationSubstitute: ; 797af (1e:57af)
call CopyTempPicToMonPic
jp AnimationShowMonPic
-CopySlowbroSpriteData: ; 7980e (1e:580e)
+CopySlowbroSpriteData:
ld bc, $0010
ld a, BANK(SlowbroSprite)
jp FarCopyData
-HideSubstituteShowMonAnim: ; 79816 (1e:5816)
+HideSubstituteShowMonAnim:
ld a, [H_WHOSETURN]
and a
ld hl, wPlayerMonMinimized
@@ -2267,12 +2267,12 @@ HideSubstituteShowMonAnim: ; 79816 (1e:5816)
jr nz, .loop
jp CopyTempPicToMonPic
-ReshowSubstituteAnim: ; 798b2 (1e:58b2)
+ReshowSubstituteAnim:
call AnimationSlideMonOff
call AnimationSubstitute
jp AnimationShowMonPic
-AnimationBoundUpAndDown: ; 798bb (1e:58bb)
+AnimationBoundUpAndDown:
; Bounces the mon's sprite up and down several times. It is used
; by Splash's animation.
ld c, 5
@@ -2284,7 +2284,7 @@ AnimationBoundUpAndDown: ; 798bb (1e:58bb)
jr nz, .loop
jp AnimationShowMonPic
-AnimationTransformMon: ; 798c8 (1e:58c8)
+AnimationTransformMon:
; Redraws this mon's sprite as the back/front sprite of the opposing mon.
; Used in Transform.
ld a, [wEnemyMonSpecies]
@@ -2292,7 +2292,7 @@ AnimationTransformMon: ; 798c8 (1e:58c8)
ld a, [wBattleMonSpecies]
ld [wChangeMonPicEnemyTurnSpecies], a
-ChangeMonPic: ; 798d4 (1e:58d4)
+ChangeMonPic:
ld a, [H_WHOSETURN]
and a
jr z, .playerTurn
@@ -2323,7 +2323,7 @@ ChangeMonPic: ; 798d4 (1e:58d4)
ld b, SET_PAL_BATTLE
jp RunPaletteCommand
-AnimationHideEnemyMonPic: ; 79919 (1e:5919)
+AnimationHideEnemyMonPic:
; Hides the enemy mon's sprite
xor a
ld [H_AUTOBGTRANSFERENABLED], a
@@ -2333,7 +2333,7 @@ AnimationHideEnemyMonPic: ; 79919 (1e:5919)
ld [H_AUTOBGTRANSFERENABLED], a
jp Delay3
-Func_79929: ; 79929 (1e:5929)
+Func_79929:
ld hl, wPlayerMonMinimized
ld a, [H_WHOSETURN]
and a
@@ -2350,7 +2350,7 @@ Func_79929: ; 79929 (1e:5929)
call AnimationShowMonPic
ret
-InitMultipleObjectsOAM: ; 79943 (1e:5943)
+InitMultipleObjectsOAM:
; Writes c OAM entries with tile d.
; Sets their Y coordinates to sequential multiples of 8, starting from 0.
; Sets their X coordinates to 0.
@@ -2373,7 +2373,7 @@ InitMultipleObjectsOAM: ; 79943 (1e:5943)
ret ; unreferenced
-AnimationHideMonPic: ; 7995d (1e:595d)
+AnimationHideMonPic:
; Hides the mon's sprite.
ld a, [H_WHOSETURN]
and a
@@ -2383,7 +2383,7 @@ AnimationHideMonPic: ; 7995d (1e:595d)
.playerTurn
ld a, 5 * SCREEN_WIDTH + 1
-ClearMonPicFromTileMap: ; 79968 (1e:5968)
+ClearMonPicFromTileMap:
push hl
push de
push bc
@@ -2401,7 +2401,7 @@ ClearMonPicFromTileMap: ; 79968 (1e:5968)
; puts the tile map destination address of a mon sprite in hl, given the row count in b
; The usual row count is 7, but it may be smaller when sliding a mon sprite in/out,
; in order to show only a portion of the mon sprite.
-GetMonSpriteTileMapPointerFromRowCount: ; 7997c (1e:597c)
+GetMonSpriteTileMapPointerFromRowCount:
push de
ld a, [H_WHOSETURN]
and a
@@ -2434,7 +2434,7 @@ GetMonSpriteTileMapPointerFromRowCount: ; 7997c (1e:597c)
; de = tile ID list pointer
; b = number of rows
; c = number of columns
-GetTileIDList: ; 7999e (1e:599e)
+GetTileIDList:
ld hl, TileIDListPointerTable
ld e, a
ld d, 0
@@ -2455,7 +2455,7 @@ GetTileIDList: ; 7999e (1e:599e)
ld b, a
ret
-AnimCopyRowLeft: ; 798b7 (1e:58b7)
+AnimCopyRowLeft:
; copy a row of c tiles 1 tile left
ld a, [hld]
ld [hli], a
@@ -2464,7 +2464,7 @@ AnimCopyRowLeft: ; 798b7 (1e:58b7)
jr nz, AnimCopyRowLeft
ret
-AnimCopyRowRight: ; 799be (1e:59be)
+AnimCopyRowRight:
; copy a row of c tiles 1 tile right
ld a, [hli]
ld [hld], a
@@ -2474,13 +2474,13 @@ AnimCopyRowRight: ; 799be (1e:59be)
ret
; get the sound of the move id in b
-GetMoveSoundB: ; 799c5 (1e:59c5)
+GetMoveSoundB:
ld a, b
call GetMoveSound
ld b, a
ret
-GetMoveSound: ; 799cb (1e:59cb)
+GetMoveSound:
ld hl, MoveSoundTable
ld e, a
ld d, 0
@@ -2520,7 +2520,7 @@ GetMoveSound: ; 799cb (1e:59cb)
ld a, b
ret
-IsCryMove: ; 79a09 (1e:5a09)
+IsCryMove:
; set carry if the move animation involves playing a monster cry
ld a, [wAnimationID]
cp a, GROWL
@@ -2533,7 +2533,7 @@ IsCryMove: ; 79a09 (1e:5a09)
scf
ret
-MoveSoundTable: ; 79a18 (1e:5a18)
+MoveSoundTable:
; ID, pitch mod, tempo mod
db SFX_POUND, $00, $80 ; POUND
db SFX_BATTLE_0C, $10, $80 ; KARATE_CHOP
@@ -2702,7 +2702,7 @@ MoveSoundTable: ; 79a18 (1e:5a18)
db SFX_BATTLE_0B, $00, $80 ; STRUGGLE
db SFX_BATTLE_0B, $00, $80
-CopyPicTiles: ; 79c0a (1e:5c0a)
+CopyPicTiles:
ld a, [H_WHOSETURN]
and a
ld a, $31 ; base tile ID of player mon sprite
@@ -2714,7 +2714,7 @@ CopyPicTiles: ; 79c0a (1e:5c0a)
jr CopyTileIDs_NoBGTransfer
; copy the tiles used when a mon is being sent out of or into a pokeball
-CopyDownscaledMonTiles: ; 79c16 (1e:5c16)
+CopyDownscaledMonTiles:
call GetPredefRegisters
ld a, [wDownscaledMonSize]
and a
@@ -2725,14 +2725,14 @@ CopyDownscaledMonTiles: ; 79c16 (1e:5c16)
ld de, DownscaledMonTiles_3x3
; fall through
-CopyTileIDs_NoBGTransfer: ; 79acb (1e:5acb)
+CopyTileIDs_NoBGTransfer:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
; fall through
; b = number of rows
; c = number of columns
-CopyTileIDs: ; 79ace (1e:5ace)
+CopyTileIDs:
push hl
.rowLoop
push bc
@@ -2757,7 +2757,7 @@ CopyTileIDs: ; 79ace (1e:5ace)
pop hl
ret
-TileIDListPointerTable: ; 79c46 (1e:5c46)
+TileIDListPointerTable:
dw DownscaledMonTiles_7x7
dn 7, 7
dw DownscaledMonTiles_5x7
@@ -2775,19 +2775,19 @@ TileIDListPointerTable: ; 79c46 (1e:5c46)
dw DownscaledMonTiles_79dac
dn 3, 12
-DownscaledMonTiles_5x5: ; 79b02 (1e:5b02)
+DownscaledMonTiles_5x5:
db $31, $38, $46, $54, $5B
db $32, $39, $47, $55, $5C
db $34, $3B, $49, $57, $5E
db $36, $3D, $4B, $59, $60
db $37, $3E, $4C, $5A, $61
-DownscaledMonTiles_3x3: ; 79b1b (1e:5b1b)
+DownscaledMonTiles_3x3:
db $31, $46, $5B
db $34, $49, $5E
db $37, $4C, $61
-DownscaledMonTiles_7x7: ; 79c80 (1e:5c80)
+DownscaledMonTiles_7x7:
db $00, $07, $0E, $15, $1C, $23, $2A
db $01, $08, $0F, $16, $1D, $24, $2B
db $02, $09, $10, $17, $1E, $25, $2C
@@ -2796,19 +2796,19 @@ DownscaledMonTiles_7x7: ; 79c80 (1e:5c80)
db $05, $0C, $13, $1A, $21, $28, $2F
db $06, $0D, $14, $1B, $22, $29, $30
-DownscaledMonTiles_5x7: ; 79cb1 (1e:5cb1)
+DownscaledMonTiles_5x7:
db $00, $07, $0E, $15, $1C, $23, $2A
db $01, $08, $0F, $16, $1D, $24, $2B
db $03, $0A, $11, $18, $1F, $26, $2D
db $04, $0B, $12, $19, $20, $27, $2E
db $05, $0C, $13, $1A, $21, $28, $2F
-DownscaledMonTiles_3x7: ; 79cd4 (1e:5cd4)
+DownscaledMonTiles_3x7:
db $00, $07, $0E, $15, $1C, $23, $2A
db $02, $09, $10, $17, $1E, $25, $2C
db $04, $0B, $12, $19, $20, $27, $2E
-DownscaledMonTiles_79ce9: ; 79ce9 (1e:5ce9)
+DownscaledMonTiles_79ce9:
db $00, $00, $00, $00, $00, $00, $00
db $00, $00, $00, $00, $00, $19, $00
db $02, $06, $0B, $10, $14, $1A, $00
@@ -2817,7 +2817,7 @@ DownscaledMonTiles_79ce9: ; 79ce9 (1e:5ce9)
db $04, $09, $0E, $13, $17, $1D, $1F
db $05, $0A, $0F, $01, $18, $1E, $20
-DownscaledMonTiles_79d1a: ; 79d1a (1e:5d1a)
+DownscaledMonTiles_79d1a:
db $00, $00, $00, $30, $00, $37, $00
db $00, $00, $2B, $31, $34, $38, $3D
db $21, $26, $2C, $01, $35, $39, $3E
@@ -2826,7 +2826,7 @@ DownscaledMonTiles_79d1a: ; 79d1a (1e:5d1a)
db $24, $29, $2F, $01, $01, $3B, $00
db $25, $2A, $01, $01, $01, $3C, $00
-DownscaledMonTiles_79d4b: ; 79d4b (1e:5d4b)
+DownscaledMonTiles_79d4b:
db $00, $00, $00, $00, $00, $00, $00
db $00, $00, $47, $4D, $00, $00, $00
db $00, $00, $48, $4E, $52, $56, $5B
@@ -2835,7 +2835,7 @@ DownscaledMonTiles_79d4b: ; 79d4b (1e:5d4b)
db $41, $45, $4B, $51, $4C, $59, $5D
db $42, $46, $4C, $4C, $55, $5A, $5E
-DownscaledMonTiles_79d7c: ; 79d7c (1e:5d7c)
+DownscaledMonTiles_79d7c:
db $31, $32, $32, $32, $32, $33
db $34, $35, $36, $36, $37, $38
db $34, $39, $3A, $3A, $3B, $38
@@ -2845,12 +2845,12 @@ DownscaledMonTiles_79d7c: ; 79d7c (1e:5d7c)
db $41, $43, $4B, $4C, $4D, $4E
db $4F, $50, $50, $50, $51, $52
-DownscaledMonTiles_79dac: ; 79dac (1e:5dac)
+DownscaledMonTiles_79dac:
db $43, $55, $56, $53, $53, $53, $53, $53, $53, $53, $53, $53
db $43, $57, $58, $54, $54, $54, $54, $54, $54, $54, $54, $54
db $43, $59, $5A, $43, $43, $43, $43, $43, $43, $43, $43, $43
-AnimationLeavesFalling: ; 79dd0 (1e:5dd0)
+AnimationLeavesFalling:
; Makes leaves float down from the top of the screen. This is used
; in Razor Leaf's animation.
ld a, [wAnimPalette]
@@ -2861,7 +2861,7 @@ AnimationLeavesFalling: ; 79dd0 (1e:5dd0)
ld [wNumFallingObjects], a
jp AnimationFallingObjects
-AnimationPetalsFalling: ; 79de2 (1e:5de2)
+AnimationPetalsFalling:
; Makes lots of petals fall down from the top of the screen. It's used in
; the animation for Petal Dance.
ld d, $71 ; petal tile
@@ -2870,7 +2870,7 @@ AnimationPetalsFalling: ; 79de2 (1e:5de2)
call AnimationFallingObjects
jp ClearSprites
-AnimationFallingObjects: ; 79def (1e:5def)
+AnimationFallingObjects:
ld c, a
ld a, 1
call InitMultipleObjectsOAM
@@ -2909,7 +2909,7 @@ AnimationFallingObjects: ; 79def (1e:5def)
jr nz, .loop ; keep moving the falling objects down until it does
ret
-FallingObjects_UpdateOAMEntry: ; 79cdb (1e:5cdb)
+FallingObjects_UpdateOAMEntry:
; Increases Y by 2 pixels and adjusts X and X flip based on the falling object's
; movement byte.
ld hl, wOAMBuffer
@@ -2978,10 +2978,10 @@ FallingObjects_UpdateOAMEntry: ; 79cdb (1e:5cdb)
ld [hl], a ; attribute
ret
-FallingObjects_DeltaXs: ; 79e96 (1e:5e96)
+FallingObjects_DeltaXs:
db 0, 1, 3, 5, 7, 9, 11, 13, 15
-FallingObjects_UpdateMovementByte: ; 79e9f (1e:5e9f)
+FallingObjects_UpdateMovementByte:
ld a, [wFallingObjectMovementByte]
inc a
ld b, a
@@ -2997,7 +2997,7 @@ FallingObjects_UpdateMovementByte: ; 79e9f (1e:5e9f)
ld [wFallingObjectMovementByte], a
ret
-FallingObjects_InitXCoords: ; 79eb3 (1e:5eb3)
+FallingObjects_InitXCoords:
ld hl, wOAMBuffer + $01
ld de, FallingObjects_InitialXCoords
ld a, [wNumFallingObjects]
@@ -3013,10 +3013,10 @@ FallingObjects_InitXCoords: ; 79eb3 (1e:5eb3)
jr nz, .loop
ret
-FallingObjects_InitialXCoords: ; 79ec7 (1e:5ec7)
+FallingObjects_InitialXCoords:
db $38, $40, $50, $60, $70, $88, $90, $56, $67, $4A, $77, $84, $98, $32, $22, $5C, $6C, $7D, $8E, $99
-FallingObjects_InitMovementData: ; 79edb (1e:5edb)
+FallingObjects_InitMovementData:
ld hl, wFallingObjectsMovementData
ld de, FallingObjects_InitialMovementData
ld a, [wNumFallingObjects]
@@ -3029,10 +3029,10 @@ FallingObjects_InitMovementData: ; 79edb (1e:5edb)
jr nz, .loop
ret
-FallingObjects_InitialMovementData: ; 79eec (1e:5eec)
+FallingObjects_InitialMovementData:
db $00, $84, $06, $81, $02, $88, $01, $83, $05, $89, $09, $80, $07, $87, $03, $82, $04, $85, $08, $86
-AnimationShakeEnemyHUD: ; 79f00 (1e:5f00)
+AnimationShakeEnemyHUD:
; Shakes the enemy HUD.
; Make a copy of the back pic's tile patterns in sprite tile pattern VRAM.
@@ -3118,7 +3118,7 @@ AnimationShakeEnemyHUD: ; 79f00 (1e:5f00)
; b = tile ID list index
; c = base tile ID
-CopyTileIDsFromList: ; 79f7b (1e:5f7b)
+CopyTileIDsFromList:
call GetPredefRegisters
ld a, c
ld [hBaseTileID], a
@@ -3128,7 +3128,7 @@ CopyTileIDsFromList: ; 79f7b (1e:5f7b)
pop hl
jp CopyTileIDs
-ShakeEnemyHUD_ShakeBG: ; 79f8a (1e:5f8a)
+ShakeEnemyHUD_ShakeBG:
ld a, [hSCX]
ld [wTempSCX], a
.loop
@@ -3148,14 +3148,14 @@ ShakeEnemyHUD_ShakeBG: ; 79f8a (1e:5f8a)
ld [hSCX], a
ret
-BattleAnimCopyTileMapToVRAM: ; 79fae (1e:5fae)
+BattleAnimCopyTileMapToVRAM:
ld a, h
ld [H_AUTOBGTRANSFERDEST + 1], a
ld a, l
ld [H_AUTOBGTRANSFERDEST], a
jp Delay3
-TossBallAnimation: ; 79fb7 (1e:5fb7)
+TossBallAnimation:
ld a, [wIsInBattle]
cp a, 2
jr z, .BlockBall ; if in trainer battle, play different animation
@@ -3198,7 +3198,7 @@ TossBallAnimation: ; 79fb7 (1e:5fb7)
jr nz, .PlayNextAnimation
ret
-.PokeBallAnimations: ; 79ff1 (1e:5ff1)
+.PokeBallAnimations:
; sequence of animations that make up the Poké Ball toss
db POOF_ANIM, HIDEPIC_ANIM, SHAKE_ANIM, POOF_ANIM, SHOWPIC_ANIM
@@ -3212,7 +3212,7 @@ TossBallAnimation: ; 79fb7 (1e:5fb7)
ld [wAnimationID], a
jp PlayAnimation
-PlayApplyingAttackSound: ; 7a00b (1e:600b)
+PlayApplyingAttackSound:
; play a different sound depending if move is not very effective, neutral, or super-effective
; don't play any sound at all if move is ineffective
call WaitForSoundToFinish
@@ -3236,4 +3236,4 @@ PlayApplyingAttackSound: ; 7a00b (1e:600b)
ld a, b
ld [wTempoModifier], a
ld a, c
- jp PlaySound \ No newline at end of file
+ jp PlaySound
diff --git a/engine/battle/bank3d_battle.asm b/engine/battle/bank3d_battle.asm
index 2b2809d9..3719841f 100644
--- a/engine/battle/bank3d_battle.asm
+++ b/engine/battle/bank3d_battle.asm
@@ -1,14 +1,14 @@
-InitBattle: ; f5ff2 (3d:5ff2)
+InitBattle:
ld a, [wCurOpponent]
and a
jr z, asm_f6003
-InitOpponent: ; f5ff8 (3d:5ff8)
+InitOpponent:
ld a, [wCurOpponent]
ld [wcf91], a
ld [wEnemyMonSpecies2], a
jr asm_f601d
-asm_f6003: ; f6003 (3d:6003)
+asm_f6003:
ld a, [wd732]
bit 1, a
jr z, .asm_f600f
@@ -21,7 +21,7 @@ asm_f6003: ; f6003 (3d:6003)
ret nz
callab TryDoWildEncounter
ret nz
-asm_f601d: ; f601d (f:601d)
+asm_f601d:
ld a, [wMapPalOffset]
push af
ld hl, wLetterPrintingDelayFlags
@@ -56,7 +56,7 @@ asm_f601d: ; f601d (f:601d)
callabd_ModifyPikachuHappiness PIKAHAPPY_GYMLEADER ; useless since already in bank3d
jp InitBattle_Common
-InitWildBattle: ; f607c (3d:607c)
+InitWildBattle:
ld a, $1
ld [wIsInBattle], a
callab LoadEnemyMonData
@@ -106,7 +106,7 @@ InitWildBattle: ; f607c (3d:607c)
predef CopyUncompressedPicToTilemap
; common code that executes after init battle code specific to trainer or wild battles
-InitBattle_Common: ; f60eb (3d:60eb)
+InitBattle_Common:
ld b, $0
call RunPaletteCommand
callab SlidePlayerAndEnemySilhouettesOnScreen
@@ -149,7 +149,7 @@ InitBattle_Common: ; f60eb (3d:60eb)
.emptyString
db "@"
-_LoadTrainerPic: ; f615a (3d:615a)
+_LoadTrainerPic:
; wd033-wd034 contain pointer to pic
ld a, [wTrainerPicPointer] ; wd033
ld e, a
@@ -167,7 +167,7 @@ _LoadTrainerPic: ; f615a (3d:615a)
ld c, a
jp LoadUncompressedSpriteData
-LoadMonBackPic: ; f6178 (3d:6178)
+LoadMonBackPic:
; Assumes the monster's attributes have
; been loaded with GetMonHeader.
ld a, [wBattleMonSpecies2]
@@ -187,7 +187,7 @@ LoadMonBackPic: ; f6178 (3d:6178)
ld b, a
jp CopyVideoData
-AnimateSendingOutMon: ; f61a6 (3d:f61a6)
+AnimateSendingOutMon:
ld a, [wPredefRegisters]
ld h, a
ld a, [wPredefRegisters + 1]
@@ -227,13 +227,13 @@ AnimateSendingOutMon: ; f61a6 (3d:f61a6)
add $31
jr CopyUncompressedPicToHL
-CopyUncompressedPicToTilemap: ; f61f9 (3d:61f9)
+CopyUncompressedPicToTilemap:
ld a, [wPredefRegisters]
ld h, a
ld a, [wPredefRegisters + 1]
ld l, a
ld a, [$ffe1]
-CopyUncompressedPicToHL: ; f6203 (3d:6203)
+CopyUncompressedPicToHL:
ld bc, $707
ld de, $14
push af
@@ -288,4 +288,4 @@ INCLUDE "engine/battle/moveEffects/reflect_light_screen_effect.asm"
INCLUDE "engine/battle/moveEffects/mist_effect.asm"
INCLUDE "engine/battle/moveEffects/one_hit_ko_effect.asm"
INCLUDE "engine/battle/moveEffects/pay_day_effect.asm"
-INCLUDE "engine/battle/moveEffects/paralyze_effect.asm" \ No newline at end of file
+INCLUDE "engine/battle/moveEffects/paralyze_effect.asm"
diff --git a/engine/battle/bank_e_misc.asm b/engine/battle/bank_e_misc.asm
index 278cce61..df9145f2 100755
--- a/engine/battle/bank_e_misc.asm
+++ b/engine/battle/bank_e_misc.asm
@@ -1,5 +1,5 @@
; formats a string at wMovesString that lists the moves at wMoves
-FormatMovesString: ; 39b06 (e:5b06)
+FormatMovesString:
ld hl, wMoves
ld de, wMovesString
ld b, $0
@@ -52,7 +52,7 @@ FormatMovesString: ; 39b06 (e:5b06)
ret
; XXX this is called in a few places, but it doesn't appear to do anything useful
-InitList: ; 39b53 (e:5b53)
+InitList:
ld a, [wInitListType]
cp INIT_ENEMYOT_LIST
jr nz, .notEnemy
@@ -100,4 +100,4 @@ InitList: ; 39b53 (e:5b53)
ld [wItemPrices], a
ld a, b
ld [wItemPrices + 1], a
- ret \ No newline at end of file
+ ret
diff --git a/engine/battle/battle_transitions.asm b/engine/battle/battle_transitions.asm
index e3527897..a4871837 100644
--- a/engine/battle/battle_transitions.asm
+++ b/engine/battle/battle_transitions.asm
@@ -1,4 +1,4 @@
-BattleTransition: ; 709d7 (1c:49d7)
+BattleTransition:
ld a, $1
ld [H_AUTOBGTRANSFERENABLED], a
call Delay3
@@ -70,7 +70,7 @@ BattleTransition: ; 709d7 (1c:49d7)
; bit 0: set if trainer battle
; bit 1: set if enemy is at least 3 levels higher than player
; bit 2: set if dungeon map
-BattleTransitions: ; 70a3c (1c:4a3c)
+BattleTransitions:
dw BattleTransition_DoubleCircle ; %000
dw BattleTransition_Spiral ; %001
dw BattleTransition_Circle ; %010
@@ -80,7 +80,7 @@ BattleTransitions: ; 70a3c (1c:4a3c)
dw BattleTransition_VerticalStripes ; %110
dw BattleTransition_Split ; %111
-GetBattleTransitionID_WildOrTrainer: ; 70a4c (1c:4a4c)
+GetBattleTransitionID_WildOrTrainer:
ld a, [wCurOpponent]
cp 200
jr nc, .trainer
@@ -90,7 +90,7 @@ GetBattleTransitionID_WildOrTrainer: ; 70a4c (1c:4a4c)
set 0, c
ret
-GetBattleTransitionID_CompareLevels: ; 70a59 (1c:4a59)
+GetBattleTransitionID_CompareLevels:
ld hl, wPartyMon1HP
.faintedLoop
ld a, [hli]
@@ -121,7 +121,7 @@ GetBattleTransitionID_CompareLevels: ; 70a59 (1c:4a59)
; fails to recognize VICTORY_ROAD_2, VICTORY_ROAD_3, all ROCKET_HIDEOUT maps,
; MANSION_1, SEAFOAM_ISLANDS_[2-5], POWER_PLANT, DIGLETTS_CAVE
; and SILPH_CO_[9-11]F as dungeon maps
-GetBattleTransitionID_IsDungeonMap: ; 70a83 (1c:4a83)
+GetBattleTransitionID_IsDungeonMap:
ld a, [wCurMap]
ld e, a
ld hl, DungeonMaps1
@@ -153,7 +153,7 @@ GetBattleTransitionID_IsDungeonMap: ; 70a83 (1c:4a83)
; GetBattleTransitionID_IsDungeonMap checks if wCurMap
; is equal to one of these maps
-DungeonMaps1: ; 70aa9 (1c:4aa9)
+DungeonMaps1:
db VIRIDIAN_FOREST
db ROCK_TUNNEL_1
db SEAFOAM_ISLANDS_1
@@ -162,7 +162,7 @@ DungeonMaps1: ; 70aa9 (1c:4aa9)
; GetBattleTransitionID_IsDungeonMap checks if wCurMap
; is in between or equal to each pair of maps
-DungeonMaps2: ; 70aac (1c:4aac)
+DungeonMaps2:
; all MT_MOON maps
db MT_MOON_1
db MT_MOON_3
@@ -181,17 +181,17 @@ DungeonMaps2: ; 70aac (1c:4aac)
db UNKNOWN_DUNGEON_1
db $FF
-LoadBattleTransitionTile: ; 70ab7 (1c:4ab7)
+LoadBattleTransitionTile:
ld hl, vChars1 + $7f0
ld de, BattleTransitionTile
lb bc, BANK(BattleTransitionTile), (BattleTransitionTileEnd - BattleTransitionTile) / $10
jp CopyVideoData
-BattleTransitionTile: ; 70ac3 (1c:4ac3)
+BattleTransitionTile:
INCBIN "gfx/battle_transition.2bpp"
BattleTransitionTileEnd:
-BattleTransition_BlackScreen: ; 70ad3 (1c:4ad3)
+BattleTransition_BlackScreen:
ld a, $ff
ld [rBGP], a
ld [rOBP0], a
@@ -205,7 +205,7 @@ BattleTransition_BlackScreen: ; 70ad3 (1c:4ad3)
; called regardless of mon levels, but does an
; outward spiral if enemy is at least 3 levels
; higher than player and does an inward spiral otherwise
-BattleTransition_Spiral: ; 70ae5 (1c:4ae5)
+BattleTransition_Spiral:
ld a, [wBattleTransitionSpiralDirection]
and a
jr z, .outwardSpiral
@@ -238,7 +238,7 @@ BattleTransition_Spiral: ; 70ae5 (1c:4ae5)
ld [wOutwardSpiralTileMapPointer], a
ret
-BattleTransition_InwardSpiral: ; 70b1d (1c:4b1d)
+BattleTransition_InwardSpiral:
ld a, 7
ld [wInwardSpiralUpdateScreenCounter], a
coord hl, 0, 0
@@ -268,7 +268,7 @@ BattleTransition_InwardSpiral: ; 70b1d (1c:4b1d)
jr nz, .loop
ret
-BattleTransition_InwardSpiral_: ; 70b53 (1c:4b53)
+BattleTransition_InwardSpiral_:
push bc
.loop
ld [hl], $ff
@@ -287,7 +287,7 @@ BattleTransition_InwardSpiral_: ; 70b53 (1c:4b53)
pop bc
ret
-BattleTransition_OutwardSpiral_: ; 70b6c (1c:4b6c)
+BattleTransition_OutwardSpiral_:
ld bc, -SCREEN_WIDTH
ld de, SCREEN_WIDTH
ld a, [wOutwardSpiralTileMapPointer + 1]
@@ -355,7 +355,7 @@ BattleTransition_OutwardSpiral_: ; 70b6c (1c:4b6c)
jr .done
FlashScreen:
-BattleTransition_FlashScreen_: ; 70be8 (1c:4be8)
+BattleTransition_FlashScreen_:
ld hl, BattleTransition_FlashScreenPalettes
.loop
ld a, [hli]
@@ -371,12 +371,12 @@ BattleTransition_FlashScreen_: ; 70be8 (1c:4be8)
jr nz, BattleTransition_FlashScreen_
ret
-BattleTransition_FlashScreenPalettes: ; 70be8 (1c:4be8)
+BattleTransition_FlashScreenPalettes:
db $F9,$FE,$FF,$FE,$F9,$E4,$90,$40,$00,$40,$90,$E4
db $01 ; terminator
; used for low level trainer dungeon battles
-BattleTransition_Shrink: ; 70bf4 (1c:4bf4)
+BattleTransition_Shrink:
ld c,9
.loop
push bc
@@ -410,7 +410,7 @@ BattleTransition_Shrink: ; 70bf4 (1c:4bf4)
jp DelayFrames
; used for high level trainer dungeon battles
-BattleTransition_Split: ; 70c40 (1c:4c40)
+BattleTransition_Split:
ld c,$9
xor a
ld [H_AUTOBGTRANSFERENABLED], a
@@ -441,7 +441,7 @@ BattleTransition_Split: ; 70c40 (1c:4c40)
ld c, 10
jp DelayFrames
-BattleTransition_CopyTiles1: ; 70c88 (1c:4c88)
+BattleTransition_CopyTiles1:
ld a, c
ld [wBattleTransitionCopyTilesOffset], a
ld a, b
@@ -473,7 +473,7 @@ BattleTransition_CopyTiles1: ; 70c88 (1c:4c88)
jr nz, .loop2
ret
-BattleTransition_CopyTiles2: ; 70cb5 (1c:4cb5)
+BattleTransition_CopyTiles2:
ld a, c
ld [wBattleTransitionCopyTilesOffset], a
ld a, b
@@ -523,7 +523,7 @@ BattleTransition_CopyTiles2: ; 70cb5 (1c:4cb5)
ret
; used for high level wild dungeon battles
-BattleTransition_VerticalStripes: ; 70cf4 (1c:4cf4)
+BattleTransition_VerticalStripes:
ld c, SCREEN_HEIGHT
coord hl, 0, 0
coord de, 1, 17
@@ -551,7 +551,7 @@ BattleTransition_VerticalStripes: ; 70cf4 (1c:4cf4)
jr nz, .loop
jp BattleTransition_BlackScreen
-BattleTransition_VerticalStripes_: ; 70d20 (1c:4d20)
+BattleTransition_VerticalStripes_:
ld c, SCREEN_WIDTH / 2
.loop
ld [hl], $ff
@@ -562,7 +562,7 @@ BattleTransition_VerticalStripes_: ; 70d20 (1c:4d20)
ret
; used for low level wild dungeon battles
-BattleTransition_HorizontalStripes: ; 70d2a (1c:4d2a)
+BattleTransition_HorizontalStripes:
ld c, SCREEN_WIDTH
coord hl, 0, 0
coord de, 19, 1
@@ -586,7 +586,7 @@ BattleTransition_HorizontalStripes: ; 70d2a (1c:4d2a)
jr nz, .loop
jp BattleTransition_BlackScreen
-BattleTransition_HorizontalStripes_: ; 70d4e (1c:4d4e)
+BattleTransition_HorizontalStripes_:
ld c, SCREEN_HEIGHT / 2
ld de, SCREEN_WIDTH * 2
.loop
@@ -599,7 +599,7 @@ BattleTransition_HorizontalStripes_: ; 70d4e (1c:4d4e)
; used for high level wild non-dungeon battles
; makes one full circle around the screen
; by animating each half circle one at a time
-BattleTransition_Circle: ; 70d5a (1c:4d5a)
+BattleTransition_Circle:
call BattleTransition_FlashScreen
lb bc, 0, SCREEN_WIDTH / 2
ld hl, BattleTransition_HalfCircle1
@@ -610,14 +610,14 @@ BattleTransition_Circle: ; 70d5a (1c:4d5a)
call BattleTransition_Circle_Sub1
jp BattleTransition_BlackScreen
-BattleTransition_FlashScreen: ; 70d73 (1c:4d73)
+BattleTransition_FlashScreen:
ld b, $3
call BattleTransition_FlashScreen_
xor a
ld [H_AUTOBGTRANSFERENABLED], a
ret
-BattleTransition_Circle_Sub1: ; 70d7c (1c:4d7c)
+BattleTransition_Circle_Sub1:
push bc
push hl
ld a, b
@@ -631,7 +631,7 @@ BattleTransition_Circle_Sub1: ; 70d7c (1c:4d7c)
jr nz, BattleTransition_Circle_Sub1
ret
-BattleTransition_TransferDelay3: ; 70d8f (1c:4d8f)
+BattleTransition_TransferDelay3:
ld a, $1
ld [H_AUTOBGTRANSFERENABLED], a
call Delay3
@@ -642,7 +642,7 @@ BattleTransition_TransferDelay3: ; 70d8f (1c:4d8f)
; used for low level wild non-dungeon battles
; makes two half circles around the screen
; by animating both half circles at the same time
-BattleTransition_DoubleCircle: ; 70d9a (1c:4d9a)
+BattleTransition_DoubleCircle:
call BattleTransition_FlashScreen
ld c, SCREEN_WIDTH / 2
ld hl, BattleTransition_HalfCircle1
@@ -670,7 +670,7 @@ BattleTransition_DoubleCircle: ; 70d9a (1c:4d9a)
jr nz, .loop
jp BattleTransition_BlackScreen
-BattleTransition_Circle_Sub2: ; 70dc6 (1c:4dc6)
+BattleTransition_Circle_Sub2:
ld [wBattleTransitionCircleScreenQuadrantY], a
ld a, [hli]
ld [wBattleTransitionCircleScreenQuadrantX], a
@@ -683,7 +683,7 @@ BattleTransition_Circle_Sub2: ; 70dc6 (1c:4dc6)
ld l, a
jp BattleTransition_Circle_Sub3
-BattleTransition_HalfCircle1: ; 70dd7 (1c:4dd7)
+BattleTransition_HalfCircle1:
db $01
dw BattleTransition_CircleData1
dwCoord 18, 6
@@ -724,7 +724,7 @@ BattleTransition_HalfCircle1: ; 70dd7 (1c:4dd7)
dw BattleTransition_CircleData1
dwCoord 1, 6
-BattleTransition_HalfCircle2: ; 70d93 (1c:4e09)
+BattleTransition_HalfCircle2:
db $00
dw BattleTransition_CircleData1
dwCoord 1, 11
@@ -765,7 +765,7 @@ BattleTransition_HalfCircle2: ; 70d93 (1c:4e09)
dw BattleTransition_CircleData1
dwCoord 18, 11
-BattleTransition_Circle_Sub3: ; 70e3b (1c:4e3b)
+BattleTransition_Circle_Sub3:
push hl
ld a, [de]
ld c, a
@@ -810,17 +810,17 @@ BattleTransition_Circle_Sub3: ; 70e3b (1c:4e3b)
jr nz, .loop2
jr BattleTransition_Circle_Sub3
-BattleTransition_CircleData1: ; 70e74 (1c:4e74)
+BattleTransition_CircleData1:
db $02,$03,$05,$04,$09,$FF
-BattleTransition_CircleData2: ; 70e7a (1c:4e7a)
+BattleTransition_CircleData2:
db $01,$01,$02,$02,$04,$02,$04,$02,$03,$FF
-BattleTransition_CircleData3: ; 70e84 (1c:4e84)
+BattleTransition_CircleData3:
db $02,$01,$03,$01,$04,$01,$04,$01,$04,$01,$03,$01,$02,$01,$01,$01,$01,$FF
-BattleTransition_CircleData4: ; 70e97 (1c:4e97)
+BattleTransition_CircleData4:
db $04,$01,$04,$00,$03,$01,$03,$00,$02,$01,$02,$00,$01,$FF
-BattleTransition_CircleData5: ; 70ea3 (1c:4ea3)
+BattleTransition_CircleData5:
db $04,$00,$03,$00,$03,$00,$02,$00,$02,$00,$01,$00,$01,$00,$01,$FF
diff --git a/engine/battle/common_text.asm b/engine/battle/common_text.asm
index a0c44346..02bb1a61 100644
--- a/engine/battle/common_text.asm
+++ b/engine/battle/common_text.asm
@@ -1,4 +1,4 @@
-PrintBeginningBattleText: ; f4000 (3d:4000)
+PrintBeginningBattleText:
ld a, [wIsInBattle] ; W_ISINBATTLE
dec a
jr nz, .trainerBattle
@@ -86,31 +86,31 @@ PrintBeginningBattleText: ; f4000 (3d:4000)
.done
ret
-WildMonAppearedText: ; f40c7 (3d:40c7)
+WildMonAppearedText:
TX_FAR _WildMonAppearedText
db "@"
-HookedMonAttackedText: ; f40cc (3d:40cc)
+HookedMonAttackedText:
TX_FAR _HookedMonAttackedText
db "@"
-EnemyAppearedText: ; f40d1 (3d:40d1)
+EnemyAppearedText:
TX_FAR _EnemyAppearedText
db "@"
-TrainerWantsToFightText: ; f40d6 (3d:40d6)
+TrainerWantsToFightText:
TX_FAR _TrainerWantsToFightText
db "@"
-UnveiledGhostText: ; f40db (3d:40db)
+UnveiledGhostText:
TX_FAR _UnveiledGhostText
db "@"
-GhostCantBeIDdText: ; f40e0 (3d:40e0)
+GhostCantBeIDdText:
TX_FAR _GhostCantBeIDdText
db "@"
-PrintSendOutMonMessage: ; f40e0 (3d:40e5)
+PrintSendOutMonMessage:
ld hl, wEnemyMonHP
ld a, [hli]
or [hl]
@@ -153,38 +153,38 @@ PrintSendOutMonMessage: ; f40e0 (3d:40e5)
.printText
jp PrintText
-GoText: ; f413a (3d:413a)
+GoText:
TX_FAR _GoText
TX_ASM
jr PrintPlayerMon1Text
-DoItText: ; f4141 (3d:4141)
+DoItText:
TX_FAR _DoItText
TX_ASM
jr PrintPlayerMon1Text
-GetmText: ; f4148 (3d:4148)
+GetmText:
TX_FAR _GetmText
TX_ASM
jr PrintPlayerMon1Text
-EnemysWeakText: ; f414f (3d:414f)
+EnemysWeakText:
TX_FAR _EnemysWeakText
TX_ASM
-PrintPlayerMon1Text: ; f4154 (3d:4154)
+PrintPlayerMon1Text:
ld hl, PlayerMon1Text
ret
-PlayerMon1Text: ; f4158 (3d:4158)
+PlayerMon1Text:
TX_FAR _PlayerMon1Text
db "@"
-RetreatMon: ; f415d (3d:415d)
+RetreatMon:
ld hl, PlayerMon2Text
jp PrintText
-PlayerMon2Text: ; f4163 (3d:4163)
+PlayerMon2Text:
TX_FAR _PlayerMon2Text
TX_ASM
push de
@@ -235,25 +235,25 @@ PlayerMon2Text: ; f4163 (3d:4163)
ld hl, GoodText ; HP went down 70% or more
ret
-EnoughText: ; f41b1 (3d:41b1)
+EnoughText:
TX_FAR _EnoughText
TX_ASM
jr PrintComeBackText
-OKExclamationText: ; f41b8 (3d:41b8)
+OKExclamationText:
TX_FAR _OKExclamationText
TX_ASM
jr PrintComeBackText
-GoodText: ; f41bf (3d:41bf)
+GoodText:
TX_FAR _GoodText
TX_ASM
jr PrintComeBackText
-PrintComeBackText: ; f41c6 (3d:41c6)
+PrintComeBackText:
ld hl, ComeBackText
ret
-ComeBackText: ; f41ca (3d:41ca)
+ComeBackText:
TX_FAR _ComeBackText
db "@"
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 24b3863b..fa56e5b2 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -1,7 +1,7 @@
BattleCore:
; These are move effects (second value from the Moves table in bank $E).
-ResidualEffects1: ; 3c000 (f:4000)
+ResidualEffects1:
; most non-side effects
db CONVERSION_EFFECT
db HAZE_EFFECT
@@ -20,13 +20,13 @@ ResidualEffects1: ; 3c000 (f:4000)
db LEECH_SEED_EFFECT
db SPLASH_EFFECT
db -1
-SetDamageEffects: ; 3c011 (f:4011)
+SetDamageEffects:
; moves that do damage but not through normal calculations
; e.g., Super Fang, Psywave
db SUPER_FANG_EFFECT
db SPECIAL_DAMAGE_EFFECT
db -1
-ResidualEffects2: ; 3c014 (f:4014)
+ResidualEffects2:
; non-side effects not included in ResidualEffects1
; stat-affecting moves, sleep-inflicting moves, and Bide
; e.g., Meditate, Bide, Hypnosis
@@ -58,7 +58,7 @@ ResidualEffects2: ; 3c014 (f:4014)
db ACCURACY_DOWN2_EFFECT
db EVASION_DOWN2_EFFECT
db -1
-AlwaysHappenSideEffects: ; 3c030 (f:4030)
+AlwaysHappenSideEffects:
; Attacks that aren't finished after they faint the opponent.
db DRAIN_HP_EFFECT
db EXPLODE_EFFECT
@@ -71,7 +71,7 @@ AlwaysHappenSideEffects: ; 3c030 (f:4030)
db TWINEEDLE_EFFECT
db RAGE_EFFECT
db -1
-SpecialEffects: ; 3c03b (f:403b)
+SpecialEffects:
; Effects from arrays 2, 4, and 5B, minus Twineedle and Rage.
; Includes all effects that do not need to be called at the end of
; ExecutePlayerMove (or ExecuteEnemyMove), because they have already been handled
@@ -90,13 +90,13 @@ SpecialEffects: ; 3c03b (f:403b)
db JUMP_KICK_EFFECT
db RECOIL_EFFECT
; fallthrough to Next EffectsArray
-SpecialEffectsCont: ; 3c049 (f:4049)
+SpecialEffectsCont:
; damaging moves whose effect is executed prior to damage calculation
db THRASH_PETAL_DANCE_EFFECT
db TRAPPING_EFFECT
db -1
-SlidePlayerAndEnemySilhouettesOnScreen: ; 3c04c (f:404c)
+SlidePlayerAndEnemySilhouettesOnScreen:
call LoadPlayerBackPic
ld a, MESSAGE_BOX ; the usual text box at the bottom of the screen
ld [wTextBoxID], a
@@ -196,7 +196,7 @@ SlidePlayerAndEnemySilhouettesOnScreen: ; 3c04c (f:404c)
; the lower of the player's pic (his body) is part of the background, but his head is a sprite
; the reason for this is that it shares Y coordinates with the lower part of the enemy pic, so background scrolling wouldn't work for both pics
; instead, the enemy pic is part of the background and uses the scroll register, while the player's head is a sprite and is slid by changing its X coordinates in a loop
-SlidePlayerHeadLeft: ; 3c108 (f:4108)
+SlidePlayerHeadLeft:
push bc
ld hl, wOAMBuffer + $01
ld c, $15 ; number of OAM entries
@@ -210,7 +210,7 @@ SlidePlayerHeadLeft: ; 3c108 (f:4108)
pop bc
ret
-SetScrollXForSlidingPlayerBodyLeft: ; 3c119 (f:4119)
+SetScrollXForSlidingPlayerBodyLeft:
ld a, [rLY]
cp l
jr nz, SetScrollXForSlidingPlayerBodyLeft
@@ -222,7 +222,7 @@ SetScrollXForSlidingPlayerBodyLeft: ; 3c119 (f:4119)
jr z, .loop
ret
-StartBattle: ; 3c127 (f:4127)
+StartBattle:
xor a
ld [wPartyGainExpFlags], a
ld [wPartyFoughtCurrentEnemyFlags], a
@@ -350,7 +350,7 @@ StartBattle: ; 3c127 (f:4127)
jr MainInBattleLoop
; wild mon or link battle enemy ran from battle
-EnemyRan: ; 3c202 (f:4218)
+EnemyRan:
call LoadScreenTilesFromBuffer1
ld a, [wLinkState]
cp LINK_STATE_BATTLING
@@ -368,15 +368,15 @@ EnemyRan: ; 3c202 (f:4218)
ld [H_WHOSETURN], a
jpab AnimationSlideEnemyMonOff
-WildRanText: ; 3c23f (f:423f)
+WildRanText:
TX_FAR _WildRanText
db "@"
-EnemyRanText: ; 3c23f (f:423f)
+EnemyRanText:
TX_FAR _EnemyRanText
db "@"
-MainInBattleLoop: ; 3c249 (f:4249)
+MainInBattleLoop:
call ReadPlayerMonCurHPAndStatus
ld hl, wBattleMonHP
ld a, [hli]
@@ -566,7 +566,7 @@ MainInBattleLoop: ; 3c249 (f:4249)
call CheckNumAttacksLeft
jp MainInBattleLoop
-HandlePoisonBurnLeechSeed: ; 3c3d3 (f:43d3)
+HandlePoisonBurnLeechSeed:
ld hl, wBattleMonHP
ld de, wBattleMonStatus
ld a, [H_WHOSETURN]
@@ -630,15 +630,15 @@ HandlePoisonBurnLeechSeed: ; 3c3d3 (f:43d3)
xor a
ret
-HurtByPoisonText: ; 3c444 (f:4444)
+HurtByPoisonText:
TX_FAR _HurtByPoisonText
db "@"
-HurtByBurnText: ; 3c449 (f:4449)
+HurtByBurnText:
TX_FAR _HurtByBurnText
db "@"
-HurtByLeechSeedText: ; 3c44e (f:444e)
+HurtByLeechSeedText:
TX_FAR _HurtByLeechSeedText
db "@"
@@ -646,7 +646,7 @@ HurtByLeechSeedText: ; 3c44e (f:444e)
; note that the toxic ticks are considered even if the damage is not poison (hence the Leech Seed glitch)
; hl: HP pointer
; bc (out): total damage
-HandlePoisonBurnLeechSeed_DecreaseOwnHP: ; 3c43d (f:443d)
+HandlePoisonBurnLeechSeed_DecreaseOwnHP:
push hl
push hl
ld bc, $e ; skip to max HP
@@ -714,7 +714,7 @@ HandlePoisonBurnLeechSeed_DecreaseOwnHP: ; 3c43d (f:443d)
; adds bc to enemy HP
; bc isn't updated if HP substracted was capped to prevent overkill
-HandlePoisonBurnLeechSeed_IncreaseEnemyHP: ; 3c4b9 (f:44b9)
+HandlePoisonBurnLeechSeed_IncreaseEnemyHP:
push hl
ld hl, wEnemyMonMaxHP
ld a, [H_WHOSETURN]
@@ -764,7 +764,7 @@ HandlePoisonBurnLeechSeed_IncreaseEnemyHP: ; 3c4b9 (f:44b9)
pop hl
ret
-UpdateCurMonHPBar: ; 3c50c (f:450c)
+UpdateCurMonHPBar:
coord hl, 10, 9 ; tile pointer to player HP bar
ld a, [H_WHOSETURN]
and a
@@ -779,7 +779,7 @@ UpdateCurMonHPBar: ; 3c50c (f:450c)
pop bc
ret
-CheckNumAttacksLeft: ; 3c525 (f:4525)
+CheckNumAttacksLeft:
ld a, [wPlayerNumAttacksLeft]
and a
jr nz, .checkEnemy
@@ -795,7 +795,7 @@ CheckNumAttacksLeft: ; 3c525 (f:4525)
res UsingTrappingMove, [hl] ; enemy not using multi-turn attack like wrap any more
ret
-HandleEnemyMonFainted: ; 3c53b (f:453b)
+HandleEnemyMonFainted:
xor a
ld [wInHandlePlayerMonFainted], a
call FaintEnemyPokemon
@@ -828,7 +828,7 @@ HandleEnemyMonFainted: ; 3c53b (f:453b)
ld [wActionResultOrTookBattleTurn], a
jp MainInBattleLoop
-FaintEnemyPokemon: ; 3c57d (f:457d)
+FaintEnemyPokemon:
call ReadPlayerMonCurHPAndStatus
ld a, [wIsInBattle]
dec a
@@ -956,11 +956,11 @@ FaintEnemyPokemon: ; 3c57d (f:457d)
ld [wPartyGainExpFlags], a
jpab GainExperience
-EnemyMonFaintedText: ; 3c654 (f:4654)
+EnemyMonFaintedText:
TX_FAR _EnemyMonFaintedText
db "@"
-EndLowHealthAlarm: ; 3c659 (f:4659)
+EndLowHealthAlarm:
; This function is called when the player has the won the battle. It turns off
; the low health alarm and prevents it from reactivating until the next battle.
xor a
@@ -970,7 +970,7 @@ EndLowHealthAlarm: ; 3c659 (f:4659)
ld [wLowHealthAlarmDisabled], a ; prevent it from reactivating
ret
-AnyEnemyPokemonAliveCheck: ; 3c665 (f:4665)
+AnyEnemyPokemonAliveCheck:
ld a, [wEnemyPartyCount]
ld b, a
xor a
@@ -988,7 +988,7 @@ AnyEnemyPokemonAliveCheck: ; 3c665 (f:4665)
ret
; stores whether enemy ran in Z flag
-ReplaceFaintedEnemyMon: ; 3c67a (f:467a)
+ReplaceFaintedEnemyMon:
ld hl, wEnemyHPBarColor
ld e, $30
call GetBattleHealthBarColor
@@ -1016,7 +1016,7 @@ ReplaceFaintedEnemyMon: ; 3c67a (f:467a)
inc a ; reset Z flag
ret
-TrainerBattleVictory: ; 3c6b8 (f:46b8)
+TrainerBattleVictory:
call EndLowHealthAlarm
ld b, MUSIC_DEFEATED_GYM_LEADER
ld a, [wGymLeaderNo]
@@ -1052,15 +1052,15 @@ TrainerBattleVictory: ; 3c6b8 (f:46b8)
ld c, $3
predef_jump AddBCDPredef
-MoneyForWinningText: ; 3c706 (f:4706)
+MoneyForWinningText:
TX_FAR _MoneyForWinningText
db "@"
-TrainerDefeatedText: ; 3c70b (f:470b)
+TrainerDefeatedText:
TX_FAR _TrainerDefeatedText
db "@"
-PlayBattleVictoryMusic: ; 3c710 (f:4710)
+PlayBattleVictoryMusic:
push af
call StopAllMusic
ld c, BANK(Music_DefeatedTrainer)
@@ -1068,7 +1068,7 @@ PlayBattleVictoryMusic: ; 3c710 (f:4710)
call PlayMusic
jp Delay3
-HandlePlayerMonFainted: ; 3c71d (f:471d)
+HandlePlayerMonFainted:
ld a, 1
ld [wInHandlePlayerMonFainted], a
call RemoveFaintedPlayerMon
@@ -1102,7 +1102,7 @@ HandlePlayerMonFainted: ; 3c71d (f:471d)
jp MainInBattleLoop
; resets flags, slides mon's pic down, plays cry, and prints fainted message
-RemoveFaintedPlayerMon: ; 3c75e (f:475e)
+RemoveFaintedPlayerMon:
ld a, [wPlayerMonNumber]
ld c, a
ld hl, wPartyGainExpFlags
@@ -1172,13 +1172,13 @@ RemoveFaintedPlayerMon: ; 3c75e (f:475e)
callabd_ModifyPikachuHappiness PIKAHAPPY_CARELESSTRAINER
ret
-PlayerMonFaintedText: ; 3c7fa (f:47fa)
+PlayerMonFaintedText:
TX_FAR _PlayerMonFaintedText
db "@"
; asks if you want to use next mon
; stores whether you ran in C flag
-DoUseNextMonDialogue: ; 3c7ff (f:47ff)
+DoUseNextMonDialogue:
call PrintEmptyString
call SaveScreenTilesToBuffer1
ld a, [wIsInBattle]
@@ -1206,13 +1206,13 @@ DoUseNextMonDialogue: ; 3c7ff (f:47ff)
ld de, wEnemyMonSpeed
jp TryRunningFromBattle
-UseNextMonText: ; 3c837 (f:4837)
+UseNextMonText:
TX_FAR _UseNextMonText
db "@"
; choose next player mon to send out
; stores whether enemy mon has no HP left in Z flag
-ChooseNextMon: ; 3c83c (f:483c)
+ChooseNextMon:
ld a, BATTLE_PARTY_MENU
ld [wPartyMenuTypeOrMessageID], a
call DisplayPartyMenu
@@ -1258,7 +1258,7 @@ ChooseNextMon: ; 3c83c (f:483c)
; called when player is out of usable mons.
; prints approriate lose message, sets carry flag if player blacked out (special case for initial rival fight)
-HandlePlayerBlackOut: ; 3c89c (f:489c)
+HandlePlayerBlackOut:
ld a, [wLinkState]
cp LINK_STATE_BATTLING
jr z, .notSony1Battle
@@ -1293,21 +1293,21 @@ HandlePlayerBlackOut: ; 3c89c (f:489c)
scf
ret
-Sony1WinText: ; 3c8e9 (f:48e9)
+Sony1WinText:
TX_FAR _Sony1WinText
db "@"
-PlayerBlackedOutText2: ; 3c8ee (f:48ee)
+PlayerBlackedOutText2:
TX_FAR _PlayerBlackedOutText2
db "@"
-LinkBattleLostText: ; 3c8f3 (f:48f3)
+LinkBattleLostText:
TX_FAR _LinkBattleLostText
db "@"
; slides pic of fainted mon downwards until it disappears
; bug: when this is called, [H_AUTOBGTRANSFERENABLED] is non-zero, so there is screen tearing
-SlideDownFaintedMonPic: ; 3c8f8 (f:48f8)
+SlideDownFaintedMonPic:
ld a, [wd730]
push af
set 6, a
@@ -1353,14 +1353,14 @@ SlideDownFaintedMonPic: ; 3c8f8 (f:48f8)
ld [wd730], a
ret
-SevenSpacesText: ; 3c93c (f:493c)
+SevenSpacesText:
db " @"
; slides the player or enemy trainer off screen
; a is the number of tiles to slide it horizontally (always 9 for the player trainer or 8 for the enemy trainer)
; if a is 8, the slide is to the right, else it is to the left
; bug: when this is called, [H_AUTOBGTRANSFERENABLED] is non-zero, so there is screen tearing
-SlideTrainerPicOffScreen: ; 3c944 (f:4944)
+SlideTrainerPicOffScreen:
ld [hSlideAmount], a
ld c, a
.slideStepLoop ; each iteration, the trainer pic is slid one tile left/right
@@ -1401,7 +1401,7 @@ SlideTrainerPicOffScreen: ; 3c944 (f:4944)
ret
; send out a trainer's mon
-EnemySendOut: ; 3c973 (f:4973)
+EnemySendOut:
ld hl,wPartyGainExpFlags
xor a
ld [hl],a
@@ -1417,7 +1417,7 @@ EnemySendOut: ; 3c973 (f:4973)
predef FlagActionPredef
; don't change wPartyGainExpFlags or wPartyFoughtCurrentEnemyFlags
-EnemySendOutFirstMon: ; 3c98f (f:498f)
+EnemySendOutFirstMon:
xor a
ld hl,wEnemyStatsToDouble ; clear enemy statuses
ld [hli],a
@@ -1570,17 +1570,17 @@ EnemySendOutFirstMon: ; 3c98f (f:498f)
call SaveScreenTilesToBuffer1
jp SwitchPlayerMon
-TrainerAboutToUseText: ; 3cade (f:4ade)
+TrainerAboutToUseText:
TX_FAR _TrainerAboutToUseText
db "@"
-TrainerSentOutText: ; 3cae3 (f:4ae3)
+TrainerSentOutText:
TX_FAR _TrainerSentOutText
db "@"
; tests if the player has any pokemon that are not fainted
; sets d = 0 if all fainted, d != 0 if some mons are still alive
-AnyPartyAlive: ; 3cae8 (f:4ae8)
+AnyPartyAlive:
ld a, [wPartyCount]
ld e, a
xor a
@@ -1598,7 +1598,7 @@ AnyPartyAlive: ; 3cae8 (f:4ae8)
; tests if player mon has fainted
; stores whether mon has fainted in Z flag
-HasMonFainted: ; 3cafc (f:4afc)
+HasMonFainted:
ld a, [wWhichPokemon]
ld hl, wPartyMon1HP
ld bc, wPartyMon2 - wPartyMon1
@@ -1615,13 +1615,13 @@ HasMonFainted: ; 3cafc (f:4afc)
xor a
ret
-NoWillText: ; 3cb19 (f:4b19)
+NoWillText:
TX_FAR _NoWillText
db "@"
; try to run from battle (hl = player speed, de = enemy speed)
; stores whether the attempt was successful in carry flag
-TryRunningFromBattle: ; 3cb1e (f:4b1e)
+TryRunningFromBattle:
call IsGhostBattle
jp z, .canEscape ; jump if it's a ghost battle
ld a, [wBattleType]
@@ -1740,20 +1740,20 @@ TryRunningFromBattle: ; 3cb1e (f:4b1e)
scf ; set carry
ret
-CantEscapeText: ; 3cc01 (f:4c01)
+CantEscapeText:
TX_FAR _CantEscapeText
db "@"
-NoRunningText: ; 3cc06 (f:4c06)
+NoRunningText:
TX_FAR _NoRunningText
db "@"
-GotAwayText: ; 3cc0b (f:4c0b)
+GotAwayText:
TX_FAR _GotAwayText
db "@"
; copies from party data to battle mon data when sending out a new player mon
-LoadBattleMonFromParty: ; 3cc10 (f:4c10)
+LoadBattleMonFromParty:
ld a, [wWhichPokemon]
ld bc, wPartyMon2 - wPartyMon1
ld hl, wPartyMon1Species
@@ -1797,7 +1797,7 @@ LoadBattleMonFromParty: ; 3cc10 (f:4c10)
ret
; copies from enemy party data to current enemy mon data when sending out a new enemy mon
-LoadEnemyMonFromParty: ; 3cc7d (f:4c7d)
+LoadEnemyMonFromParty:
ld a, [wWhichPokemon]
ld bc, wEnemyMon2 - wEnemyMon1
ld hl, wEnemyMons
@@ -1850,7 +1850,7 @@ LoadEnemyMonFromParty: ; 3cc7d (f:4c7d)
ld [wEnemyMonPartyPos], a
ret
-SendOutMon: ; 3ccfb (f:4cfb)
+SendOutMon:
callab PrintSendOutMonMessage
ld hl, wEnemyMonHP
ld a, [hli]
@@ -1914,7 +1914,7 @@ SendOutMon: ; 3ccfb (f:4cfb)
jp SaveScreenTilesToBuffer1
; show 2 stages of the player mon getting smaller before disappearing
-AnimateRetreatingPlayerMon: ; 3cd97 (f:4d97)
+AnimateRetreatingPlayerMon:
ld a, [wWhichPokemon]
push af
ld a, [wPlayerMonNumber]
@@ -1960,7 +1960,7 @@ AnimateRetreatingPlayerMon: ; 3cd97 (f:4d97)
ret
; reads player's current mon's HP into wBattleMonHP
-ReadPlayerMonCurHPAndStatus: ; 3ce08 (f:4e08)
+ReadPlayerMonCurHPAndStatus:
ld a, [wPlayerMonNumber]
ld hl, wPartyMon1HP
ld bc, wPartyMon2 - wPartyMon1
@@ -1971,11 +1971,11 @@ ReadPlayerMonCurHPAndStatus: ; 3ce08 (f:4e08)
ld bc, $4 ; 2 bytes HP, 1 byte unknown (unused?), 1 byte status
jp CopyData
-DrawHUDsAndHPBars: ; 3ce1f (f:4e1f)
+DrawHUDsAndHPBars:
call DrawPlayerHUDAndHPBar
jp DrawEnemyHUDAndHPBar
-DrawPlayerHUDAndHPBar: ; 3ce25 (f:4e25)
+DrawPlayerHUDAndHPBar:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
coord hl, 9, 7
@@ -2036,7 +2036,7 @@ DrawPlayerHUDAndHPBar: ; 3ce25 (f:4e25)
set 7, [hl] ;enable low health alarm
ret
-DrawEnemyHUDAndHPBar: ; 3ceb1 (f:4eb1)
+DrawEnemyHUDAndHPBar:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
coord hl, 0, 0
@@ -2126,7 +2126,7 @@ DrawEnemyHUDAndHPBar: ; 3ceb1 (f:4eb1)
ld [H_AUTOBGTRANSFERENABLED], a
ld hl, wEnemyHPBarColor
-GetBattleHealthBarColor: ; 3cf55 (f:4f55)
+GetBattleHealthBarColor:
ld b, [hl]
call GetHealthBarColor
ld a, [hl]
@@ -2140,7 +2140,7 @@ GetBattleHealthBarColor: ; 3cf55 (f:4f55)
; (i.e. for names longer than 4 letters)
; if the name is 3 or 4 letters long, it is printed 1 space more to the right than usual
; (i.e. for names longer than 4 letters)
-CenterMonName: ; 3cf61 (f:4f61)
+CenterMonName:
push de
inc hl
inc hl
@@ -2161,7 +2161,7 @@ CenterMonName: ; 3cf61 (f:4f61)
pop de
ret
-DisplayBattleMenu: ; 3cf78 (f:4f78)
+DisplayBattleMenu:
call LoadScreenTilesFromBuffer1 ; restore saved screen
ld a, [wBattleType]
and a
@@ -2376,7 +2376,7 @@ DisplayBattleMenu: ; 3cf78 (f:4f78)
ld [wcf91], a
jr UseBagItem
-BagWasSelected: ; 3d10a (f:510a)
+BagWasSelected:
call LoadScreenTilesFromBuffer1
ld a, [wBattleType]
and a ; is it a normal battle?
@@ -2399,12 +2399,12 @@ BagWasSelected: ; 3d10a (f:510a)
ld [wListPointer + 1], a
jr DisplayBagMenu
-SimulatedInputBattleItemList: ; 3c130 (f:5130)
+SimulatedInputBattleItemList:
db 1 ; # of items
db POKE_BALL, 1
db $ff
-DisplayPlayerBag: ; 3c134 (f:5134)
+DisplayPlayerBag:
; get the pointer to player's bag when in a normal battle
ld hl, wNumBagItems
ld a, l
@@ -2412,7 +2412,7 @@ DisplayPlayerBag: ; 3c134 (f:5134)
ld a, h
ld [wListPointer + 1], a
-DisplayBagMenu: ; 3c13f (f:513f)
+DisplayBagMenu:
xor a
ld [wPrintItemPrices], a
ld a, ITEMLISTMENU
@@ -2427,7 +2427,7 @@ DisplayBagMenu: ; 3c13f (f:513f)
ld [wMenuItemToSwap], a
jp c, DisplayBattleMenu ; go back to battle menu if an item was not selected
-UseBagItem: ; 3c162 (f:5162)
+UseBagItem:
; either use an item from the bag or use a safari zone item
ld a, [wcf91]
ld [wd11e], a
@@ -2484,11 +2484,11 @@ UseBagItem: ; 3c162 (f:5162)
scf ; set carry
ret
-ItemsCantBeUsedHereText: ; 3d1c8 (f:51c8)
+ItemsCantBeUsedHereText:
TX_FAR _ItemsCantBeUsedHereText
db "@"
-PartyMenuOrRockOrRun: ; 3d1cd (f:51cd)
+PartyMenuOrRockOrRun:
dec a ; was Run selected?
jp nz, BattleMenu_RunWasSelected
; party menu or rock was selected
@@ -2608,7 +2608,7 @@ PartyMenuOrRockOrRun: ; 3d1cd (f:51cd)
call GBPalNormal
; fall through to SwitchPlayerMon
-SwitchPlayerMon: ; 3d2c1 (f:52c1)
+SwitchPlayerMon:
callab RetreatMon
ld c, 50
call DelayFrames
@@ -2631,11 +2631,11 @@ SwitchPlayerMon: ; 3d2c1 (f:52c1)
and a
ret
-AlreadyOutText: ; 3d2fc (f:52fc)
+AlreadyOutText:
TX_FAR _AlreadyOutText
db "@"
-BattleMenu_RunWasSelected: ; 3d301 (f:5301)
+BattleMenu_RunWasSelected:
call LoadScreenTilesFromBuffer1
ld a, $3
ld [wCurrentMenuItem], a
@@ -2650,7 +2650,7 @@ BattleMenu_RunWasSelected: ; 3d301 (f:5301)
ret nz ; return if the player couldn't escape
jp DisplayBattleMenu
-MoveSelectionMenu: ; 3d320 (f:5320)
+MoveSelectionMenu:
ld a, [wMoveMenuType]
dec a
jr z, .mimicmenu
@@ -2764,7 +2764,7 @@ MoveSelectionMenu: ; 3d320 (f:5320)
ld [hl], a
; fallthrough
-SelectMenuItem: ; 3d3fe (f:53fe)
+SelectMenuItem:
ld a, [wMoveMenuType]
and a
jr z, .battleselect
@@ -2859,18 +2859,18 @@ SelectMenuItem: ; 3d3fe (f:53fe)
call LoadScreenTilesFromBuffer1
jp MoveSelectionMenu
-MoveNoPPText: ; 3d4ae (f:54ae)
+MoveNoPPText:
TX_FAR _MoveNoPPText
db "@"
-MoveDisabledText: ; 3d4b3 (f:54b3)
+MoveDisabledText:
TX_FAR _MoveDisabledText
db "@"
-WhichTechniqueString: ; 3d4b8 (f:54b8)
+WhichTechniqueString:
db "WHICH TECHNIQUE?@"
-SelectMenuItem_CursorUp: ; 3d4c9 (f:54c9)
+SelectMenuItem_CursorUp:
ld a, [wCurrentMenuItem]
and a
jp nz, SelectMenuItem
@@ -2880,7 +2880,7 @@ SelectMenuItem_CursorUp: ; 3d4c9 (f:54c9)
ld [wCurrentMenuItem], a
jp SelectMenuItem
-SelectMenuItem_CursorDown: ; 3d4dd (f:54dd)
+SelectMenuItem_CursorDown:
ld a, [wCurrentMenuItem]
ld b, a
ld a, [wNumMovesMinusOne]
@@ -2893,7 +2893,7 @@ SelectMenuItem_CursorDown: ; 3d4dd (f:54dd)
ld [wCurrentMenuItem], a
jp SelectMenuItem
-Func_3d4f5: ; 3d4f5 (f:54f5)
+Func_3d4f5:
bit 3, a
ld a, $0
jr nz, .asm_3d4fd
@@ -2912,19 +2912,19 @@ Func_3d4f5: ; 3d4f5 (f:54f5)
callab Func_78e98
jp MoveSelectionMenu
-Func_3d523: ; 3d523 (f:5523)
+Func_3d523:
ld a, [wTestBattlePlayerSelectedMove]
dec a
jr asm_3d52d
-Func_3d529: ; 3d529 (f:5529)
+Func_3d529:
ld a, [wTestBattlePlayerSelectedMove]
inc a
-asm_3d52d: ; 3d52d (f:552d)
+asm_3d52d:
ld [wTestBattlePlayerSelectedMove], a
call Func_3d536
jp MoveSelectionMenu
-Func_3d536: ; 3d536 (f:5536)
+Func_3d536:
coord hl, 10, 16
lb bc, 2, 10
call ClearScreenArea
@@ -2942,7 +2942,7 @@ Func_3d536: ; 3d536 (f:5536)
coord hl, 13, 17
jp PlaceString
-AnyMoveToSelect: ; 3d55f (f:555f)
+AnyMoveToSelect:
; return z and Struggle as the selected move if all moves have 0 PP and/or are disabled
ld a, STRUGGLE
ld [wPlayerSelectedMove], a
@@ -2988,11 +2988,11 @@ AnyMoveToSelect: ; 3d55f (f:555f)
xor a
ret
-NoMovesLeftText: ; 3d59b (f:559b)
+NoMovesLeftText:
TX_FAR _NoMovesLeftText
db "@"
-SwapMovesInMenu: ; 3d5a0 (f:55a0)
+SwapMovesInMenu:
ld a, [wPlayerBattleStatus3]
bit Transformed, a
jp nz, MoveSelectionMenu
@@ -3071,7 +3071,7 @@ SwapMovesInMenu: ; 3d5a0 (f:55a0)
ld [wMenuItemToSwap], a ; select the current menu item for swapping
jp MoveSelectionMenu
-PrintMenuItem: ; 3d629 (f:5629)
+PrintMenuItem:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
coord hl, 0, 8
@@ -3141,13 +3141,13 @@ PrintMenuItem: ; 3d629 (f:5629)
ld [H_AUTOBGTRANSFERENABLED], a
jp Delay3
-DisabledText: ; 3d6c7 (f:56c7)
+DisabledText:
db "Disabled!@"
-TypeText: ; 3d6d1 (f:56d1)
+TypeText:
db "TYPE@"
-SelectEnemyMove: ; 3d6d6 (f:56d6)
+SelectEnemyMove:
ld a, [wLinkState]
sub LINK_STATE_BATTLING
jr nz, .noLinkBattle
@@ -3240,7 +3240,7 @@ SelectEnemyMove: ; 3d6d6 (f:56d6)
jr .done
; this appears to exchange data with the other gameboy during link battles
-LinkBattleExchangeData: ; 3d777 (f:5777)
+LinkBattleExchangeData:
ld a, $ff
ld [wSerialExchangeNybbleReceiveData], a
ld a, [wPlayerMoveListIndex]
@@ -3288,7 +3288,7 @@ LinkBattleExchangeData: ; 3d777 (f:5777)
jr nz, .syncLoop3
ret
-ExecutePlayerMove: ; 3d7d0 (f:57d0)
+ExecutePlayerMove:
xor a
ld [H_WHOSETURN], a ; set player's turn
ld a, [wPlayerSelectedMove]
@@ -3316,7 +3316,7 @@ ExecutePlayerMove: ; 3d7d0 (f:57d0)
call CheckForDisobedience
jp z, ExecutePlayerMoveDone
-CheckIfPlayerNeedsToChargeUp: ; 3d80c (f:580c)
+CheckIfPlayerNeedsToChargeUp:
ld a, [wPlayerMoveEffect]
cp CHARGE_EFFECT
jp z, JumpMoveEffect
@@ -3325,13 +3325,13 @@ CheckIfPlayerNeedsToChargeUp: ; 3d80c (f:580c)
jr PlayerCanExecuteMove
; in-battle stuff
-PlayerCanExecuteChargingMove: ; 3d81b (f:581b)
+PlayerCanExecuteChargingMove:
ld hl,wPlayerBattleStatus1
res ChargingUp,[hl] ; reset charging up and invulnerability statuses if mon was charging up for an attack
; being fully paralyzed or hurting oneself in confusion removes charging up status
; resulting in the Pokemon being invulnerable for the whole battle
res Invulnerable,[hl]
-PlayerCanExecuteMove: ; 3d822 (f:5822)
+PlayerCanExecuteMove:
call PrintMonName1Text
ld hl,DecrementPP
ld de,wPlayerSelectedMove ; pointer to the move just used
@@ -3348,7 +3348,7 @@ PlayerCanExecuteMove: ; 3d822 (f:5822)
ld de,1
call IsInArray
call c,JumpMoveEffect ; execute the effects of SpecialEffectsCont moves (e.g. Wrap, Thrash) but don't skip anything
-PlayerCalcMoveDamage: ; 3d84e (f:584e)
+PlayerCalcMoveDamage:
ld a,[wPlayerMoveEffect]
ld hl,SetDamageEffects
ld de,1
@@ -3365,7 +3365,7 @@ PlayerCalcMoveDamage: ; 3d84e (f:584e)
call RandomizeDamage
.moveHitTest
call MoveHitTest
-handleIfPlayerMoveMissed: ; 3d877 (f:5877)
+handleIfPlayerMoveMissed:
ld a,[wMoveMissed]
and a
jr z,getPlayerAnimationType
@@ -3373,7 +3373,7 @@ handleIfPlayerMoveMissed: ; 3d877 (f:5877)
sub a,EXPLODE_EFFECT
jr z,playPlayerMoveAnimation ; don't play any animation if the move missed, unless it was EXPLODE_EFFECT
jr playerCheckIfFlyOrChargeEffect
-getPlayerAnimationType: ; 3d87b (f:587b)
+getPlayerAnimationType:
ld a,[wPlayerMoveEffect]
and a
ld a,4 ; move has no effect other than dealing damage
@@ -3412,7 +3412,7 @@ playerCheckIfFlyOrChargeEffect ; 3d8bd (f:58bd)
ld [wAnimationType],a
ld a,STATUS_AFFECTED_ANIM
call PlayMoveAnimation
-MirrorMoveCheck: ; 3d8d8 (f:58d8)
+MirrorMoveCheck:
ld a,[wPlayerMoveEffect]
cp a,MIRROR_MOVE_EFFECT
jr nz,.metronomeCheck
@@ -3485,17 +3485,17 @@ MirrorMoveCheck: ; 3d8d8 (f:58d8)
; Responsible for executing Twineedle's second side effect (poison).
jp ExecutePlayerMoveDone
-MultiHitText: ; 3d977 (f:5977)
+MultiHitText:
TX_FAR _MultiHitText
db "@"
-ExecutePlayerMoveDone: ; 3d97c (f:597c)
+ExecutePlayerMoveDone:
xor a
ld [wActionResultOrTookBattleTurn],a
ld b,1
ret
-PrintGhostText: ; 3d983 (f:5983)
+PrintGhostText:
; print the ghost battle messages
call IsGhostBattle
ret nz
@@ -3515,15 +3515,15 @@ PrintGhostText: ; 3d983 (f:5983)
xor a
ret
-ScaredText: ; 3d9a2 (f:59a2)
+ScaredText:
TX_FAR _ScaredText
db "@"
-GetOutText: ; 3d9a7 (f:59a7)
+GetOutText:
TX_FAR _GetOutText
db "@"
-IsGhostBattle: ; 3d9ac (f:59ac)
+IsGhostBattle:
ld a,[wIsInBattle]
dec a
ret nz
@@ -3542,7 +3542,7 @@ IsGhostBattle: ; 3d9ac (f:59ac)
; checks for various status conditions affecting the player mon
; stores whether the mon cannot use a move this turn in Z flag
-CheckPlayerStatusConditions: ; 3d9c6 (f:59c6)
+CheckPlayerStatusConditions:
ld hl,wBattleMonStatus
ld a,[hl]
and a,SLP ; sleep mask
@@ -3803,67 +3803,67 @@ CheckPlayerStatusConditions: ; 3d9c6 (f:59c6)
and a
ret
-FastAsleepText: ; 3dbaf (f:5baf)
+FastAsleepText:
TX_FAR _FastAsleepText
db "@"
-WokeUpText: ; 3dbb4 (f:5bb4)
+WokeUpText:
TX_FAR _WokeUpText
db "@"
-IsFrozenText: ; 3dbb9 (f:5bb9)
+IsFrozenText:
TX_FAR _IsFrozenText
db "@"
-FullyParalyzedText: ; 3dbbe (f:5bbe)
+FullyParalyzedText:
TX_FAR _FullyParalyzedText
db "@"
-FlinchedText: ; 3dbc3 (f:5bc3)
+FlinchedText:
TX_FAR _FlinchedText
db "@"
-MustRechargeText: ; 3dbc8 (f:5bc8)
+MustRechargeText:
TX_FAR _MustRechargeText
db "@"
-DisabledNoMoreText: ; 3dbcd (f:5bcd)
+DisabledNoMoreText:
TX_FAR _DisabledNoMoreText
db "@"
-IsConfusedText: ; 3dbd2 (f:5bd2)
+IsConfusedText:
TX_FAR _IsConfusedText
db "@"
-HurtItselfText: ; 3dbd7 (f:5bd7)
+HurtItselfText:
TX_FAR _HurtItselfText
db "@"
-ConfusedNoMoreText: ; 3dbdc (f:5bdc)
+ConfusedNoMoreText:
TX_FAR _ConfusedNoMoreText
db "@"
-SavingEnergyText: ; 3dbe1 (f:5be1)
+SavingEnergyText:
TX_FAR _SavingEnergyText
db "@"
-UnleashedEnergyText: ; 3dbe6 (f:5be6)
+UnleashedEnergyText:
TX_FAR _UnleashedEnergyText
db "@"
-ThrashingAboutText: ; 3dbeb (f:5beb)
+ThrashingAboutText:
TX_FAR _ThrashingAboutText
db "@"
-AttackContinuesText: ; 3dbf0 (f:5bf0)
+AttackContinuesText:
TX_FAR _AttackContinuesText
db "@"
-CantMoveText: ; 3dbf5 (f:5bf5)
+CantMoveText:
TX_FAR _CantMoveText
db "@"
-PrintMoveIsDisabledText: ; 3dbfa (f:5bfa)
+PrintMoveIsDisabledText:
ld hl, wPlayerSelectedMove
ld de, wPlayerBattleStatus1
ld a, [H_WHOSETURN]
@@ -3881,11 +3881,11 @@ PrintMoveIsDisabledText: ; 3dbfa (f:5bfa)
ld hl, MoveIsDisabledText
jp PrintText
-MoveIsDisabledText: ; 3dc1a (f:5c1a)
+MoveIsDisabledText:
TX_FAR _MoveIsDisabledText
db "@"
-HandleSelfConfusionDamage: ; 3dc1f (f:5c1f)
+HandleSelfConfusionDamage:
ld hl, HurtItselfText
call PrintText
ld hl, wEnemyMonDefense
@@ -3929,7 +3929,7 @@ HandleSelfConfusionDamage: ; 3dc1f (f:5c1f)
ld [H_WHOSETURN], a
jp ApplyDamageToPlayerPokemon
-PrintMonName1Text: ; 3dc67 (f:5c67)
+PrintMonName1Text:
ld hl, MonName1Text
jp PrintText
@@ -3938,7 +3938,7 @@ PrintMonName1Text: ; 3dc67 (f:5c67)
; those text strings are identical and both continue at PrintInsteadText
; this likely had to do with Japanese grammar that got translated,
; but the functionality didn't get removed
-MonName1Text: ; 3dc6d (f:5c6d)
+MonName1Text:
TX_FAR _MonName1Text
TX_ASM
ld a, [H_WHOSETURN]
@@ -3963,33 +3963,33 @@ MonName1Text: ; 3dc6d (f:5c6d)
ld hl, Used1Text
ret
-Used1Text: ; 3dc9f (f:5c9f)
+Used1Text:
TX_FAR _Used1Text
TX_ASM
jr PrintInsteadText
-Used2Text: ; 3dca6 (f:5ca6)
+Used2Text:
TX_FAR _Used2Text
TX_ASM
; fall through
-PrintInsteadText: ; 3dcab (f:5cab)
+PrintInsteadText:
ld a, [wMonIsDisobedient]
and a
jr z, PrintMoveName
ld hl, InsteadText
ret
-InsteadText: ; 3dcb5 (f:5cb5)
+InsteadText:
TX_FAR _InsteadText
TX_ASM
; fall through
-PrintMoveName: ; 3dcba (f:5cba)
+PrintMoveName:
ld hl, _PrintMoveName
ret
-_PrintMoveName: ; 3dcbe (f:5cbe)
+_PrintMoveName:
TX_FAR _CF4BText
TX_ASM
ld hl, ExclamationPointPointerTable
@@ -4005,30 +4005,30 @@ _PrintMoveName: ; 3dcbe (f:5cbe)
ld l, a
ret
-ExclamationPointPointerTable: ; 3dcd4 (f:5cd4)
+ExclamationPointPointerTable:
dw ExclamationPoint1Text
dw ExclamationPoint2Text
dw ExclamationPoint3Text
dw ExclamationPoint4Text
dw ExclamationPoint5Text
-ExclamationPoint1Text: ; 3dcde (f:5cde)
+ExclamationPoint1Text:
TX_FAR _ExclamationPoint1Text
db "@"
-ExclamationPoint2Text: ; 3dce3 (f:5ce3)
+ExclamationPoint2Text:
TX_FAR _ExclamationPoint2Text
db "@"
-ExclamationPoint3Text: ; 3dce8 (f:5ce8)
+ExclamationPoint3Text:
TX_FAR _ExclamationPoint3Text
db "@"
-ExclamationPoint4Text: ; 3dced (f:5ced)
+ExclamationPoint4Text:
TX_FAR _ExclamationPoint4Text
db "@"
-ExclamationPoint5Text: ; 3dcf2 (f:5cf2)
+ExclamationPoint5Text:
TX_FAR _ExclamationPoint5Text
db "@"
@@ -4039,7 +4039,7 @@ ExclamationPoint5Text: ; 3dcf2 (f:5cf2)
; but all five text strings are identical
; this likely had to do with Japanese grammar that got translated,
; but the functionality didn't get removed
-DetermineExclamationPointTextNum: ; 3dcf7 (f:5cf7)
+DetermineExclamationPointTextNum:
push bc
ld a, [wd11e] ; move ID
ld c, a
@@ -4061,7 +4061,7 @@ DetermineExclamationPointTextNum: ; 3dcf7 (f:5cf7)
pop bc
ret
-ExclamationPointMoveSets: ; 3dd15 (f:5d15)
+ExclamationPointMoveSets:
; a grammar mistake was fixed (only concerning japanese)
; BIDE is in category 3, moved from category 2
db SWORDS_DANCE, GROWTH
@@ -4078,7 +4078,7 @@ ExclamationPointMoveSets: ; 3dd15 (f:5d15)
db $00
db $FF ; terminator
-PrintMoveFailureText: ; 3dd54 (f:5d54)
+PrintMoveFailureText:
ld de, wPlayerMoveEffect
ld a, [H_WHOSETURN]
and a
@@ -4135,28 +4135,28 @@ PrintMoveFailureText: ; 3dd54 (f:5d54)
.enemyTurn
jp ApplyDamageToEnemyPokemon
-AttackMissedText: ; 3ddb4 (f:5db4)
+AttackMissedText:
TX_FAR _AttackMissedText
db "@"
-KeptGoingAndCrashedText: ; 3ddb9 (f:5db9)
+KeptGoingAndCrashedText:
TX_FAR _KeptGoingAndCrashedText
db "@"
-UnaffectedText: ; 3ddbe (f:5dbe)
+UnaffectedText:
TX_FAR _UnaffectedText
db "@"
-PrintDoesntAffectText: ; 3ddc3 (f:5dc3)
+PrintDoesntAffectText:
ld hl, DoesntAffectMonText
jp PrintText
-DoesntAffectMonText: ; 3ddc9 (f:5dc9)
+DoesntAffectMonText:
TX_FAR _DoesntAffectMonText
db "@"
; if there was a critical hit or an OHKO was successful, print the corresponding text
-PrintCriticalOHKOText: ; 3ddce (f:5dce)
+PrintCriticalOHKOText:
ld a, [wCriticalHitOrOHKO]
and a
jr z, .done ; do nothing if there was no critical hit or successful OHKO
@@ -4176,21 +4176,21 @@ PrintCriticalOHKOText: ; 3ddce (f:5dce)
ld c, 20
jp DelayFrames
-CriticalOHKOTextPointers: ; 3ddec (f:5dec)
+CriticalOHKOTextPointers:
dw CriticalHitText
dw OHKOText
-CriticalHitText: ; 3ddf0 (f:5df0)
+CriticalHitText:
TX_FAR _CriticalHitText
db "@"
-OHKOText: ; 3ddf5 (f:5df5)
+OHKOText:
TX_FAR _OHKOText
db "@"
; checks if a traded mon will disobey due to lack of badges
; stores whether the mon will use a move in Z flag
-CheckForDisobedience: ; 3ddfa (f:5dfa)
+CheckForDisobedience:
xor a
ld [wMonIsDisobedient], a
ld a, [wLinkState]
@@ -4369,28 +4369,28 @@ CheckForDisobedience: ; 3ddfa (f:5dfa)
xor a ; set Z flag
ret
-LoafingAroundText: ; 3df28 (f:5f28)
+LoafingAroundText:
TX_FAR _LoafingAroundText
db "@"
-BeganToNapText: ; 3df2d (f:5f2d)
+BeganToNapText:
TX_FAR _BeganToNapText
db "@"
-WontObeyText: ; 3df32 (f:5f32)
+WontObeyText:
TX_FAR _WontObeyText
db "@"
-TurnedAwayText: ; 3df37 (f:5f37)
+TurnedAwayText:
TX_FAR _TurnedAwayText
db "@"
-IgnoredOrdersText: ; 3df3c (f:5f3c)
+IgnoredOrdersText:
TX_FAR _IgnoredOrdersText
db "@"
; sets b, c, d, and e for the CalculateDamage routine in the case of an attack by the player mon
-GetDamageVarsForPlayerAttack: ; 3df41 (f:5f41)
+GetDamageVarsForPlayerAttack:
xor a
ld hl, wDamage ; damage to eventually inflict, initialise to zero
ldi [hl], a
@@ -4503,7 +4503,7 @@ GetDamageVarsForPlayerAttack: ; 3df41 (f:5f41)
ret
; sets b, c, d, and e for the CalculateDamage routine in the case of an attack by the enemy mon
-GetDamageVarsForEnemyAttack: ; 3dfe7 (f:5fe7)
+GetDamageVarsForEnemyAttack:
ld hl, wDamage ; damage to eventually inflict, initialise to zero
xor a
ld [hli], a
@@ -4618,7 +4618,7 @@ GetDamageVarsForEnemyAttack: ; 3dfe7 (f:5fe7)
; get stat c of enemy mon
; c: stat to get (HP=1,Attack=2,Defense=3,Speed=4,Special=5)
-GetEnemyMonStat: ; 3e08e (f:608e)
+GetEnemyMonStat:
push de
push bc
ld a, [wLinkState]
@@ -4659,7 +4659,7 @@ GetEnemyMonStat: ; 3e08e (f:608e)
pop de
ret
-CalculateDamage: ; 3d0d7 (f:60d7)
+CalculateDamage:
; input:
; b: attack
; c: opponent defense
@@ -4821,14 +4821,14 @@ CalculateDamage: ; 3d0d7 (f:60d7)
and a
ret
-JumpToOHKOMoveEffect: ; 3e188 (f:6188)
+JumpToOHKOMoveEffect:
call JumpMoveEffect
ld a, [wMoveMissed]
dec a
ret
-UnusedHighCriticalMoves: ; 3e190 (f:6190)
+UnusedHighCriticalMoves:
db KARATE_CHOP
db RAZOR_LEAF
db CRABHAMMER
@@ -4839,7 +4839,7 @@ UnusedHighCriticalMoves: ; 3e190 (f:6190)
; determines if attack is a critical hit
; azure heights claims "the fastest pokémon (who are, not coincidentally,
; among the most popular) tend to CH about 20 to 25% of the time."
-CriticalHitTest: ; 3e195 (f:6195)
+CriticalHitTest:
xor a
ld [wCriticalHitOrOHKO], a
ld a, [H_WHOSETURN]
@@ -4906,7 +4906,7 @@ CriticalHitTest: ; 3e195 (f:6195)
ret
; high critical hit moves
-HighCriticalMoves: ; 3e200 (f:6200)
+HighCriticalMoves:
db KARATE_CHOP
db RAZOR_LEAF
db CRABHAMMER
@@ -4915,7 +4915,7 @@ HighCriticalMoves: ; 3e200 (f:6200)
; function to determine if Counter hits and if so, how much damage it does
-HandleCounterMove: ; 3e205 (f:6205)
+HandleCounterMove:
; The variables checked by Counter are updated whenever the cursor points to a new move in the battle selection menu.
; This is irrelevant for the opponent's side outside of link battles, since the move selection is controlled by the AI.
; However, in the scenario where the player switches out and the opponent uses Counter,
@@ -4980,7 +4980,7 @@ HandleCounterMove: ; 3e205 (f:6205)
xor a
ret
-ApplyAttackToEnemyPokemon: ; 3e251 (f:6251)
+ApplyAttackToEnemyPokemon:
ld a,[wPlayerMoveEffect]
cp a,OHKO_EFFECT
jr z,ApplyDamageToEnemyPokemon
@@ -5046,7 +5046,7 @@ ApplyAttackToEnemyPokemon: ; 3e251 (f:6251)
ld a,b
ld [hl],a
-ApplyDamageToEnemyPokemon: ; 3e2b4 (f:62b4)
+ApplyDamageToEnemyPokemon:
ld hl,wDamage
ld a,[hli]
ld b,a
@@ -5096,10 +5096,10 @@ ApplyDamageToEnemyPokemon: ; 3e2b4 (f:62b4)
xor a
ld [wHPBarType],a
predef UpdateHPBar2 ; animate the HP bar shortening
-ApplyAttackToEnemyPokemonDone: ; 3e30f (f:630f)
+ApplyAttackToEnemyPokemonDone:
jp DrawHUDsAndHPBars
-ApplyAttackToPlayerPokemon: ; 3e312 (f:6312)
+ApplyAttackToPlayerPokemon:
ld a,[wEnemyMoveEffect]
cp a,OHKO_EFFECT
jr z,ApplyDamageToPlayerPokemon
@@ -5165,7 +5165,7 @@ ApplyAttackToPlayerPokemon: ; 3e312 (f:6312)
ld a,b
ld [hl],a
-ApplyDamageToPlayerPokemon: ; 3e372 (f:6372)
+ApplyDamageToPlayerPokemon:
ld hl,wDamage
ld a,[hli]
ld b,a
@@ -5214,10 +5214,10 @@ ApplyDamageToPlayerPokemon: ; 3e372 (f:6372)
ld a,$01
ld [wHPBarType],a
predef UpdateHPBar2 ; animate the HP bar shortening
-ApplyAttackToPlayerPokemonDone: ; 3e3cd (f:63cd)
+ApplyAttackToPlayerPokemonDone:
jp DrawHUDsAndHPBars
-AttackSubstitute: ; 3e3d0 (f:63d0)
+AttackSubstitute:
; Unlike the two ApplyAttackToPokemon functions, Attack Substitute is shared by player and enemy.
; Self-confusion damage as well as Hi-Jump Kick and Jump Kick recoil cause a momentary turn swap before being applied.
; If the user has a Substitute up and would take damage because of that,
@@ -5272,16 +5272,16 @@ AttackSubstitute: ; 3e3d0 (f:63d0)
ld [hl],a ; zero the effect of the attacker's move
jp DrawHUDsAndHPBars
-SubstituteTookDamageText: ; 3e41e (f:641e)
+SubstituteTookDamageText:
TX_FAR _SubstituteTookDamageText
db "@"
-SubstituteBrokeText: ; 3e423 (f:6423)
+SubstituteBrokeText:
TX_FAR _SubstituteBrokeText
db "@"
; this function raises the attack modifier of a pokemon using Rage when that pokemon is attacked
-HandleBuildingRage: ; 3e428 (f:6428)
+HandleBuildingRage:
; values for the player turn
ld hl,wEnemyBattleStatus2
ld de,wEnemyMonStatMods
@@ -5323,13 +5323,13 @@ HandleBuildingRage: ; 3e428 (f:6428)
ld [H_WHOSETURN],a
ret
-BuildingRageText: ; 3e46a (f:646a)
+BuildingRageText:
TX_FAR _BuildingRageText
db "@"
; copy last move for Mirror Move
; sets zero flag on failure and unsets zero flag on success
-MirrorMoveCopyMove: ; 3e46f (f:646f)
+MirrorMoveCopyMove:
; Mirror Move makes use of ccf1 (wPlayerUsedMove) and ccf2 (wEnemyUsedMove) addresses,
; which are mainly used to print the "[Pokemon] used [Move]" text.
; Both are set to 0 whenever a new Pokemon is sent out
@@ -5359,12 +5359,12 @@ MirrorMoveCopyMove: ; 3e46f (f:646f)
xor a
ret
-MirrorMoveFailedText: ; 3e496 (f:6496)
+MirrorMoveFailedText:
TX_FAR _MirrorMoveFailedText
db "@"
; function used to reload move data for moves like Mirror Move and Metronome
-ReloadMoveData: ; 3e49b (f:649b)
+ReloadMoveData:
ld [wd11e],a
dec a
ld hl,Moves
@@ -5381,7 +5381,7 @@ ReloadMoveData: ; 3e49b (f:649b)
ret
; function that picks a random move for metronome
-MetronomePickMove: ; 3e4ba (f:64ba)
+MetronomePickMove:
xor a
ld [wAnimationType],a
ld a,METRONOME
@@ -5410,7 +5410,7 @@ MetronomePickMove: ; 3e4ba (f:64ba)
; this function increments the current move's PP
; it's used to prevent moves that run another move within the same turn
; (like Mirror Move and Metronome) from losing 2 PP
-IncrementMovePP: ; 3e4e5 (f:64e5)
+IncrementMovePP:
ld a,[H_WHOSETURN]
and a
; values for player turn
@@ -5442,7 +5442,7 @@ IncrementMovePP: ; 3e4e5 (f:64e5)
ret
; function to adjust the base damage of an attack to account for type effectiveness
-AdjustDamageForMoveType: ; 3e517 (f:6517)
+AdjustDamageForMoveType:
; values for player turn
ld hl,wBattleMonType
ld a,[hli]
@@ -5555,7 +5555,7 @@ AdjustDamageForMoveType: ; 3e517 (f:6517)
.done
ret
-AIGetTypeEffectiveness: ; 3e5bb (f:65bb)
+AIGetTypeEffectiveness:
ld a,[wEnemyMoveType]
ld d,a ; d = type of enemy move
ld hl,wBattleMonType
@@ -5602,7 +5602,7 @@ AIGetTypeEffectiveness: ; 3e5bb (f:65bb)
INCLUDE "data/type_effects.asm"
; some tests that need to pass for a move to hit
-MoveHitTest: ; 3e6f1 (f:66f1)
+MoveHitTest:
; player's turn
ld hl,wEnemyBattleStatus1
ld de,wPlayerMoveEffect
@@ -5722,7 +5722,7 @@ MoveHitTest: ; 3e6f1 (f:66f1)
ret
; values for player turn
-CalcHitChance: ; 3e7aa (f:67aa)
+CalcHitChance:
ld hl,wPlayerMoveAccuracy
ld a,[H_WHOSETURN]
and a
@@ -5794,7 +5794,7 @@ CalcHitChance: ; 3e7aa (f:67aa)
ret
; multiplies damage by a random percentage from ~85% to 100%
-RandomizeDamage: ; 3e80d (f:680d)
+RandomizeDamage:
ld hl, wDamage
ld a, [hli]
and a
@@ -5831,7 +5831,7 @@ RandomizeDamage: ; 3e80d (f:680d)
ret
; for more detailed commentary, see equivalent function for player side (ExecutePlayerMove)
-ExecuteEnemyMove: ; 3e842 (f:6842)
+ExecuteEnemyMove:
ld a, [wEnemySelectedMove]
inc a
jp z, ExecuteEnemyMoveDone
@@ -5863,14 +5863,14 @@ ExecuteEnemyMove: ; 3e842 (f:6842)
jr nz, EnemyCanExecuteChargingMove ; if so, jump
call GetCurrentMove
-CheckIfEnemyNeedsToChargeUp: ; 3e882 (f:6882)
+CheckIfEnemyNeedsToChargeUp:
ld a, [wEnemyMoveEffect]
cp CHARGE_EFFECT
jp z, JumpMoveEffect
cp FLY_EFFECT
jp z, JumpMoveEffect
jr EnemyCanExecuteMove
-EnemyCanExecuteChargingMove: ; 3e891 (f:6891)
+EnemyCanExecuteChargingMove:
ld hl, wEnemyBattleStatus1
res ChargingUp, [hl] ; no longer charging up for attack
res Invulnerable, [hl] ; no longer invulnerable to typical attacks
@@ -5883,7 +5883,7 @@ EnemyCanExecuteChargingMove: ; 3e891 (f:6891)
call GetName
ld de, wcd6d
call CopyStringToCF4B
-EnemyCanExecuteMove: ; 3e8b1 (f:68b1)
+EnemyCanExecuteMove:
xor a
ld [wMonIsDisobedient], a
call PrintMonName1Text
@@ -5897,7 +5897,7 @@ EnemyCanExecuteMove: ; 3e8b1 (f:68b1)
ld de, $1
call IsInArray
call c, JumpMoveEffect
-EnemyCalcMoveDamage: ; 3e8d6 (f:68d6)
+EnemyCalcMoveDamage:
call SwapPlayerAndEnemyLevels
ld a, [wEnemyMoveEffect]
ld hl, SetDamageEffects
@@ -5915,9 +5915,9 @@ EnemyCalcMoveDamage: ; 3e8d6 (f:68d6)
call AdjustDamageForMoveType
call RandomizeDamage
-EnemyMoveHitTest: ; 3e905 (f:6905)
+EnemyMoveHitTest:
call MoveHitTest
-handleIfEnemyMoveMissed: ; 3e908 (f:6908)
+handleIfEnemyMoveMissed:
ld a, [wMoveMissed]
and a
jr z, .moveDidNotMiss
@@ -5928,17 +5928,17 @@ handleIfEnemyMoveMissed: ; 3e908 (f:6908)
.moveDidNotMiss
call SwapPlayerAndEnemyLevels
-GetEnemyAnimationType: ; 3e91a (f:691a)
+GetEnemyAnimationType:
ld a, [wEnemyMoveEffect]
and a
ld a, $1
jr z, playEnemyMoveAnimation
ld a, $2
jr playEnemyMoveAnimation
-handleExplosionMiss: ; 3e926 (f:6926)
+handleExplosionMiss:
call SwapPlayerAndEnemyLevels
xor a
-playEnemyMoveAnimation: ; 3e92a (f:692a)
+playEnemyMoveAnimation:
push af
ld a, [wEnemyBattleStatus2]
bit HasSubstituteUp, a ; does mon have a substitute?
@@ -5958,7 +5958,7 @@ playEnemyMoveAnimation: ; 3e92a (f:692a)
call nz, Bankswitch ; slide the substitute's sprite out
jr EnemyCheckIfMirrorMoveEffect
-EnemyCheckIfFlyOrChargeEffect: ; 3e957 (f:6957)
+EnemyCheckIfFlyOrChargeEffect:
call SwapPlayerAndEnemyLevels
ld c, 30
call DelayFrames
@@ -5973,7 +5973,7 @@ EnemyCheckIfFlyOrChargeEffect: ; 3e957 (f:6957)
ld [wAnimationType], a
ld a,STATUS_AFFECTED_ANIM
call PlayMoveAnimation
-EnemyCheckIfMirrorMoveEffect: ; 3e975 (f:6975)
+EnemyCheckIfMirrorMoveEffect:
ld a, [wEnemyMoveEffect]
cp MIRROR_MOVE_EFFECT
jr nz, .notMirrorMoveEffect
@@ -6040,17 +6040,17 @@ EnemyCheckIfMirrorMoveEffect: ; 3e975 (f:6975)
call nc, JumpMoveEffect
jr ExecuteEnemyMoveDone
-HitXTimesText: ; 3ea0d (f:6a0d)
+HitXTimesText:
TX_FAR _HitXTimesText
db "@"
-ExecuteEnemyMoveDone: ; 3ea12 (f:6a12)
+ExecuteEnemyMoveDone:
ld b, $1
ret
; checks for various status conditions affecting the enemy mon
; stores whether the mon cannot use a move this turn in Z flag
-CheckEnemyStatusConditions: ; 3ea15 (f:6a15)
+CheckEnemyStatusConditions:
ld hl, wEnemyMonStatus
ld a, [hl]
and SLP ; sleep mask
@@ -6332,7 +6332,7 @@ CheckEnemyStatusConditions: ; 3ea15 (f:6a15)
and a ; clear Z flag
ret
-GetCurrentMove: ; 3ec44 (f:6c44)
+GetCurrentMove:
ld a, [H_WHOSETURN]
and a
jp z, .player
@@ -6363,7 +6363,7 @@ GetCurrentMove: ; 3ec44 (f:6c44)
ld de, wcd6d
jp CopyStringToCF4B
-LoadEnemyMonData: ; 3ec87 (f:6c87)
+LoadEnemyMonData:
ld a, [wLinkState]
cp LINK_STATE_BATTLING
jp z, LoadEnemyMonFromParty
@@ -6523,7 +6523,7 @@ LoadEnemyMonData: ; 3ec87 (f:6c87)
ret
; calls BattleTransition to show the battle transition animation and initializes some battle variables
-DoBattleTransitionAndInitBattleVariables: ; 3edb8 (f:6db8)
+DoBattleTransitionAndInitBattleVariables:
ld a, [wLinkState]
cp LINK_STATE_BATTLING
jr nz, .next
@@ -6559,7 +6559,7 @@ DoBattleTransitionAndInitBattleVariables: ; 3edb8 (f:6db8)
ret
; swaps the level values of the BattleMon and EnemyMon structs
-SwapPlayerAndEnemyLevels: ; 3ee07 (f:6e07)
+SwapPlayerAndEnemyLevels:
push bc
ld a, [wBattleMonLevel]
ld b, a
@@ -6573,7 +6573,7 @@ SwapPlayerAndEnemyLevels: ; 3ee07 (f:6e07)
; loads either red back pic or old man back pic
; also writes OAM data and loads tile patterns for the Red or Old Man back sprite's head
; (for use when scrolling the player sprite and enemy's silhouettes on screen)
-LoadPlayerBackPic: ; 3ee18 (f:6e18)
+LoadPlayerBackPic:
ld a, [wBattleType]
ld de, OldManPic
cp BATTLE_TYPE_OLD_MAN ; is it the old man tutorial?
@@ -6636,26 +6636,26 @@ LoadPlayerBackPic: ; 3ee18 (f:6e18)
predef_jump CopyUncompressedPicToTilemap
; does nothing since no stats are ever selected (barring glitches)
-DoubleOrHalveSelectedStats: ; 3ee8e (f:6e8e)
+DoubleOrHalveSelectedStats:
callab DoubleSelectedStats
jpab HalveSelectedStats
-ScrollTrainerPicAfterBattle: ; 3ee9e (f:6e9e)
+ScrollTrainerPicAfterBattle:
jpab _ScrollTrainerPicAfterBattle
-ApplyBurnAndParalysisPenaltiesToPlayer: ; 3eea6 (f:6ea6)
+ApplyBurnAndParalysisPenaltiesToPlayer:
ld a, $1
jr ApplyBurnAndParalysisPenalties
-ApplyBurnAndParalysisPenaltiesToEnemy: ; 3eeaa (f:6eaa)
+ApplyBurnAndParalysisPenaltiesToEnemy:
xor a
-ApplyBurnAndParalysisPenalties: ; 3eeab (f:6eab)
+ApplyBurnAndParalysisPenalties:
ld [H_WHOSETURN], a
call QuarterSpeedDueToParalysis
jp HalveAttackDueToBurn
-QuarterSpeedDueToParalysis: ; 3eeb3 (f:6eb3)
+QuarterSpeedDueToParalysis:
ld a, [H_WHOSETURN]
and a
jr z, .playerTurn
@@ -6698,7 +6698,7 @@ QuarterSpeedDueToParalysis: ; 3eeb3 (f:6eb3)
ld [hl], b
ret
-HalveAttackDueToBurn: ; 3eeef (f:6eef)
+HalveAttackDueToBurn:
ld a, [H_WHOSETURN]
and a
jr z, .playerTurn
@@ -6737,7 +6737,7 @@ HalveAttackDueToBurn: ; 3eeef (f:6eef)
ld [hl], b
ret
-CalculateModifiedStats: ; 3ef25 (f:6f25)
+CalculateModifiedStats:
ld c, 0
.loop
call CalculateModifiedStat
@@ -6748,7 +6748,7 @@ CalculateModifiedStats: ; 3ef25 (f:6f25)
ret
; calculate modified stat for stat c (0 = attack, 1 = defense, 2 = speed, 3 = special)
-CalculateModifiedStat: ; 3ef31 (f:6f31)
+CalculateModifiedStat:
push bc
push bc
ld a, [wCalculateWhoseStats]
@@ -6826,7 +6826,7 @@ CalculateModifiedStat: ; 3ef31 (f:6f31)
pop bc
ret
-ApplyBadgeStatBoosts: ; 3efa5 (f:6fa5)
+ApplyBadgeStatBoosts:
ld a, [wLinkState]
cp LINK_STATE_BATTLING
ret z ; return if link battle
@@ -6879,10 +6879,10 @@ ApplyBadgeStatBoosts: ; 3efa5 (f:6fa5)
ld [hld], a
ret
-LoadHudAndHpBarAndStatusTilePatterns: ; 3efe4 (f:6fe4)
+LoadHudAndHpBarAndStatusTilePatterns:
call LoadHpBarAndStatusTilePatterns
-LoadHudTilePatterns: ; 3efe7 (f:6fe7)
+LoadHudTilePatterns:
ld a, [rLCDC]
add a ; is LCD disabled?
jr c, .lcdEnabled
@@ -6907,14 +6907,14 @@ LoadHudTilePatterns: ; 3efe7 (f:6fe7)
lb bc, BANK(BattleHudTiles2), (BattleHudTiles3End - BattleHudTiles2) / $8
jp CopyVideoDataDouble
-PrintEmptyString: ; 3f020 (f:7020)
+PrintEmptyString:
ld hl, .emptyString
jp PrintText
.emptyString
db "@"
-BattleRandom: ; 3f027 (f:7027)
+BattleRandom:
; Link battles use a shared PRNG.
ld a, [wLinkState]
@@ -6966,7 +6966,7 @@ BattleRandom: ; 3f027 (f:7027)
ret
-HandleExplodingAnimation: ; 3f05f (f:705f)
+HandleExplodingAnimation:
ld a, [H_WHOSETURN]
and a
ld hl, wEnemyMonType1
@@ -6997,19 +6997,19 @@ HandleExplodingAnimation: ; 3f05f (f:705f)
ld a, 5
ld [wAnimationType], a
-PlayMoveAnimation: ; 3f093 (f:7093)
+PlayMoveAnimation:
ld [wAnimationID],a
call Delay3
predef MoveAnimation
callab Func_78e98
ret
-JumpMoveEffect: ; 3f0a7 (f:70a7)
+JumpMoveEffect:
call _JumpMoveEffect
ld b, $1
ret
-_JumpMoveEffect: ; 3f0ad (f:70ad)
+_JumpMoveEffect:
ld a, [H_WHOSETURN]
and a
ld a, [wPlayerMoveEffect]
@@ -7027,7 +7027,7 @@ _JumpMoveEffect: ; 3f0ad (f:70ad)
ld l, a
jp [hl] ; jump to special effect handler
-MoveEffectPointerTable: ; 3f0c5 (f:70c5)
+MoveEffectPointerTable:
dw SleepEffect ; unused effect
dw PoisonEffect ; POISON_SIDE_EFFECT1
dw DrainHPEffect ; DRAIN_HP_EFFECT
@@ -7115,7 +7115,7 @@ MoveEffectPointerTable: ; 3f0c5 (f:70c5)
dw SplashEffect ; SPLASH_EFFECT
dw DisableEffect ; DISABLE_EFFECT
-SleepEffect: ; 3f171 (f:7171)
+SleepEffect:
ld de, wEnemyMonStatus
ld bc, wEnemyBattleStatus2
ld a, [H_WHOSETURN]
@@ -7169,7 +7169,7 @@ SleepEffect: ; 3f171 (f:7171)
.didntAffect
jp PrintDidntAffectText
-FellAsleepText: ; 3f1c8 (f:71c8)
+FellAsleepText:
TX_FAR _FellAsleepText
db "@"
@@ -7177,7 +7177,7 @@ AlreadyAsleepText: ; 3f1cd (f:71cds)
TX_FAR _AlreadyAsleepText
db "@"
-PoisonEffect: ; 3f1d2 (f:71d2)
+PoisonEffect:
ld hl, wEnemyMonStatus
ld de, wPlayerMoveEffect
ld a, [H_WHOSETURN]
@@ -7263,18 +7263,18 @@ PoisonEffect: ; 3f1d2 (f:71d2)
call DelayFrames
jp PrintDidntAffectText
-PoisonedText: ; 3f262 (f:7262)
+PoisonedText:
TX_FAR _PoisonedText
db "@"
-BadlyPoisonedText: ; 3f267 (f:7267)
+BadlyPoisonedText:
TX_FAR _BadlyPoisonedText
db "@"
-DrainHPEffect: ; 3f26c (f:726c)
+DrainHPEffect:
jpab DrainHPEffect_
-ExplodeEffect: ; 3f274 (f:7274)
+ExplodeEffect:
ld hl, wBattleMonHP
ld de, wPlayerBattleStatus2
ld a, [H_WHOSETURN]
@@ -7293,7 +7293,7 @@ ExplodeEffect: ; 3f274 (f:7274)
ld [de], a
ret
-FreezeBurnParalyzeEffect: ; 3f28f (f:728f)
+FreezeBurnParalyzeEffect:
xor a
ld [wAnimationType], a
call CheckTargetSubstitute ; test bit 4 of d063/d068 flags [target has substitute flag]
@@ -7424,15 +7424,15 @@ FreezeBurnParalyzeEffect: ; 3f28f (f:728f)
ld hl, FrozenText
jp PrintText
-BurnedText: ; 3f38e (f:738e)
+BurnedText:
TX_FAR _BurnedText
db "@"
-FrozenText: ; 3f393 (f:7393)
+FrozenText:
TX_FAR _FrozenText
db "@"
-CheckDefrost: ; 3f398 (f:7398)
+CheckDefrost:
; any fire-type move that has a chance inflict burn (all but Fire Spin) will defrost a frozen target
and a, 1 << FRZ ; are they frozen?
ret z ; return if so
@@ -7467,11 +7467,11 @@ CheckDefrost: ; 3f398 (f:7398)
.common
jp PrintText
-FireDefrostedText: ; 3f3d9 (f:73d9)
+FireDefrostedText:
TX_FAR _FireDefrostedText
db "@"
-StatModifierUpEffect: ; 3f3de (f:73de)
+StatModifierUpEffect:
ld hl, wPlayerMonStatMods
ld de, wPlayerMoveEffect
ld a, [H_WHOSETURN]
@@ -7570,13 +7570,13 @@ StatModifierUpEffect: ; 3f3de (f:73de)
ld a, 999 % $100
ld [H_MULTIPLICAND + 2], a
-UpdateStat: ; 3f479 (f:7479)
+UpdateStat:
ld a, [H_PRODUCT + 2]
ld [hli], a
ld a, [H_PRODUCT + 3]
ld [hl], a
pop hl
-UpdateStatDone: ; 3f480 (f:7480)
+UpdateStatDone:
ld b, c
inc b
call PrintStatText
@@ -7627,15 +7627,15 @@ UpdateStatDone: ; 3f480 (f:7480)
call QuarterSpeedDueToParalysis ; apply speed penalty to the player whose turn is not, if it's paralyzed
jp HalveAttackDueToBurn ; apply attack penalty to the player whose turn is not, if it's burned
-RestoreOriginalStatModifier: ; 3f4d6 (f:74d6)
+RestoreOriginalStatModifier:
pop hl
dec [hl]
-PrintNothingHappenedText: ; 3f4d8 (f:74d8)
+PrintNothingHappenedText:
ld hl, NothingHappenedText
jp PrintText
-MonsStatsRoseText: ; 3f4de (f:74de)
+MonsStatsRoseText:
TX_FAR _MonsStatsRoseText
TX_ASM
ld hl, GreatlyRoseText
@@ -7650,15 +7650,15 @@ MonsStatsRoseText: ; 3f4de (f:74de)
ld hl, RoseText
ret
-GreatlyRoseText: ; 3f4f8 (f:74f8)
+GreatlyRoseText:
db $0a
TX_FAR _GreatlyRoseText
; fallthrough
-RoseText: ; 3f4fd (f:74fd)
+RoseText:
TX_FAR _RoseText
db "@"
-StatModifierDownEffect: ; 3f502 (f:7502)
+StatModifierDownEffect:
ld hl, wEnemyMonStatMods
ld de, wPlayerMoveEffect
ld bc, wEnemyBattleStatus1
@@ -7788,14 +7788,14 @@ StatModifierDownEffect: ; 3f502 (f:7502)
ld a, $1
ld [H_MULTIPLICAND + 2], a
-UpdateLoweredStat: ; 3f5da (f:75da)
+UpdateLoweredStat:
ld a, [H_PRODUCT + 2]
ld [hli], a
ld a, [H_PRODUCT + 3]
ld [hl], a
pop de
pop hl
-UpdateLoweredStatDone: ; 3f5e2 (f:75e2)
+UpdateLoweredStatDone:
ld b, c
inc b
push de
@@ -7819,25 +7819,25 @@ UpdateLoweredStatDone: ; 3f5e2 (f:75e2)
call QuarterSpeedDueToParalysis
jp HalveAttackDueToBurn
-CantLowerAnymore_Pop: ; 3f603 (f:7603)
+CantLowerAnymore_Pop:
pop de
pop hl
inc [hl]
-CantLowerAnymore: ; 3f606 (f:7606)
+CantLowerAnymore:
ld a, [de]
cp ATTACK_DOWN_SIDE_EFFECT
ret nc
ld hl, NothingHappenedText
jp PrintText
-MoveMissed: ; 3f610 (f:7610)
+MoveMissed:
ld a, [de]
cp $44
ret nc
jp ConditionalPrintButItFailed
-MonsStatsFellText: ; 3f617 (f:7617)
+MonsStatsFellText:
TX_FAR _MonsStatsFellText
TX_ASM
ld hl, FellText
@@ -7855,15 +7855,15 @@ MonsStatsFellText: ; 3f617 (f:7617)
ld hl, GreatlyFellText
ret
-GreatlyFellText: ; 3f634 (f:7634)
+GreatlyFellText:
db $0a
TX_FAR _GreatlyFellText
; fallthrough
-FellText: ; 3f639 (f:7639)
+FellText:
TX_FAR _FellText
db "@"
-PrintStatText: ; 3f63e (f:763e)
+PrintStatText:
ld hl, StatsTextStrings
ld c, "@"
.findStatName_outer
@@ -7879,7 +7879,7 @@ PrintStatText: ; 3f63e (f:763e)
ld bc, $a
jp CopyData
-StatsTextStrings: ; 3f655 (f:7655)
+StatsTextStrings:
db "ATTACK@"
db "DEFENSE@"
db "SPEED@"
@@ -7887,7 +7887,7 @@ StatsTextStrings: ; 3f655 (f:7655)
db "ACCURACY@"
db "EVADE@"
-StatModifierRatios: ; 3f681 (f:7681)
+StatModifierRatios:
; first byte is numerator, second byte is denominator
db 25, 100 ; 0.25
db 28, 100 ; 0.28
@@ -7903,7 +7903,7 @@ StatModifierRatios: ; 3f681 (f:7681)
db 35, 10 ; 3.50
db 4, 1 ; 4.00
-BideEffect: ; 3f69b (f:769b)
+BideEffect:
ld hl, wPlayerBattleStatus1
ld de, wPlayerBideAccumulatedDamage
ld bc, wPlayerNumAttacksLeft
@@ -7930,7 +7930,7 @@ BideEffect: ; 3f69b (f:769b)
add XSTATITEM_ANIM
jp PlayBattleAnimation2
-ThrashPetalDanceEffect: ; 3f7cd (f:77cd)
+ThrashPetalDanceEffect:
ld hl, wPlayerBattleStatus1
ld de, wPlayerNumAttacksLeft
ld a, [H_WHOSETURN]
@@ -7949,7 +7949,7 @@ ThrashPetalDanceEffect: ; 3f7cd (f:77cd)
add ANIM_B0
jp PlayBattleAnimation2
-SwitchAndTeleportEffect: ; 3f6ef (f:76ef)
+SwitchAndTeleportEffect:
ld a, [H_WHOSETURN]
and a
jr nz, .handleEnemy
@@ -8053,19 +8053,19 @@ SwitchAndTeleportEffect: ; 3f6ef (f:76ef)
.printText
jp PrintText
-RanFromBattleText: ; 3f7b8 (f:77b8)
+RanFromBattleText:
TX_FAR _RanFromBattleText
db "@"
-RanAwayScaredText: ; 3f7bd (f:77bd)
+RanAwayScaredText:
TX_FAR _RanAwayScaredText
db "@"
-WasBlownAwayText: ; 3f7c2 (f:77c2)
+WasBlownAwayText:
TX_FAR _WasBlownAwayText
db "@"
-TwoToFiveAttacksEffect: ; 3f7c7 (f:77c7)
+TwoToFiveAttacksEffect:
ld hl, wPlayerBattleStatus1
ld de, wPlayerNumAttacksLeft
ld bc, wPlayerNumHits
@@ -8111,7 +8111,7 @@ TwoToFiveAttacksEffect: ; 3f7c7 (f:77c7)
ld [hl], a ; set Twineedle's effect to poison effect
jr .saveNumberOfHits
-FlinchSideEffect: ; 3f811 (f:7811)
+FlinchSideEffect:
call CheckTargetSubstitute
ret nz
ld hl, wEnemyBattleStatus1
@@ -8138,10 +8138,10 @@ FlinchSideEffect: ; 3f811 (f:7811)
call ClearHyperBeam
ret
-OneHitKOEffect: ; 3f842 (f:7842)
+OneHitKOEffect:
jpab OneHitKOEffect_
-ChargeEffect: ; 3f84a (f:784a)
+ChargeEffect:
ld hl, wPlayerBattleStatus1
ld de, wPlayerMoveEffect
ld a, [H_WHOSETURN]
@@ -8192,7 +8192,7 @@ ChargeEffect: ; 3f84a (f:784a)
ld hl, ChargeMoveEffectText
jp PrintText
-ChargeMoveEffectText: ; 3f8a3 (f:78a3)
+ChargeMoveEffectText:
TX_FAR _ChargeMoveEffectText
TX_ASM
ld a, [wChargeMoveNum]
@@ -8216,31 +8216,31 @@ ChargeMoveEffectText: ; 3f8a3 (f:78a3)
.gotText
ret
-MadeWhirlwindText: ; 3f8d4 (f:78d4)
+MadeWhirlwindText:
TX_FAR _MadeWhirlwindText
db "@"
-TookInSunlightText: ; 3f8d9 (f:78d9)
+TookInSunlightText:
TX_FAR _TookInSunlightText
db "@"
-LoweredItsHeadText: ; 3f8de (f:78de)
+LoweredItsHeadText:
TX_FAR _LoweredItsHeadText
db "@"
-SkyAttackGlowingText: ; 3f8e3 (f:78e3)
+SkyAttackGlowingText:
TX_FAR _SkyAttackGlowingText
db "@"
-FlewUpHighText: ; 3f8e8 (f:78e8)
+FlewUpHighText:
TX_FAR _FlewUpHighText
db "@"
-DugAHoleText: ; 3f8ed (f:78ed)
+DugAHoleText:
TX_FAR _DugAHoleText
db "@"
-TrappingEffect: ; 3f8f2 (f:78f2)
+TrappingEffect:
ld hl, wPlayerBattleStatus1
ld de, wPlayerNumAttacksLeft
ld a, [H_WHOSETURN]
@@ -8265,22 +8265,22 @@ TrappingEffect: ; 3f8f2 (f:78f2)
ld [de], a
ret
-MistEffect: ; 3f91c (f:791c)
+MistEffect:
jpab MistEffect_
-FocusEnergyEffect: ; 3f924 (f:7924)
+FocusEnergyEffect:
jpab FocusEnergyEffect_
-RecoilEffect: ; 3f92c (f:792c)
+RecoilEffect:
jpab RecoilEffect_
-ConfusionSideEffect: ; 3f934 (f:7934)
+ConfusionSideEffect:
call BattleRandom
cp $19 ; ~10% chance
ret nc
jr ConfusionSideEffectSuccess
-ConfusionEffect: ; 3f93c (f:793c)
+ConfusionEffect:
call CheckTargetSubstitute
jr nz, ConfusionEffectFailed
call MoveHitTest
@@ -8288,7 +8288,7 @@ ConfusionEffect: ; 3f93c (f:793c)
and a
jr nz, ConfusionEffectFailed
-ConfusionSideEffectSuccess: ; 3f94a (f:794a)
+ConfusionSideEffectSuccess:
ld a, [H_WHOSETURN]
and a
ld hl, wEnemyBattleStatus1
@@ -8314,24 +8314,24 @@ ConfusionSideEffectSuccess: ; 3f94a (f:794a)
ld hl, BecameConfusedText
jp PrintText
-BecameConfusedText: ; 3f97c (f:797c)
+BecameConfusedText:
TX_FAR _BecameConfusedText
db "@"
-ConfusionEffectFailed: ; 3f981 (f:7981)
+ConfusionEffectFailed:
cp CONFUSION_SIDE_EFFECT
ret z
ld c, 50
call DelayFrames
jp ConditionalPrintButItFailed
-ParalyzeEffect: ; 3f98c (f:798c)
+ParalyzeEffect:
jpab ParalyzeEffect_
-SubstituteEffect: ; 3f994 (f:7994)
+SubstituteEffect:
jpab SubstituteEffect_
-HyperBeamEffect: ; 3f99c (f:799c)
+HyperBeamEffect:
ld hl, wPlayerBattleStatus2
ld a, [H_WHOSETURN]
and a
@@ -8341,7 +8341,7 @@ HyperBeamEffect: ; 3f99c (f:799c)
set NeedsToRecharge, [hl] ; mon now needs to recharge
ret
-ClearHyperBeam: ; 3f9aa (f:79aa)
+ClearHyperBeam:
push hl
ld hl, wEnemyBattleStatus2
ld a, [H_WHOSETURN]
@@ -8353,7 +8353,7 @@ ClearHyperBeam: ; 3f9aa (f:79aa)
pop hl
ret
-RageEffect: ; 3f9ba (f:79ba)
+RageEffect:
ld hl, wPlayerBattleStatus2
ld a, [H_WHOSETURN]
and a
@@ -8363,7 +8363,7 @@ RageEffect: ; 3f9ba (f:79ba)
set UsingRage, [hl] ; mon is now in "rage" mode
ret
-MimicEffect: ; 3f9c8 (f:79c8)
+MimicEffect:
ld c, 50
call DelayFrames
call MoveHitTest
@@ -8435,18 +8435,18 @@ MimicEffect: ; 3f9c8 (f:79c8)
.mimicMissed
jp PrintButItFailedText_
-MimicLearnedMoveText: ; 3fa52 (f:7a52)
+MimicLearnedMoveText:
TX_FAR _MimicLearnedMoveText
db "@"
-LeechSeedEffect: ; 3fa57 (f:7a57)
+LeechSeedEffect:
jpab LeechSeedEffect_
-SplashEffect: ; 3fa5f (f:7a5f)
+SplashEffect:
call PlayCurrentMoveAnimation
jp PrintNoEffectText
-DisableEffect: ; 3fa65 (f:7a65)
+DisableEffect:
call MoveHitTest
ld a, [wMoveMissed]
and a
@@ -8529,74 +8529,74 @@ DisableEffect: ; 3fa65 (f:7a65)
.moveMissed
jp PrintButItFailedText_
-MoveWasDisabledText: ; 3fae4 (f:7ae4)
+MoveWasDisabledText:
TX_FAR _MoveWasDisabledText
db "@"
-PayDayEffect: ; 3fae9 (f:7ae9)
+PayDayEffect:
jpab PayDayEffect_
-ConversionEffect: ; 3faf1 (f:7af1)
+ConversionEffect:
jpab ConversionEffect_
-HazeEffect: ; 3faf9 (f:7af9)
+HazeEffect:
jpab HazeEffect_
-HealEffect: ; 3fb01 (f:7b01)
+HealEffect:
jpab HealEffect_
-TransformEffect: ; 3fb09 (f:7b09)
+TransformEffect:
jpab TransformEffect_
-ReflectLightScreenEffect: ; 3fb11 (f:7b11)
+ReflectLightScreenEffect:
jpab ReflectLightScreenEffect_
-NothingHappenedText: ; 3fb19 (f:7b19)
+NothingHappenedText:
TX_FAR _NothingHappenedText
db "@"
-PrintNoEffectText: ; 3fb1e (f:7b1e)
+PrintNoEffectText:
ld hl, NoEffectText
jp PrintText
-NoEffectText: ; 3fb24 (f:7b24)
+NoEffectText:
TX_FAR _NoEffectText
db "@"
-ConditionalPrintButItFailed: ; 3fb29 (f:7b29)
+ConditionalPrintButItFailed:
ld a, [wMoveDidntMiss]
and a
ret nz ; return if the side effect failed, yet the attack was successful
-PrintButItFailedText_: ; 3fb2e (f:7b2e)
+PrintButItFailedText_:
ld hl, ButItFailedText
jp PrintText
-ButItFailedText: ; 3fb34 (f:7b34)
+ButItFailedText:
TX_FAR _ButItFailedText
db "@"
-PrintDidntAffectText: ; 3fb39 (f:7b39)
+PrintDidntAffectText:
ld hl, DidntAffectText
jp PrintText
-DidntAffectText: ; 3fb3f (f:7b3f)
+DidntAffectText:
TX_FAR _DidntAffectText
db "@"
-IsUnaffectedText: ; 3fb44 (f:7b44)
+IsUnaffectedText:
TX_FAR _IsUnaffectedText
db "@"
-PrintMayNotAttackText: ; 3fb49 (f:7b49)
+PrintMayNotAttackText:
ld hl, ParalyzedMayNotAttackText
jp PrintText
-ParalyzedMayNotAttackText: ; 3fb4f (f:7b4f)
+ParalyzedMayNotAttackText:
TX_FAR _ParalyzedMayNotAttackText
db "@"
-CheckTargetSubstitute: ; 3fb54 (f:7b54)
+CheckTargetSubstitute:
push hl
ld hl, wEnemyBattleStatus2
ld a, [H_WHOSETURN]
@@ -8608,7 +8608,7 @@ CheckTargetSubstitute: ; 3fb54 (f:7b54)
pop hl
ret
-PlayCurrentMoveAnimation2: ; 3fb64 (f:7b64)
+PlayCurrentMoveAnimation2:
; animation at MOVENUM will be played unless MOVENUM is 0
; plays wAnimationType 3 or 6
ld a, [H_WHOSETURN]
@@ -8620,7 +8620,7 @@ PlayCurrentMoveAnimation2: ; 3fb64 (f:7b64)
and a
ret z
-PlayBattleAnimation2: ; 3fb71 (f:7b71)
+PlayBattleAnimation2:
; play animation ID at a and animation type 6 or 3
ld [wAnimationID], a
ld a, [H_WHOSETURN]
@@ -8632,7 +8632,7 @@ PlayBattleAnimation2: ; 3fb71 (f:7b71)
ld [wAnimationType], a
jp PlayBattleAnimationGotID
-PlayCurrentMoveAnimation: ; 3fb83 (f:7b83)
+PlayCurrentMoveAnimation:
; animation at MOVENUM will be played unless MOVENUM is 0
; resets wAnimationType
xor a
@@ -8646,11 +8646,11 @@ PlayCurrentMoveAnimation: ; 3fb83 (f:7b83)
and a
ret z
-PlayBattleAnimation: ; 3fb94 (f:7b94)
+PlayBattleAnimation:
; play animation ID at a and predefined animation type
ld [wAnimationID], a
-PlayBattleAnimationGotID: ; 3fb97 (f:7b97)
+PlayBattleAnimationGotID:
; play animation at wAnimationID
push hl
push de
@@ -8660,4 +8660,4 @@ PlayBattleAnimationGotID: ; 3fb97 (f:7b97)
pop bc
pop de
pop hl
- ret \ No newline at end of file
+ ret
diff --git a/engine/battle/decrement_pp.asm b/engine/battle/decrement_pp.asm
index da1910ee..fd1a3184 100644
--- a/engine/battle/decrement_pp.asm
+++ b/engine/battle/decrement_pp.asm
@@ -1,4 +1,4 @@
-DecrementPP: ; f42db (3d:42db)
+DecrementPP:
; after using a move, decrement pp in battle and (if not transformed?) in party
ld a, [de]
cp a, STRUGGLE
diff --git a/engine/battle/display_effectiveness.asm b/engine/battle/display_effectiveness.asm
index 1ef9873c..85f2bc3e 100644
--- a/engine/battle/display_effectiveness.asm
+++ b/engine/battle/display_effectiveness.asm
@@ -1,4 +1,4 @@
-DisplayEffectiveness: ; 2fd25 (b:7d25)
+DisplayEffectiveness:
ld a, [wDamageMultipliers]
and a, $7F
cp a, $0A
@@ -9,10 +9,10 @@ DisplayEffectiveness: ; 2fd25 (b:7d25)
.done
jp PrintText
-SuperEffectiveText: ; 2fd38 (b:7d38)
+SuperEffectiveText:
TX_FAR _SuperEffectiveText
db "@"
-NotVeryEffectiveText: ; 2fd3d (b:7d3d)
+NotVeryEffectiveText:
TX_FAR _NotVeryEffectiveText
db "@"
diff --git a/engine/battle/draw_hud_pokeball_gfx.asm b/engine/battle/draw_hud_pokeball_gfx.asm
index f9db556d..8f9dce46 100644
--- a/engine/battle/draw_hud_pokeball_gfx.asm
+++ b/engine/battle/draw_hud_pokeball_gfx.asm
@@ -1,4 +1,4 @@
-DrawAllPokeballs: ; 3a8df (e:68df)
+DrawAllPokeballs:
call LoadPartyPokeballGfx
call SetupOwnPartyPokeballs
ld a, [wIsInBattle]
@@ -6,17 +6,17 @@ DrawAllPokeballs: ; 3a8df (e:68df)
ret z ; return if wild pokémon
jp SetupEnemyPartyPokeballs
-DrawEnemyPokeballs: ; 3a8ed (e:68ed)
+DrawEnemyPokeballs:
call LoadPartyPokeballGfx
jp SetupEnemyPartyPokeballs
-LoadPartyPokeballGfx: ; 3a8f3 (e:68f3)
+LoadPartyPokeballGfx:
ld de, PokeballTileGraphics
ld hl, vSprites + $310
lb bc, BANK(PokeballTileGraphics), (PokeballTileGraphicsEnd - PokeballTileGraphics) / $10
jp CopyVideoData
-SetupOwnPartyPokeballs: ; 3a8ff (e:68ff)
+SetupOwnPartyPokeballs:
call PlacePlayerHUDTiles
ld hl, wPartyMon1
ld de, wPartyCount
@@ -32,7 +32,7 @@ SetupOwnPartyPokeballs: ; 3a8ff (e:68ff)
ld hl, wOAMBuffer
jp WritePokeballOAMData
-SetupEnemyPartyPokeballs: ; 3a921 (e:6921)
+SetupEnemyPartyPokeballs:
call PlaceEnemyHUDTiles
ld hl, wEnemyMons
ld de, wEnemyPartyCount
@@ -48,7 +48,7 @@ SetupEnemyPartyPokeballs: ; 3a921 (e:6921)
ld hl, wOAMBuffer + PARTY_LENGTH * 4
jp WritePokeballOAMData
-SetupPokeballs: ; 3a945 (e:6945)
+SetupPokeballs:
ld a, [de]
push af
ld de, wBuffer
@@ -70,7 +70,7 @@ SetupPokeballs: ; 3a945 (e:6945)
jr nz, .monloop
ret
-PickPokeball: ; 3a961 (e:6961)
+PickPokeball:
inc hl
ld a, [hli]
and a
@@ -98,7 +98,7 @@ PickPokeball: ; 3a961 (e:6961)
add hl, bc ; next mon struct
ret
-WritePokeballOAMData: ; 3a980 (e:6980)
+WritePokeballOAMData:
ld de, wBuffer
ld c, PARTY_LENGTH
.loop
@@ -120,7 +120,7 @@ WritePokeballOAMData: ; 3a980 (e:6980)
jr nz, .loop
ret
-PlacePlayerHUDTiles: ; 3a9a3 (e:69a3)
+PlacePlayerHUDTiles:
ld hl, PlayerBattleHUDGraphicsTiles
ld de, wHUDGraphicsTiles
ld bc, $3
@@ -129,13 +129,13 @@ PlacePlayerHUDTiles: ; 3a9a3 (e:69a3)
ld de, -1
jr PlaceHUDTiles
-PlayerBattleHUDGraphicsTiles: ; 3a9b7 (e:69b7)
+PlayerBattleHUDGraphicsTiles:
; The tile numbers for specific parts of the battle display for the player's pokemon
db $73 ; unused ($73 is hardcoded into the routine that uses these bytes)
db $77 ; lower-right corner tile of the HUD
db $6F ; lower-left triangle tile of the HUD
-PlaceEnemyHUDTiles: ; 3a9ba (e:69ba)
+PlaceEnemyHUDTiles:
ld hl, EnemyBattleHUDGraphicsTiles
ld de, wHUDGraphicsTiles
ld bc, $3
@@ -144,13 +144,13 @@ PlaceEnemyHUDTiles: ; 3a9ba (e:69ba)
ld de, $1
jr PlaceHUDTiles
-EnemyBattleHUDGraphicsTiles: ; 3a9ce (e:69ce)
+EnemyBattleHUDGraphicsTiles:
; The tile numbers for specific parts of the battle display for the enemy
db $73 ; unused ($73 is hardcoded in the routine that uses these bytes)
db $74 ; lower-left corner tile of the HUD
db $78 ; lower-right triangle tile of the HUD
-PlaceHUDTiles: ; 3a9d1 (e:69d1)
+PlaceHUDTiles:
ld [hl], $73
ld bc, SCREEN_WIDTH
add hl, bc
@@ -167,7 +167,7 @@ PlaceHUDTiles: ; 3a9d1 (e:69d1)
ld [hl], a
ret
-SetupPlayerAndEnemyPokeballs: ; 3a9e9 (e:69e9)
+SetupPlayerAndEnemyPokeballs:
call LoadPartyPokeballGfx
ld hl, wPartyMons
ld de, wPartyCount
@@ -195,6 +195,6 @@ SetupPlayerAndEnemyPokeballs: ; 3a9e9 (e:69e9)
jp WritePokeballOAMData
; four tiles: pokeball, black pokeball (status ailment), crossed out pokeball (faited) and pokeball slot (no mon)
-PokeballTileGraphics:: ; 3aa28 (e:6a28)
+PokeballTileGraphics::
INCBIN "gfx/pokeball.2bpp"
PokeballTileGraphicsEnd:
diff --git a/engine/battle/end_of_battle.asm b/engine/battle/end_of_battle.asm
index f4c99e3d..47c9fa5d 100755
--- a/engine/battle/end_of_battle.asm
+++ b/engine/battle/end_of_battle.asm
@@ -1,4 +1,4 @@
-EndOfBattle: ; 13765 (4:7765)
+EndOfBattle:
ld a, [wLinkState]
cp LINK_STATE_BATTLING
jr nz, .notLinkBattle
@@ -78,15 +78,15 @@ EndOfBattle: ; 13765 (4:7765)
ld [wDestinationWarpID], a
ret
-YouWinText: ; 1381d (4:781d)
+YouWinText:
db "YOU WIN@"
-YouLoseText: ; 13825 (4:7825)
+YouLoseText:
db "YOU LOSE@"
-DrawText: ; 1382e (4:782e)
+DrawText:
db " DRAW@"
-PickUpPayDayMoneyText: ; 13835 (4:7835)
+PickUpPayDayMoneyText:
TX_FAR _PickUpPayDayMoneyText
db "@"
diff --git a/engine/battle/experience.asm b/engine/battle/experience.asm
index f43a7354..9946c6c6 100644
--- a/engine/battle/experience.asm
+++ b/engine/battle/experience.asm
@@ -1,4 +1,4 @@
-GainExperience: ; 5524f (15:525f)
+GainExperience:
ld a, [wLinkState]
cp LINK_STATE_BATTLING
ret z ; return if link battle
@@ -297,7 +297,7 @@ GainExperience: ; 5524f (15:525f)
predef_jump FlagActionPredef ; set the fought current enemy flag for the mon that is currently out
; divide enemy base stats, catch rate, and base exp by the number of mons gaining exp
-DivideExpDataByNumMonsGainingExp: ; 5547b (15:547b)
+DivideExpDataByNumMonsGainingExp:
ld a, [wPartyGainExpFlags]
ld b, a
xor a
@@ -331,7 +331,7 @@ DivideExpDataByNumMonsGainingExp: ; 5547b (15:547b)
ret
; multiplies exp by 1.5
-BoostExp: ; 554ae (15:54ae)
+BoostExp:
ld a, [H_QUOTIENT + 2]
ld b, a
ld a, [H_QUOTIENT + 3]
@@ -345,11 +345,11 @@ BoostExp: ; 554ae (15:54ae)
ld [H_QUOTIENT + 2], a
ret
-Bankswitch15ToF: ; 554c1 (15:54c1)
+Bankswitch15ToF:
ld b, BANK(BattleCore)
jp Bankswitch
-GainedText: ; 554c6 (15:54c6)
+GainedText:
TX_FAR _GainedText
TX_ASM
ld a, [wBoostExpByExpAll]
@@ -363,20 +363,20 @@ GainedText: ; 554c6 (15:54c6)
ld hl, BoostedText
ret
-WithExpAllText: ; 554df (15:54df)
+WithExpAllText:
TX_FAR _WithExpAllText
TX_ASM
ld hl, ExpPointsText
ret
-BoostedText: ; 554e8 (15:54e8)
+BoostedText:
TX_FAR _BoostedText
-ExpPointsText: ; 554ec (15:54ec)
+ExpPointsText:
TX_FAR _ExpPointsText
db "@"
-GrewLevelText: ; 554f1 (15:54f1)
+GrewLevelText:
TX_FAR _GrewLevelText
db $0b
db "@"
diff --git a/engine/battle/get_trainer_name.asm b/engine/battle/get_trainer_name.asm
index cacf7ee8..e051a02a 100644
--- a/engine/battle/get_trainer_name.asm
+++ b/engine/battle/get_trainer_name.asm
@@ -1,4 +1,4 @@
-GetTrainerName_: ; f67a5 (3d:67a5)
+GetTrainerName_:
ld hl, wGrassRate
ld a, [wLinkState]
and a
diff --git a/engine/battle/ghost_marowak_anim.asm b/engine/battle/ghost_marowak_anim.asm
index d61e5fec..5bb3e308 100644
--- a/engine/battle/ghost_marowak_anim.asm
+++ b/engine/battle/ghost_marowak_anim.asm
@@ -1,4 +1,4 @@
-MarowakAnim: ; 7092b (1c:492b)
+MarowakAnim:
; animate the ghost being unveiled as a Marowak
ld a, $e4
ld [rOBP1], a
@@ -52,7 +52,7 @@ MarowakAnim: ; 7092b (1c:492b)
jp ClearSprites
; copies a mon pic's from background VRAM to sprite VRAM and sets up OAM
-CopyMonPicFromBGToSpriteVRAM: ; 70994 (1c:4994)
+CopyMonPicFromBGToSpriteVRAM:
ld de, vFrontPic
ld hl, vSprites
ld bc, 7 * 7
diff --git a/engine/battle/init_battle_variables.asm b/engine/battle/init_battle_variables.asm
index 74ea3814..bdd5d8f4 100644
--- a/engine/battle/init_battle_variables.asm
+++ b/engine/battle/init_battle_variables.asm
@@ -1,4 +1,4 @@
-InitBattleVariables: ; f6236 (3d:6236)
+InitBattleVariables:
ld a, [hTilesetType]
ld [wSavedTilesetType], a
xor a
diff --git a/engine/battle/link_battle_versus_text.asm b/engine/battle/link_battle_versus_text.asm
index 9849cc9a..5edf13e6 100644
--- a/engine/battle/link_battle_versus_text.asm
+++ b/engine/battle/link_battle_versus_text.asm
@@ -1,5 +1,5 @@
; display "[player] VS [enemy]" text box with pokeballs representing their parties next to the names
-DisplayLinkBattleVersusTextBox: ; f41cf (3d:41cf)
+DisplayLinkBattleVersusTextBox:
call LoadTextBoxTilePatterns
coord hl, 3, 4
ld bc, $70c
diff --git a/engine/battle/moveEffects/conversion_effect.asm b/engine/battle/moveEffects/conversion_effect.asm
index 5965f2a8..9c347876 100644
--- a/engine/battle/moveEffects/conversion_effect.asm
+++ b/engine/battle/moveEffects/conversion_effect.asm
@@ -1,4 +1,4 @@
-ConversionEffect_: ; 1396d (4:796d)
+ConversionEffect_:
ld hl, wEnemyMonType1
ld de, wBattleMonType1
ld a, [H_WHOSETURN]
@@ -24,12 +24,12 @@ ConversionEffect_: ; 1396d (4:796d)
ld hl, ConvertedTypeText
jp PrintText
-ConvertedTypeText: ; 13997 (4:7997)
+ConvertedTypeText:
TX_FAR _ConvertedTypeText
db "@"
-PrintButItFailedText: ; 1399c (4:799c)
+PrintButItFailedText:
ld hl, PrintButItFailedText_
-CallBankF: ; 1399f (4:799f)
+CallBankF:
ld b, BANK(PrintButItFailedText_)
jp Bankswitch
diff --git a/engine/battle/moveEffects/drain_hp_effect.asm b/engine/battle/moveEffects/drain_hp_effect.asm
index 2af286a8..e5f4681a 100644
--- a/engine/battle/moveEffects/drain_hp_effect.asm
+++ b/engine/battle/moveEffects/drain_hp_effect.asm
@@ -1,4 +1,4 @@
-DrainHPEffect_: ; 76e7 (1:76e7)
+DrainHPEffect_:
ld hl, wDamage
ld a, [hl]
srl a ; divide damage by 2
@@ -95,10 +95,10 @@ DrainHPEffect_: ; 76e7 (1:76e7)
.printText
jp PrintText
-SuckedHealthText: ; 7784 (1:7784)
+SuckedHealthText:
TX_FAR _SuckedHealthText
db "@"
-DreamWasEatenText: ; 7789 (1:7789)
+DreamWasEatenText:
TX_FAR _DreamWasEatenText
db "@"
diff --git a/engine/battle/moveEffects/focus_energy_effect.asm b/engine/battle/moveEffects/focus_energy_effect.asm
index e7f30794..9ba0ade0 100644
--- a/engine/battle/moveEffects/focus_energy_effect.asm
+++ b/engine/battle/moveEffects/focus_energy_effect.asm
@@ -1,4 +1,4 @@
-FocusEnergyEffect_: ; f628b (3d:628b)
+FocusEnergyEffect_:
ld hl, wPlayerBattleStatus2
ld a, [H_WHOSETURN]
and a
@@ -16,7 +16,7 @@ FocusEnergyEffect_: ; f628b (3d:628b)
call DelayFrames
jpab PrintButItFailedText_
-GettingPumpedText: ; f62b5 (3d:62b5)
+GettingPumpedText:
db $0a
TX_FAR _GettingPumpedText
db "@"
diff --git a/engine/battle/moveEffects/haze_effect.asm b/engine/battle/moveEffects/haze_effect.asm
index eec68182..bd20f231 100644
--- a/engine/battle/moveEffects/haze_effect.asm
+++ b/engine/battle/moveEffects/haze_effect.asm
@@ -1,4 +1,4 @@
-HazeEffect_: ; 139a4 (4:79a4)
+HazeEffect_:
ld a, $7
; store 7 on every stat mod
ld hl, wPlayerMonAttackMod
@@ -45,7 +45,7 @@ HazeEffect_: ; 139a4 (4:79a4)
ld hl, StatusChangesEliminatedText
jp PrintText
-CureVolatileStatuses: ; 13a01 (4:7a01)
+CureVolatileStatuses:
; only cures statuses of the Pokemon not using Haze
res Confused, [hl]
inc hl ; BATTSTATUS2
@@ -58,7 +58,7 @@ CureVolatileStatuses: ; 13a01 (4:7a01)
ld [hl], a
ret
-ResetStatMods: ; 13a0d (4:7a0d)
+ResetStatMods:
ld b, $8
.loop
ld [hli], a
@@ -66,7 +66,7 @@ ResetStatMods: ; 13a0d (4:7a0d)
jr nz, .loop
ret
-ResetStats: ; 13a14 (4:7a14)
+ResetStats:
ld b, $8
.loop
ld a, [hli]
@@ -76,6 +76,6 @@ ResetStats: ; 13a14 (4:7a14)
jr nz, .loop
ret
-StatusChangesEliminatedText: ; 13a1d (4:7a1d)
+StatusChangesEliminatedText:
TX_FAR _StatusChangesEliminatedText
db "@"
diff --git a/engine/battle/moveEffects/heal_effect.asm b/engine/battle/moveEffects/heal_effect.asm
index 418f7df7..377c14c4 100644
--- a/engine/battle/moveEffects/heal_effect.asm
+++ b/engine/battle/moveEffects/heal_effect.asm
@@ -1,4 +1,4 @@
-HealEffect_: ; f62ba (3d:62ba)
+HealEffect_:
ld a, [H_WHOSETURN]
and a
ld de, wBattleMonHP
@@ -107,14 +107,14 @@ HealEffect_: ; f62ba (3d:62ba)
ld hl, PrintButItFailedText_
jp Bankswitch3DtoF
-StartedSleepingEffect: ; f6370 (3d:6370)
+StartedSleepingEffect:
TX_FAR _StartedSleepingEffect
db "@"
-FellAsleepBecameHealthyText: ; f6375 (3d:6375)
+FellAsleepBecameHealthyText:
TX_FAR _FellAsleepBecameHealthyText
db "@"
-RegainedHealthText: ; f637a (3d:637a)
+RegainedHealthText:
TX_FAR _RegainedHealthText
db "@"
diff --git a/engine/battle/moveEffects/leech_seed_effect.asm b/engine/battle/moveEffects/leech_seed_effect.asm
index ef649ff6..0f3a2666 100644
--- a/engine/battle/moveEffects/leech_seed_effect.asm
+++ b/engine/battle/moveEffects/leech_seed_effect.asm
@@ -1,4 +1,4 @@
-LeechSeedEffect_: ; 2bdba (a:7dba)
+LeechSeedEffect_:
callab MoveHitTest
ld a, [wMoveMissed]
and a
@@ -31,10 +31,10 @@ LeechSeedEffect_: ; 2bdba (a:7dba)
ld hl, EvadedAttackText
jp PrintText
-WasSeededText: ; 2be03 (a:7e03)
+WasSeededText:
TX_FAR _WasSeededText
db "@"
-EvadedAttackText: ; 2be08 (a:7e08)
+EvadedAttackText:
TX_FAR _EvadedAttackText
db "@"
diff --git a/engine/battle/moveEffects/mist_effect.asm b/engine/battle/moveEffects/mist_effect.asm
index 022606bb..b92777de 100644
--- a/engine/battle/moveEffects/mist_effect.asm
+++ b/engine/battle/moveEffects/mist_effect.asm
@@ -1,4 +1,4 @@
-MistEffect_: ; f64ac (3d:64ac)
+MistEffect_:
ld hl, wPlayerBattleStatus2
ld a, [H_WHOSETURN]
and a
@@ -14,6 +14,6 @@ MistEffect_: ; f64ac (3d:64ac)
.mistAlreadyInUse
jpab PrintButItFailedText_
-ShroudedInMistText: ; f64d3 (3d:64d3)
+ShroudedInMistText:
TX_FAR _ShroudedInMistText
db "@"
diff --git a/engine/battle/moveEffects/one_hit_ko_effect.asm b/engine/battle/moveEffects/one_hit_ko_effect.asm
index a60d573a..827e2197 100644
--- a/engine/battle/moveEffects/one_hit_ko_effect.asm
+++ b/engine/battle/moveEffects/one_hit_ko_effect.asm
@@ -1,4 +1,4 @@
-OneHitKOEffect_: ; f64db (3d:64db)
+OneHitKOEffect_:
ld hl, wDamage
xor a
ld [hli], a
diff --git a/engine/battle/moveEffects/paralyze_effect.asm b/engine/battle/moveEffects/paralyze_effect.asm
index 5cec6b02..95979ae6 100644
--- a/engine/battle/moveEffects/paralyze_effect.asm
+++ b/engine/battle/moveEffects/paralyze_effect.asm
@@ -1,4 +1,4 @@
-ParalyzeEffect_: ; f6562 (3d:6562)
+ParalyzeEffect_:
ld hl, wEnemyMonStatus
ld de, wPlayerMoveType
ld a, [H_WHOSETURN]
diff --git a/engine/battle/moveEffects/pay_day_effect.asm b/engine/battle/moveEffects/pay_day_effect.asm
index 0236e3e4..e5daf014 100644
--- a/engine/battle/moveEffects/pay_day_effect.asm
+++ b/engine/battle/moveEffects/pay_day_effect.asm
@@ -1,4 +1,4 @@
-PayDayEffect_: ; f6511 (3d:6511)
+PayDayEffect_:
xor a
ld hl, wcd6d
ld [hli], a
@@ -40,6 +40,6 @@ PayDayEffect_: ; f6511 (3d:6511)
ld hl, CoinsScatteredText
jp PrintText
-CoinsScatteredText: ; f655d (3d:655d)
+CoinsScatteredText:
TX_FAR _CoinsScatteredText
db "@"
diff --git a/engine/battle/moveEffects/recoil_effect.asm b/engine/battle/moveEffects/recoil_effect.asm
index d65696e2..7fc90c44 100644
--- a/engine/battle/moveEffects/recoil_effect.asm
+++ b/engine/battle/moveEffects/recoil_effect.asm
@@ -1,4 +1,4 @@
-RecoilEffect_: ; 138f6 (4:78f6)
+RecoilEffect_:
ld a, [H_WHOSETURN]
and a
ld a, [wPlayerMoveNum]
@@ -65,6 +65,6 @@ RecoilEffect_: ; 138f6 (4:78f6)
predef UpdateHPBar2
ld hl, HitWithRecoilText
jp PrintText
-HitWithRecoilText: ; 13968 (4:7968)
+HitWithRecoilText:
TX_FAR _HitWithRecoilText
db "@"
diff --git a/engine/battle/moveEffects/reflect_light_screen_effect.asm b/engine/battle/moveEffects/reflect_light_screen_effect.asm
index 1c2db0a0..f2165956 100644
--- a/engine/battle/moveEffects/reflect_light_screen_effect.asm
+++ b/engine/battle/moveEffects/reflect_light_screen_effect.asm
@@ -1,4 +1,4 @@
-ReflectLightScreenEffect_: ; f645d (3d:645d)
+ReflectLightScreenEffect_:
ld hl, wPlayerBattleStatus3
ld de, wPlayerMoveEffect
ld a, [H_WHOSETURN]
@@ -32,14 +32,14 @@ ReflectLightScreenEffect_: ; f645d (3d:645d)
ld hl, PrintButItFailedText_
jp Bankswitch3DtoF
-LightScreenProtectedText: ; f649d (3d:649d)
+LightScreenProtectedText:
TX_FAR _LightScreenProtectedText
db "@"
-ReflectGainedArmorText: ; f64a2 (3d:64a2)
+ReflectGainedArmorText:
TX_FAR _ReflectGainedArmorText
db "@"
-Bankswitch3DtoF: ; f64a7 (3d:64a7)
+Bankswitch3DtoF:
ld b, BANK(BattleCore)
jp Bankswitch
diff --git a/engine/battle/moveEffects/substitute_effect.asm b/engine/battle/moveEffects/substitute_effect.asm
index a4cd0264..03314ebf 100644
--- a/engine/battle/moveEffects/substitute_effect.asm
+++ b/engine/battle/moveEffects/substitute_effect.asm
@@ -1,4 +1,4 @@
-SubstituteEffect_: ; 17c31 (5:7c31)
+SubstituteEffect_:
ld c, 50
call DelayFrames
ld hl, wBattleMonMaxHP
@@ -64,14 +64,14 @@ SubstituteEffect_: ; 17c31 (5:7c31)
.printText
jp PrintText
-SubstituteText: ; 17ca1 (5:7ca1)
+SubstituteText:
TX_FAR _SubstituteText
db "@"
-HasSubstituteText: ; 17ca6 (5:7ca6)
+HasSubstituteText:
TX_FAR _HasSubstituteText
db "@"
-TooWeakSubstituteText: ; 17cab (5:7cab)
+TooWeakSubstituteText:
TX_FAR _TooWeakSubstituteText
db "@"
diff --git a/engine/battle/moveEffects/transform_effect.asm b/engine/battle/moveEffects/transform_effect.asm
index d77f43a3..2906de11 100644
--- a/engine/battle/moveEffects/transform_effect.asm
+++ b/engine/battle/moveEffects/transform_effect.asm
@@ -1,4 +1,4 @@
-TransformEffect_: ; f637f (3d:637f)
+TransformEffect_:
ld hl, wBattleMonSpecies
ld de, wEnemyMonSpecies
ld bc, wEnemyBattleStatus3
@@ -136,6 +136,6 @@ TransformEffect_: ; f637f (3d:637f)
ld hl, PrintButItFailedText_
jp Bankswitch3DtoF
-TransformedText: ; f6458 (3d:6458)
+TransformedText:
TX_FAR _TransformedText
db "@"
diff --git a/engine/battle/print_type.asm b/engine/battle/print_type.asm
index 7b581905..f717f871 100644
--- a/engine/battle/print_type.asm
+++ b/engine/battle/print_type.asm
@@ -1,6 +1,6 @@
; [wd0b5] = pokemon ID
; hl = dest addr
-PrintMonType: ; 27d20 (9:7d20)
+PrintMonType:
call GetPredefRegisters
push hl
call GetMonHeader
@@ -19,25 +19,25 @@ PrintMonType: ; 27d20 (9:7d20)
; a = type
; hl = dest addr
-PrintType: ; 27d3e (9:7d3e)
+PrintType:
push hl
jr PrintType_
; erase "TYPE2/" if the mon only has 1 type
-EraseType2Text: ; 27d41 (9:7d41)
+EraseType2Text:
ld a, " "
ld bc, $13
add hl, bc
ld bc, $6
jp FillMemory
-PrintMoveType: ; 27d4d (9:7d4d)
+PrintMoveType:
call GetPredefRegisters
push hl
ld a, [wPlayerMoveType]
; fall through
-PrintType_: ; 27d54 (9:7d54)
+PrintType_:
add a
ld hl, TypeNames
ld e, a
diff --git a/engine/battle/read_trainer_party.asm b/engine/battle/read_trainer_party.asm
index a4843417..3f10a85d 100755
--- a/engine/battle/read_trainer_party.asm
+++ b/engine/battle/read_trainer_party.asm
@@ -1,4 +1,4 @@
-ReadTrainer: ; 39bb6 (e:5bb6)
+ReadTrainer:
; don't change any moves in a link battle
ld a,[wLinkState]
diff --git a/engine/battle/safari_zone.asm b/engine/battle/safari_zone.asm
index 69439199..c6c0fa80 100755
--- a/engine/battle/safari_zone.asm
+++ b/engine/battle/safari_zone.asm
@@ -1,4 +1,4 @@
-PrintSafariZoneBattleText: ; 4111 (1:4111)
+PrintSafariZoneBattleText:
ld hl, wSafariBaitFactor
ld a, [hl]
and a
@@ -27,10 +27,10 @@ PrintSafariZoneBattleText: ; 4111 (1:4111)
pop hl
jp PrintText
-SafariZoneEatingText: ; 4141 (1:4141)
+SafariZoneEatingText:
TX_FAR _SafariZoneEatingText
db "@"
-SafariZoneAngryText: ; 4146 (1:4146)
+SafariZoneAngryText:
TX_FAR _SafariZoneAngryText
db "@"
diff --git a/engine/battle/save_trainer_name.asm b/engine/battle/save_trainer_name.asm
index 227dbbcb..7e2c911c 100644
--- a/engine/battle/save_trainer_name.asm
+++ b/engine/battle/save_trainer_name.asm
@@ -1,4 +1,4 @@
-SaveTrainerName: ; 27dff (9:7dff)
+SaveTrainerName:
ld hl,TrainerNamePointers
ld a,[wTrainerClass]
dec a
@@ -18,7 +18,7 @@ SaveTrainerName: ; 27dff (9:7dff)
jr nz,.CopyCharacter
ret
-TrainerNamePointers: ; 27e19 (9:7e19)
+TrainerNamePointers:
; what is the point of these?
dw YoungsterName
dw BugCatcherName
@@ -68,45 +68,45 @@ TrainerNamePointers: ; 27e19 (9:7e19)
dw wTrainerName
dw wTrainerName
-YoungsterName: ; 27e77 (9:7e77)
+YoungsterName:
db "YOUNGSTER@"
-BugCatcherName: ; 27e81 (9:7e81)
+BugCatcherName:
db "BUG CATCHER@"
-LassName: ; 27e8d (9:7e8d)
+LassName:
db "LASS@"
-JrTrainerMName: ; 27e92 (9:7e92)
+JrTrainerMName:
db "JR.TRAINER♂@"
-JrTrainerFName: ; 27e9e (9:7e9e)
+JrTrainerFName:
db "JR.TRAINER♀@"
-PokemaniacName: ; 27eaa (9:7eaa)
+PokemaniacName:
db "POKéMANIAC@"
-SuperNerdName: ; 27eb5 (9:7eb5)
+SuperNerdName:
db "SUPER NERD@"
-BurglarName: ; 27ec0 (9:7ec0)
+BurglarName:
db "BURGLAR@"
-EngineerName: ; 27ec8 (9:7ec8)
+EngineerName:
db "ENGINEER@"
-JugglerXName: ; 27ed1 (9:7ed1)
+JugglerXName:
db "JUGGLER@"
-SwimmerName: ; 27ed9 (9:7ed9)
+SwimmerName:
db "SWIMMER@"
-BeautyName: ; 27ee1 (9:7ee1)
+BeautyName:
db "BEAUTY@"
-RockerName: ; 27ee8 (9:7ee8)
+RockerName:
db "ROCKER@"
-JugglerName: ; 27eef (9:7eef)
+JugglerName:
db "JUGGLER@"
-BlackbeltName: ; 27ef7 (9:7ef7)
+BlackbeltName:
db "BLACKBELT@"
-ProfOakName: ; 27f01 (9:7f01)
+ProfOakName:
db "PROF.OAK@"
-ChiefName: ; 27f0a (9:7f0a)
+ChiefName:
db "CHIEF@"
-ScientistName: ; 27f10 (9:7f10)
+ScientistName:
db "SCIENTIST@"
-RocketName: ; 27f1a (9:7f1a)
+RocketName:
db "ROCKET@"
-CooltrainerMName: ; 27f21 (9:7f21)
+CooltrainerMName:
db "COOLTRAINER♂@"
-CooltrainerFName: ; 27f2e (9:7f2e)
+CooltrainerFName:
db "COOLTRAINER♀@"
diff --git a/engine/battle/scale_sprites.asm b/engine/battle/scale_sprites.asm
index c829fa13..c614d638 100644
--- a/engine/battle/scale_sprites.asm
+++ b/engine/battle/scale_sprites.asm
@@ -1,14 +1,14 @@
; scales both uncompressed sprite chunks by two in every dimension (creating 2x2 output pixels per input pixel)
; assumes that input sprite chunks are 4x4 tiles, and the rightmost and bottommost 4 pixels will be ignored
; resulting in a 7*7 tile output sprite chunk
-ScaleSpriteByTwo: ; 2fd79 (b:7d79)
+ScaleSpriteByTwo:
ld a, $0
call SwitchSRAMBankAndLatchClockData
call ScaleSpriteByTwo_
call PrepareRTCDataAndDisableSRAM
ret
-ScaleSpriteByTwo_: ; 2fd85 (b:7d85)
+ScaleSpriteByTwo_:
ld de, sSpriteBuffer1 + (4*4*8) - 5 ; last byte of input data, last 4 rows already skipped
ld hl, sSpriteBuffer0 + SPRITEBUFFERSIZE - 1 ; end of destination buffer
call ScaleLastSpriteColumnByTwo ; last tile column is special case
@@ -17,7 +17,7 @@ ScaleSpriteByTwo_: ; 2fd85 (b:7d85)
ld hl, sSpriteBuffer1 + SPRITEBUFFERSIZE - 1 ; end of destination buffer
call ScaleLastSpriteColumnByTwo ; last tile column is special case
-ScaleFirstThreeSpriteColumnsByTwo: ; 2fd9a (b:7d9a)
+ScaleFirstThreeSpriteColumnsByTwo:
ld b, $3 ; 3 tile columns
.columnLoop
ld c, 4*8 - 4 ; $1c, 4 tiles minus 4 unused rows
@@ -46,7 +46,7 @@ ScaleFirstThreeSpriteColumnsByTwo: ; 2fd9a (b:7d9a)
jr nz, .columnLoop
ret
-ScaleLastSpriteColumnByTwo: ; 2fdc2 (b:7dc2)
+ScaleLastSpriteColumnByTwo:
ld a, 4*8 - 4 ; $1c, 4 tiles minus 4 unused rows
ld [H_SPRITEINTERLACECOUNTER], a
ld bc, -1
@@ -68,7 +68,7 @@ ScaleLastSpriteColumnByTwo: ; 2fdc2 (b:7dc2)
; scales the given 4 bits in a (4x1 pixels) to 2 output bytes (8x2 pixels)
; hl: destination pointer
; bc: destination pointer offset (added after the two bytes have been written)
-ScalePixelsByTwo: ; 2fddc (b:7ddc)
+ScalePixelsByTwo:
push hl
and $f
ld hl, DuplicateBitsTable
@@ -85,7 +85,7 @@ ScalePixelsByTwo: ; 2fddc (b:7ddc)
ret
; repeats each input bit twice
-DuplicateBitsTable: ; 2fded (b:7ded)
+DuplicateBitsTable:
db $00, $03, $0c, $0f
db $30, $33, $3c, $3f
db $c0, $c3, $cc, $cf
diff --git a/engine/battle/scroll_draw_trainer_pic.asm b/engine/battle/scroll_draw_trainer_pic.asm
index 8e65c973..98893dcf 100644
--- a/engine/battle/scroll_draw_trainer_pic.asm
+++ b/engine/battle/scroll_draw_trainer_pic.asm
@@ -1,4 +1,4 @@
-_ScrollTrainerPicAfterBattle: ; f4259 (3d:4259)
+_ScrollTrainerPicAfterBattle:
; Load the enemy trainer's pic and scrolls it into
; the screen from the right.
xor a
@@ -32,7 +32,7 @@ _ScrollTrainerPicAfterBattle: ; f4259 (3d:4259)
jr .scrollLoop
; write one 7-tile column of the trainer pic to the tilemap
-DrawTrainerPicColumn: ; f428d (3d:428d)
+DrawTrainerPicColumn:
push hl
push de
push bc
diff --git a/engine/battle/trainer_ai.asm b/engine/battle/trainer_ai.asm
index 6b6247c9..3624f5ea 100644
--- a/engine/battle/trainer_ai.asm
+++ b/engine/battle/trainer_ai.asm
@@ -1,6 +1,6 @@
; creates a set of moves that may be used and returns its address in hl
; unused slots are filled with 0, all used slots may be chosen with equal probability
-AIEnemyTrainerChooseMoves: ; 3969c (e:569c)
+AIEnemyTrainerChooseMoves:
ld a, $a
ld hl, wBuffer ; init temporary move selection array. Only the moves with the lowest numbers are chosen in the end
ld [hli], a ; move 1
@@ -103,14 +103,14 @@ AIEnemyTrainerChooseMoves: ; 3969c (e:569c)
ld hl, wEnemyMonMoves ; use original move set
ret
-AIMoveChoiceModificationFunctionPointers: ; 39726 (e:5726)
+AIMoveChoiceModificationFunctionPointers:
dw AIMoveChoiceModification1
dw AIMoveChoiceModification2
dw AIMoveChoiceModification3
dw AIMoveChoiceModification4 ; unused, does nothing
; discourages moves that cause no damage but only a status ailment if player's mon already has one
-AIMoveChoiceModification1: ; 3972e (e:572e)
+AIMoveChoiceModification1:
ld a, [wBattleMonStatus]
and a
ret z ; return if no status ailment on player's mon
@@ -145,7 +145,7 @@ AIMoveChoiceModification1: ; 3972e (e:572e)
ld [hl], a
jr .nextMove
-StatusAilmentMoveEffects: ; 39765 (e:5765)
+StatusAilmentMoveEffects:
db $01 ; unused sleep effect
db SLEEP_EFFECT
db POISON_EFFECT
@@ -155,7 +155,7 @@ StatusAilmentMoveEffects: ; 39765 (e:5765)
; slightly encourage moves with specific effects.
; in particular, stat-modifying moves and other move effects
; that fall in-bewteen
-AIMoveChoiceModification2: ; 3976a (e:576a)
+AIMoveChoiceModification2:
ld a, [wAILayer2Encouragement]
cp $1
ret nz
@@ -188,7 +188,7 @@ AIMoveChoiceModification2: ; 3976a (e:576a)
; encourages moves that are effective against the player's mon (even if non-damaging).
; discourage damaging moves that are ineffective or not very effective against the player's mon,
; unless there's no damaging move that deals at least neutral damage
-AIMoveChoiceModification3: ; 3979a (e:579a)
+AIMoveChoiceModification3:
ld hl, wBuffer - 1 ; temp move selection array (-1 byte offset)
ld de, wEnemyMonMoves ; enemy moves
ld b, NUM_MOVES + 1
@@ -255,10 +255,10 @@ AIMoveChoiceModification3: ; 3979a (e:579a)
jr z, .nextMove
inc [hl] ; sligthly discourage this move
jr .nextMove
-AIMoveChoiceModification4: ; 39806 (e:5806)
+AIMoveChoiceModification4:
ret
-ReadMove: ; 39807 (e:5807)
+ReadMove:
push hl
push de
push bc
@@ -275,7 +275,7 @@ ReadMove: ; 39807 (e:5807)
; move choice modification methods that are applied for each trainer class
; 0 is sentinel value
-TrainerClassMoveChoiceModifications: ; 3981e (e:581e)
+TrainerClassMoveChoiceModifications:
db 0 ; YOUNGSTER
db 1,0 ; BUG CATCHER
db 1,0 ; LASS
@@ -336,7 +336,7 @@ INCLUDE "data/trainer_moves.asm"
INCLUDE "data/trainer_parties.asm"
-TrainerAI: ; 3a5b2 (e:65b2)
+TrainerAI:
ld a,[wIsInBattle]
dec a
jr z, .done ; if not a trainer, we're done here
@@ -377,7 +377,7 @@ TrainerAI: ; 3a5b2 (e:65b2)
and a
ret
-TrainerAIPointers: ; 3a5f2 (e:65f2)
+TrainerAIPointers:
; one entry per trainer class
; first byte, number of times (per Pokémon) it can occur
; next two bytes, pointer to AI subroutine for trainer class
@@ -429,27 +429,27 @@ TrainerAIPointers: ; 3a5f2 (e:65f2)
dbw 2,AgathaAI ; agatha
dbw 1,LanceAI ; lance
-JugglerAI: ; 3a67f (e:667f)
+JugglerAI:
cp $40
ret nc
jp AISwitchIfEnoughMons
-BlackbeltAI: ; 3a685 (e:6685)
+BlackbeltAI:
cp $20
ret nc
jp AIUseXAttack
-GiovanniAI: ; 3a68b (e:668b)
+GiovanniAI:
cp $40
ret nc
jp AIUseGuardSpec
-CooltrainerMAI: ; 3a691 (e:6691)
+CooltrainerMAI:
cp $40
ret nc
jp AIUseXAttack
-CooltrainerFAI: ; 3a697 (e:6697)
+CooltrainerFAI:
cp $40
ld a,$A
call AICheckIfHPBelowFraction
@@ -459,24 +459,24 @@ CooltrainerFAI: ; 3a697 (e:6697)
ret nc
jp AISwitchIfEnoughMons
-BrockAI: ; 3a6aa (e:66aa)
+BrockAI:
; if his active monster has a status condition, use a full heal
ld a,[wEnemyMonStatus]
and a
ret z
jp AIUseFullHeal
-MistyAI: ; 3a6b2 (e:66b2)
+MistyAI:
cp $40
ret nc
jp AIUseXDefend
-LtSurgeAI: ; 3a6b8 (e:66b8)
+LtSurgeAI:
cp $40
ret nc
jp AIUseXSpeed
-ErikaAI: ; 3a6be (e:66be)
+ErikaAI:
cp $80
ret nc
ld a,$A
@@ -484,12 +484,12 @@ ErikaAI: ; 3a6be (e:66be)
ret nc
jp AIUseSuperPotion
-KogaAI: ; 3a6ca (e:66ca)
+KogaAI:
cp $20
ret nc
jp AIUseXAttack
-BlaineAI: ; 3a6d0 (e:66d0)
+BlaineAI:
cp $40
ret nc
ld a,$A
@@ -497,12 +497,12 @@ BlaineAI: ; 3a6d0 (e:66d0)
ret nc
jp AIUseSuperPotion
-SabrinaAI: ; 3a6dc (e:66dc)
+SabrinaAI:
cp $40
ret nc
jp AIUseXDefend
-Sony2AI: ; 3a6e2 (e:66e2)
+Sony2AI:
cp $20
ret nc
ld a,5
@@ -510,7 +510,7 @@ Sony2AI: ; 3a6e2 (e:66e2)
ret nc
jp AIUsePotion
-Sony3AI: ; 3a6ee (e:66ee)
+Sony3AI:
cp $20
ret nc
ld a,5
@@ -518,7 +518,7 @@ Sony3AI: ; 3a6ee (e:66ee)
ret nc
jp AIUseFullRestore
-LoreleiAI: ; 3a6fa (e:66fa)
+LoreleiAI:
cp $80
ret nc
ld a,5
@@ -526,12 +526,12 @@ LoreleiAI: ; 3a6fa (e:66fa)
ret nc
jp AIUseSuperPotion
-BrunoAI: ; 3a706 (e:6706)
+BrunoAI:
cp $40
ret nc
jp AIUseXDefend
-AgathaAI: ; 3a70c (e:670c)
+AgathaAI:
cp $14
jp c,AISwitchIfEnoughMons
cp $80
@@ -541,7 +541,7 @@ AgathaAI: ; 3a70c (e:670c)
ret nc
jp AIUseSuperPotion
-LanceAI: ; 3a71d (e:671d)
+LanceAI:
cp $80
ret nc
ld a,5
@@ -549,23 +549,23 @@ LanceAI: ; 3a71d (e:671d)
ret nc
jp AIUseHyperPotion
-GenericAI: ; 3a729 (e:6729)
+GenericAI:
and a ; clear carry
ret
; end of individual trainer AI routines
-DecrementAICount: ; 3a72b (e:672b)
+DecrementAICount:
ld hl,wAICount
dec [hl]
scf
ret
-AIPlayRestoringSFX: ; 3a731 (e:6731)
+AIPlayRestoringSFX:
ld a,SFX_HEAL_AILMENT
jp PlaySoundWaitForCurrent
-AIUseFullRestore: ; 3a736 (e:6736)
+AIUseFullRestore:
call AICureStatus
ld a,FULL_RESTORE
ld [wAIItem],a
@@ -589,25 +589,25 @@ AIUseFullRestore: ; 3a736 (e:6736)
ld [wEnemyMonHP],a
jr AIPrintItemUseAndUpdateHPBar
-AIUsePotion: ; 3a760 (e:6760)
+AIUsePotion:
; enemy trainer heals his monster with a potion
ld a,POTION
ld b,20
jr AIRecoverHP
-AIUseSuperPotion: ; 3a766 (e:6766)
+AIUseSuperPotion:
; enemy trainer heals his monster with a super potion
ld a,SUPER_POTION
ld b,50
jr AIRecoverHP
-AIUseHyperPotion: ; 3a76c (e:676c)
+AIUseHyperPotion:
; enemy trainer heals his monster with a hyper potion
ld a,HYPER_POTION
ld b,200
; fallthrough
-AIRecoverHP: ; 3a770 (e:6770)
+AIRecoverHP:
; heal b HP and print "trainer used $(a) on pokemon!"
ld [wAIItem],a
ld hl,wEnemyMonHP + 1
@@ -648,7 +648,7 @@ AIRecoverHP: ; 3a770 (e:6770)
ld [wHPBarNewHP+1],a
; fallthrough
-AIPrintItemUseAndUpdateHPBar: ; 3a7ae (e:67ae)
+AIPrintItemUseAndUpdateHPBar:
call AIPrintItemUse_
coord hl, 2, 2
xor a
@@ -656,7 +656,7 @@ AIPrintItemUseAndUpdateHPBar: ; 3a7ae (e:67ae)
predef UpdateHPBar2
jp DecrementAICount
-AISwitchIfEnoughMons: ; 3a7c0 (e:67c0)
+AISwitchIfEnoughMons:
; enemy trainer switches if there are 3 or more unfainted mons in party
ld a,[wEnemyPartyCount]
ld c,a
@@ -686,7 +686,7 @@ AISwitchIfEnoughMons: ; 3a7c0 (e:67c0)
and a
ret
-SwitchEnemyMon: ; 3a7e1 (e:67e1)
+SwitchEnemyMon:
; prepare to withdraw the active monster: copy hp, number, and status to roster
@@ -717,17 +717,17 @@ SwitchEnemyMon: ; 3a7e1 (e:67e1)
scf
ret
-AIBattleWithdrawText: ; 3a817 (e:6817)
+AIBattleWithdrawText:
TX_FAR _AIBattleWithdrawText
db "@"
-AIUseFullHeal: ; 3a81c (e:681c)
+AIUseFullHeal:
call AIPlayRestoringSFX
call AICureStatus
ld a,FULL_HEAL
jp AIPrintItemUse
-AICureStatus: ; 3a827 (e:6827)
+AICureStatus:
; cures the status of enemy's active pokemon
ld a,[wEnemyMonPartyPos]
ld hl,wEnemyMon1Status
@@ -740,7 +740,7 @@ AICureStatus: ; 3a827 (e:6827)
res 0,[hl]
ret
-AIUseXAccuracy: ; 3a83e (e:683e)
+AIUseXAccuracy:
; unused
call AIPlayRestoringSFX
ld hl,wEnemyBattleStatus2
@@ -748,14 +748,14 @@ AIUseXAccuracy: ; 3a83e (e:683e)
ld a,X_ACCURACY
jp AIPrintItemUse
-AIUseGuardSpec: ; 3a84b (e:684b)
+AIUseGuardSpec:
call AIPlayRestoringSFX
ld hl,wEnemyBattleStatus2
set 1,[hl]
ld a,GUARD_SPEC
jp AIPrintItemUse
-AIUseDireHit: ; 3a858 (e:6858)
+AIUseDireHit:
; unused
call AIPlayRestoringSFX
ld hl,wEnemyBattleStatus2
@@ -763,7 +763,7 @@ AIUseDireHit: ; 3a858 (e:6858)
ld a,DIRE_HIT
jp AIPrintItemUse
-AICheckIfHPBelowFraction: ; 3a865 (e:6865)
+AICheckIfHPBelowFraction:
; return carry if enemy trainer's current HP is below 1 / a of the maximum
ld [H_DIVISOR],a
ld hl,wEnemyMonMaxHP
@@ -789,27 +789,27 @@ AICheckIfHPBelowFraction: ; 3a865 (e:6865)
sub c
ret
-AIUseXAttack: ; 3a888 (e:6888)
+AIUseXAttack:
ld b,$A
ld a,X_ATTACK
jr AIIncreaseStat
-AIUseXDefend: ; 3a88e (e:688e)
+AIUseXDefend:
ld b,$B
ld a,X_DEFEND
jr AIIncreaseStat
-AIUseXSpeed: ; 3a894 (e:6894)
+AIUseXSpeed:
ld b,$C
ld a,X_SPEED
jr AIIncreaseStat
-AIUseXSpecial: ; 3a89a (e:689a)
+AIUseXSpecial:
ld b,$D
ld a,X_SPECIAL
; fallthrough
-AIIncreaseStat: ; 3a89e (e:689e)
+AIIncreaseStat:
ld [wAIItem],a
push bc
call AIPrintItemUse_
@@ -831,12 +831,12 @@ AIIncreaseStat: ; 3a89e (e:689e)
ld [hl],a
jp DecrementAICount
-AIPrintItemUse: ; 3a8c2 (e:68c2)
+AIPrintItemUse:
ld [wAIItem],a
call AIPrintItemUse_
jp DecrementAICount
-AIPrintItemUse_: ; 3a8cb (e:68cb)
+AIPrintItemUse_:
; print "x used [wAIItem] on z!"
ld a,[wAIItem]
ld [wd11e],a
@@ -844,6 +844,6 @@ AIPrintItemUse_: ; 3a8cb (e:68cb)
ld hl, AIBattleUseItemText
jp PrintText
-AIBattleUseItemText: ; 3a8da (e:68da)
+AIBattleUseItemText:
TX_FAR _AIBattleUseItemText
db "@"
diff --git a/engine/battle/trainer_pic_money_pointers.asm b/engine/battle/trainer_pic_money_pointers.asm
index 69599dc0..37678e74 100755
--- a/engine/battle/trainer_pic_money_pointers.asm
+++ b/engine/battle/trainer_pic_money_pointers.asm
@@ -1,4 +1,4 @@
-TrainerPicAndMoneyPointers: ; 39893 (e:5893)
+TrainerPicAndMoneyPointers:
; trainer pic pointers and base money.
; money received after battle = base money × level of highest-level enemy mon
dw YoungsterPic
diff --git a/engine/battle/unused_stats_functions.asm b/engine/battle/unused_stats_functions.asm
index 5b2e5e0e..55f78fd3 100644
--- a/engine/battle/unused_stats_functions.asm
+++ b/engine/battle/unused_stats_functions.asm
@@ -1,5 +1,5 @@
; does nothing since no stats are ever selected (barring glitches)
-DoubleSelectedStats: ; f4206 (3d:4206)
+DoubleSelectedStats:
ld a, [H_WHOSETURN]
and a
ld a, [wPlayerStatsToDouble]
@@ -29,7 +29,7 @@ DoubleSelectedStats: ; f4206 (3d:4206)
ret
; does nothing since no stats are ever selected (barring glitches)
-HalveSelectedStats: ; f422d (3d:422d)
+HalveSelectedStats:
ld a, [H_WHOSETURN]
and a
ld a, [wPlayerStatsToHalve]
diff --git a/engine/battle/wild_encounters.asm b/engine/battle/wild_encounters.asm
index f2f2f457..0285346e 100644
--- a/engine/battle/wild_encounters.asm
+++ b/engine/battle/wild_encounters.asm
@@ -1,6 +1,6 @@
; try to initiate a wild pokemon encounter
; returns success in Z
-TryDoWildEncounter: ; 1383a (4:783a)
+TryDoWildEncounter:
ld a, [wNPCMovementScriptPointerTableNum]
and a
ret nz
@@ -100,7 +100,7 @@ TryDoWildEncounter: ; 1383a (4:783a)
xor a
ret
-WildMonEncounterSlotChances: ; 138e2 (4:78e2)
+WildMonEncounterSlotChances:
; There are 10 slots for wild pokemon, and this is the table that defines how common each of
; those 10 slots is. A random number is generated and then the first byte of each pair in this
; table is compared against that random number. If the random number is less than or equal
diff --git a/engine/bcd.asm b/engine/bcd.asm
index 8757de7c..204c2e40 100644
--- a/engine/bcd.asm
+++ b/engine/bcd.asm
@@ -1,13 +1,13 @@
; divide hMoney by hDivideBCDDivisor
; return output in hDivideBCDQuotient (same as hDivideBCDDivisor)
; used only to halve player money upon losing a fight
-DivideBCDPredef:: ; f5a4 (3:75a4)
+DivideBCDPredef::
DivideBCDPredef2::
DivideBCDPredef3:: ; only used function
DivideBCDPredef4::
call GetPredefRegisters
-DivideBCD:: ; f5a8 (3:75a8)
+DivideBCD::
xor a
ld [hDivideBCDBuffer], a
ld [hDivideBCDBuffer + 1], a
@@ -118,7 +118,7 @@ DivideBCD:: ; f5a8 (3:75a8)
jr nz, .loop2
ret
-DivideBCD_f65d: ; f65d (3:765d)
+DivideBCD_f65d:
ld a, [hDivideBCDDivisor + 2]
swap a
and $f
@@ -143,7 +143,7 @@ DivideBCD_f65d: ; f65d (3:765d)
ld [hDivideBCDDivisor], a
ret
-DivideBCD_f686: ; f686 (3:7686)
+DivideBCD_f686:
ld bc, $3
.asm_f689
ld de, hMoney
@@ -161,10 +161,10 @@ DivideBCD_f686: ; f686 (3:7686)
jr .asm_f689
-AddBCDPredef:: ; f6a3 (3:76a3)
+AddBCDPredef::
call GetPredefRegisters
-AddBCD:: ; f6a6 (3:76a6)
+AddBCD::
and a
ld b, c
.add
@@ -188,10 +188,10 @@ AddBCD:: ; f6a6 (3:76a6)
ret
-SubBCDPredef:: ; f6bc (3:76bc)
+SubBCDPredef::
call GetPredefRegisters
-SubBCD:: ; f6bf (3:76bf)
+SubBCD::
and a
ld b, c
.sub
@@ -213,4 +213,4 @@ SubBCD:: ; f6bf (3:76bf)
jr nz, .fill
scf
.done
- ret \ No newline at end of file
+ ret
diff --git a/engine/bg_map_attributes.asm b/engine/bg_map_attributes.asm
index b2c4c3f1..90df9e27 100644
--- a/engine/bg_map_attributes.asm
+++ b/engine/bg_map_attributes.asm
@@ -1,6 +1,6 @@
INCLUDE "data/bg_map_attributes.asm"
-LoadBGMapAttributes:: ; bf450 (2f:7450)
+LoadBGMapAttributes::
ld hl, BGMapAttributesPointers
ld a, c ; c = which packet
push af ; save for later (to determine if we're handling the trainer card or party menu)
@@ -105,7 +105,7 @@ LoadBGMapAttributes:: ; bf450 (2f:7450)
ei
ret
-BGMapAttributesPointers: ; bf4de (2f:74de)
+BGMapAttributesPointers:
dw BGMapAttributes_Unknown1
dw BGMapAttributes_Unknown2
dw BGMapAttributes_GameFreakIntro
@@ -120,7 +120,7 @@ BGMapAttributesPointers: ; bf4de (2f:74de)
dw BGMapAttributes_WholeScreen
dw BGMapAttributes_Unknown13
-HandleBadgeFaceAttributes: ; bf4f8 (2f:74f8)
+HandleBadgeFaceAttributes:
; zero out the attributes if the player doesn't have the respective badge
; BOULDERBADGE
ld hl, vBGMap1 + $183
@@ -172,7 +172,7 @@ HandleBadgeFaceAttributes: ; bf4f8 (2f:74f8)
call z, ZeroOutCurrentBadgeAttributes
ret
-ZeroOutCurrentBadgeAttributes: ; bf551 (2f:7551)
+ZeroOutCurrentBadgeAttributes:
push hl
xor a
ld [hli], a
@@ -184,7 +184,7 @@ ZeroOutCurrentBadgeAttributes: ; bf551 (2f:7551)
pop hl
ret
-HandlePartyHPBarAttributes: ; bf55d (2f:755d)
+HandlePartyHPBarAttributes:
; hp bars require 3 (green, orange, red) colours, when there are only 2 "free" colours per palette
; therefore, we must transfer individual bg attributes where the locations of the hp bars are in vram
ld hl, vBGMap1 + $25 ; location of start of the HP bar in vram
@@ -216,4 +216,4 @@ HandlePartyHPBarAttributes: ; bf55d (2f:755d)
pop bc
dec c
jr nz, .loop
- ret \ No newline at end of file
+ ret
diff --git a/engine/cable_club.asm b/engine/cable_club.asm
index 3c75b340..a6552939 100755
--- a/engine/cable_club.asm
+++ b/engine/cable_club.asm
@@ -1,7 +1,7 @@
; performs the appropriate action when the player uses the gameboy on the table in the Colosseum or Trade Center
; In the Colosseum, it starts a battle. In the Trade Center, it displays the trade selection screen.
; Before doing either action, it swaps random numbers, trainer names and party data with the other gameboy.
-CableClub_DoBattleOrTrade: ; 53a5 (1:53a5)
+CableClub_DoBattleOrTrade:
ld c, 80
call DelayFrames
call ClearScreen
@@ -22,7 +22,7 @@ CableClub_DoBattleOrTrade: ; 53a5 (1:53a5)
; fall through
; This is called after completing a trade.
-CableClub_DoBattleOrTradeAgain: ; 53d2 (1:53d2)
+CableClub_DoBattleOrTradeAgain:
ld hl, wSerialPlayerDataBlock
ld a, SERIAL_PREAMBLE_BYTE
ld b, 6
@@ -294,10 +294,10 @@ CableClub_DoBattleOrTradeAgain: ; 53d2 (1:53d2)
call PlayMusic
jr CallCurrentTradeCenterFunction
-PleaseWaitString: ; 55a9 (1:55a9)
+PleaseWaitString:
db "PLEASE WAIT!@"
-CallCurrentTradeCenterFunction: ; 55b6 (1:55b6)
+CallCurrentTradeCenterFunction:
ld hl, TradeCenterPointerTable
ld b, 0
ld a, [wTradeCenterPointerTableIndex]
@@ -311,7 +311,7 @@ CallCurrentTradeCenterFunction: ; 55b6 (1:55b6)
ld l, a
jp [hl]
-TradeCenter_SelectMon: ; 55ca (1:55ca)
+TradeCenter_SelectMon:
call ClearScreen
call Delay3
ld b, $9
@@ -584,7 +584,7 @@ TradeCenter_SelectMon: ; 55ca (1:55ca)
jr nz, .cancelMenuItem_Loop
; fall through
-ReturnToCableClubRoom: ; 581e (1:581e)
+ReturnToCableClubRoom:
call GBPalWhiteOutWithDelay3
ld hl, wFontLoaded
ld a, [hl]
@@ -603,7 +603,7 @@ ReturnToCableClubRoom: ; 581e (1:581e)
call GBFadeInFromWhite
ret
-TradeCenter_DrawCancelBox: ; 5843 (1:5843)
+TradeCenter_DrawCancelBox:
coord hl, 11, 15
ld a, $7e
ld bc, 2 * SCREEN_WIDTH + 9
@@ -615,10 +615,10 @@ TradeCenter_DrawCancelBox: ; 5843 (1:5843)
ld de, CancelTextString
jp PlaceString
-CancelTextString: ; 5860 (1:5860)
+CancelTextString:
db "CANCEL@"
-TradeCenter_PlaceSelectedEnemyMonMenuCursor: ; 5867 (1:5867)
+TradeCenter_PlaceSelectedEnemyMonMenuCursor:
ld a, [wSerialSyncAndExchangeNybbleReceiveData]
coord hl, 1, 9
ld bc, SCREEN_WIDTH
@@ -626,7 +626,7 @@ TradeCenter_PlaceSelectedEnemyMonMenuCursor: ; 5867 (1:5867)
ld [hl], $ec ; cursor
ret
-TradeCenter_DisplayStats: ; 5876 (1:5876)
+TradeCenter_DisplayStats:
ld a, [wCurrentMenuItem]
ld [wWhichPokemon], a
predef StatusScreen
@@ -639,7 +639,7 @@ TradeCenter_DisplayStats: ; 5876 (1:5876)
call TradeCenter_DrawPartyLists
jp TradeCenter_DrawCancelBox
-TradeCenter_DrawPartyLists: ; 589a (1:589a)
+TradeCenter_DrawPartyLists:
coord hl, 0, 0
lb bc, 6, 18
call CableClub_TextBoxBorder
@@ -659,7 +659,7 @@ TradeCenter_DrawPartyLists: ; 589a (1:589a)
ld de, wEnemyPartyMons
; fall through
-TradeCenter_PrintPartyListNames: ; 58cd (1:58cd)
+TradeCenter_PrintPartyListNames:
ld c, $0
.loop
ld a, [de]
@@ -684,7 +684,7 @@ TradeCenter_PrintPartyListNames: ; 58cd (1:58cd)
inc c
jr .loop
-TradeCenter_Trade: ; 58ef (1:58ef)
+TradeCenter_Trade:
ld c, 100
call DelayFrames
xor a
@@ -880,22 +880,22 @@ TradeCenter_Trade: ; 58ef (1:58ef)
ld [wTradeCenterPointerTableIndex], a
jp CallCurrentTradeCenterFunction
-WillBeTradedText: ; 5ad8 (1:5ad8)
+WillBeTradedText:
TX_FAR _WillBeTradedText
db "@"
-TradeCompleted: ; 5add (1:5add)
+TradeCompleted:
db "Trade completed!@"
-TradeCanceled: ; 5aee (1:5aee)
+TradeCanceled:
db "Too bad! The trade"
next "was canceled!@"
-TradeCenterPointerTable: ; 5b0f (1:5b0f)
+TradeCenterPointerTable:
dw TradeCenter_SelectMon
dw TradeCenter_Trade
-CableClub_Run: ; 5b13 (1:5b13)
+CableClub_Run:
ld a, [wLinkState]
cp LINK_STATE_START_TRADE
jr z, .doBattleOrTrade
@@ -932,15 +932,15 @@ CableClub_Run: ; 5b13 (1:5b13)
ld [wNewSoundID], a
jp PlaySound
-EmptyFunc3: ; 5b63 (1:5b63)
+EmptyFunc3:
ret
-Diploma_TextBoxBorder: ; 5b64 (1:5b64)
+Diploma_TextBoxBorder:
call GetPredefRegisters
; b = height
; c = width
-CableClub_TextBoxBorder: ; 5b67 (1:5b67)
+CableClub_TextBoxBorder:
push hl
ld a, $78 ; border upper left corner tile
ld [hli], a
@@ -971,7 +971,7 @@ CableClub_TextBoxBorder: ; 5b67 (1:5b67)
ret
; c = width
-CableClub_DrawHorizontalLine: ; 5b94 (1:5b94)
+CableClub_DrawHorizontalLine:
ld d, c
.drawHorizontalLineLoop
ld [hli], a
@@ -979,8 +979,8 @@ CableClub_DrawHorizontalLine: ; 5b94 (1:5b94)
jr nz, .drawHorizontalLineLoop
ret
-LoadTrainerInfoTextBoxTiles: ; 5b9a (1:5b9a)
+LoadTrainerInfoTextBoxTiles:
ld de, TrainerInfoTextBoxTileGraphics
ld hl, vChars2 + $760
lb bc, BANK(TrainerInfoTextBoxTileGraphics), (TrainerInfoTextBoxTileGraphicsEnd - TrainerInfoTextBoxTileGraphics) / $10
- jp CopyVideoData \ No newline at end of file
+ jp CopyVideoData
diff --git a/engine/clear_save.asm b/engine/clear_save.asm
index 37d098e6..ab2a6aa8 100755
--- a/engine/clear_save.asm
+++ b/engine/clear_save.asm
@@ -1,4 +1,4 @@
-DoClearSaveDialogue: ; DoClearSaveDialogue: ; 1c21e (7:421e)
+DoClearSaveDialogue: ; DoClearSaveDialogue:
call ClearScreen
call RunDefaultPaletteCommand
call LoadFontTilePatterns
@@ -22,6 +22,6 @@ DoClearSaveDialogue: ; DoClearSaveDialogue: ; 1c21e (7:421e)
callba ClearSAV
jp Init
-ClearSaveDataText: ; 1c25f (7:425f)
+ClearSaveDataText:
TX_FAR _ClearSaveDataText
db "@"
diff --git a/engine/debug1.asm b/engine/debug1.asm
index ada4b513..a39e8cac 100644
--- a/engine/debug1.asm
+++ b/engine/debug1.asm
@@ -1,5 +1,5 @@
; not IshiharaTeam
-SetDebugTeam: ; 623e (1:623e)
+SetDebugTeam:
ld de, DebugTeam
.loop
ld a, [de]
@@ -13,12 +13,12 @@ SetDebugTeam: ; 623e (1:623e)
call AddPartyMon
jr .loop
-DebugTeam: ; 6253 (1:6253)
+DebugTeam:
db SNORLAX,80
db PERSIAN,80
db JIGGLYPUFF,15
db PIKACHU,5
db $FF
-EmptyFunc: ; 64ea (1:64ea)
- ret \ No newline at end of file
+EmptyFunc:
+ ret
diff --git a/engine/diploma_3a.asm b/engine/diploma_3a.asm
index f85cc288..3b633a1b 100755
--- a/engine/diploma_3a.asm
+++ b/engine/diploma_3a.asm
@@ -1,4 +1,4 @@
-_DisplayDiploma: ; e9a08 (3a:5a08)
+_DisplayDiploma:
call GBPalWhiteOutWithDelay3
call ClearScreen
ld de, SurfingPikachu3Graphics
diff --git a/engine/display_pokedex.asm b/engine/display_pokedex.asm
index 0d0039f6..96a2dd6c 100644
--- a/engine/display_pokedex.asm
+++ b/engine/display_pokedex.asm
@@ -1,4 +1,4 @@
-_DisplayPokedex: ; 7abf (1:7abf)
+_DisplayPokedex:
ld hl, wd730
set 6, [hl]
predef ShowPokedexData
diff --git a/engine/draw_badges.asm b/engine/draw_badges.asm
index 2abecf50..412197b2 100644
--- a/engine/draw_badges.asm
+++ b/engine/draw_badges.asm
@@ -1,4 +1,4 @@
-DrawBadges: ; e880 (3:6880)
+DrawBadges:
; Draw 4x2 gym leader faces, with the faces replaced by
; badges if they are owned. Used in the player status screen.
@@ -116,5 +116,5 @@ DrawBadges: ; e880 (3:6880)
.FaceBadgeTiles
db $20, $28, $30, $38, $40, $48, $50, $58
-GymLeaderFaceAndBadgeTileGraphics: ; e91b (3:691b)
+GymLeaderFaceAndBadgeTileGraphics:
INCBIN "gfx/badges.2bpp"
diff --git a/engine/evolution.asm b/engine/evolution.asm
index 780d78e7..9cefff27 100755
--- a/engine/evolution.asm
+++ b/engine/evolution.asm
@@ -1,4 +1,4 @@
-EvolveMon: ; 5da70 (17:5a70)
+EvolveMon:
push hl
push de
push bc
@@ -89,16 +89,16 @@ EvolveMon: ; 5da70 (17:5a70)
ld a, [wEvoOldSpecies]
jr .done
-EvolutionSetWholeScreenPalette: ; 7beb4 (1e:7eb4)
+EvolutionSetWholeScreenPalette:
ld b, SET_PAL_POKEMON_WHOLE_SCREEN
jp RunPaletteCommand
-Evolution_LoadPic: ; 7beb9 (1e:7eb9)
+Evolution_LoadPic:
call GetMonHeader
coord hl, 7, 2
jp LoadFlippedFrontSpriteByMonIndex
-Evolution_BackAndForthAnim: ; 7bec2 (1e:7ec2)
+Evolution_BackAndForthAnim:
; show the mon change back and forth between the new and old species b times
ld a, $31
ld [wEvoMonTileOffset], a
@@ -110,7 +110,7 @@ Evolution_BackAndForthAnim: ; 7bec2 (1e:7ec2)
jr nz, Evolution_BackAndForthAnim
ret
-Evolution_ChangeMonPic: ; 7bed6 (1e:7ed6)
+Evolution_ChangeMonPic:
push bc
xor a
ld [H_AUTOBGTRANSFERENABLED], a
@@ -135,7 +135,7 @@ Evolution_ChangeMonPic: ; 7bed6 (1e:7ed6)
pop bc
ret
-Evolution_CheckForCancel: ; 7befa (1e:7efa)
+Evolution_CheckForCancel:
call DelayFrame
push bc
call JoypadLowSensitivity
diff --git a/engine/evos_moves.asm b/engine/evos_moves.asm
index 289c76ed..78ead030 100755
--- a/engine/evos_moves.asm
+++ b/engine/evos_moves.asm
@@ -1,5 +1,5 @@
; try to evolve the mon in [wWhichPokemon]
-TryEvolvingMon: ; 3adb8 (e:6db8)
+TryEvolvingMon:
EvolveTradeMon:
ld hl, wCanEvolveFlags
xor a
@@ -11,7 +11,7 @@ EvolveTradeMon:
; this is only called after battle
; it is supposed to do level up evolutions, though there is a bug that allows item evolutions to occur
-EvolutionAfterBattle: ; 3adc6 (e:6dc6)
+EvolutionAfterBattle:
ld a, [hTilesetType]
push af
xor a
@@ -24,7 +24,7 @@ EvolutionAfterBattle: ; 3adc6 (e:6dc6)
ld hl, wPartyCount
push hl
-Evolution_PartyMonLoop: ; 3add8 (e:6dd8)
+Evolution_PartyMonLoop:
; loop over party mons
ld hl, wWhichPokemon
inc [hl]
@@ -263,7 +263,7 @@ Evolution_PartyMonLoop: ; 3add8 (e:6dd8)
call nz, PlayDefaultMusic
ret
-RenameEvolvedMon: ; 3afa8 (e:6fa8)
+RenameEvolvedMon:
; Renames the mon to its new, evolved form's standard name unless it had a
; nickname, in which case the nickname is kept.
ld a, [wd0b5]
@@ -293,7 +293,7 @@ RenameEvolvedMon: ; 3afa8 (e:6fa8)
pop de
jp CopyData
-CancelledEvolution: ; 3afdf (e:6fdf)
+CancelledEvolution:
ld hl, StoppedEvolvingText
call PrintText
call ClearScreen
@@ -301,15 +301,15 @@ CancelledEvolution: ; 3afdf (e:6fdf)
call Evolution_ReloadTilesetTilePatterns
jp Evolution_PartyMonLoop
-EvolvedText: ; 3afef (e:6fef)
+EvolvedText:
TX_FAR _EvolvedText
db "@"
-IntoText: ; 3aff4 (e:6ff4)
+IntoText:
TX_FAR _IntoText
db "@"
-StoppedEvolvingText: ; 3aff9 (e:6ff9)
+StoppedEvolvingText:
TX_FAR _StoppedEvolvingText
db "@"
@@ -317,13 +317,13 @@ IsEvolvingText: ; 3affe (e:6ffes)
TX_FAR _IsEvolvingText
db "@"
-Evolution_ReloadTilesetTilePatterns: ; 3b003 (e:7003)
+Evolution_ReloadTilesetTilePatterns:
ld a, [wLinkState]
cp LINK_STATE_TRADING
ret z
jp ReloadTilesetTilePatterns
-LearnMoveFromLevelUp: ; 3b00c (e:700c)
+LearnMoveFromLevelUp:
ld a, [wd11e] ; species
ld [wcf91], a
call GetMonLearnset
@@ -382,7 +382,7 @@ LearnMoveFromLevelUp: ; 3b00c (e:700c)
ld [wd11e], a
ret
-Func_3b079: ; 3b079 (e:7079)
+Func_3b079:
ld a, [wcf91]
push af
call Func_3b0a2
@@ -410,7 +410,7 @@ Func_3b079: ; 3b079 (e:7079)
scf
ret
-Func_3b0a2: ; 3b0a2 (e:70a2)
+Func_3b0a2:
; XXX what is wcf91 entering this function?
ld a, [wd11e]
ld [wMoveNum], a
@@ -453,7 +453,7 @@ Func_3b0a2: ; 3b0a2 (e:70a2)
scf
ret
-Pointer_3b0ee: ; 3b0ee (e:70ee)
+Pointer_3b0ee:
db NIDOKING
db IVYSAUR
db EXEGGUTOR
@@ -488,7 +488,7 @@ Pointer_3b0ee: ; 3b0ee (e:70ee)
db VICTREEBEL
db $ff
-Func_3b10f: ; 3b10f (e:710f)
+Func_3b10f:
ld c, $0
.asm_3b111
ld hl, EvosMovesPointerTable
@@ -530,7 +530,7 @@ Func_3b10f: ; 3b10f (e:710f)
; writes the moves a mon has at level [wCurEnemyLVL] to [de]
; move slots are being filled up sequentially and shifted if all slots are full
-WriteMonMoves: ; 3113f (e:713f)
+WriteMonMoves:
call GetPredefRegisters
push hl
push de
@@ -636,7 +636,7 @@ WriteMonMoves: ; 3113f (e:713f)
ret
; shifts all move data one up (freeing 4th move slot)
-WriteMonMoves_ShiftMoveData: ; 3b1c3 (e:71c3)
+WriteMonMoves_ShiftMoveData:
ld c, NUM_MOVES - 1
.loop
inc de
@@ -646,10 +646,10 @@ WriteMonMoves_ShiftMoveData: ; 3b1c3 (e:71c3)
jr nz, .loop
ret
-Evolution_FlagAction: ; 3b1cc (e:71cc)
+Evolution_FlagAction:
predef_jump FlagActionPredef
-GetMonLearnset: ; 3b1d1 (e:71d1)
+GetMonLearnset:
ld hl, EvosMovesPointerTable
ld b, 0
ld a, [wcf91]
diff --git a/engine/experience.asm b/engine/experience.asm
index 42917bf7..2efc13de 100755
--- a/engine/experience.asm
+++ b/engine/experience.asm
@@ -1,5 +1,5 @@
; calculates the level a mon should be based on its current exp
-CalcLevelFromExperience: ; 58d99 (16:4d99)
+CalcLevelFromExperience:
ld a, [wLoadedMonSpecies]
ld [wd0b5], a
call GetMonHeader
@@ -28,7 +28,7 @@ CalcLevelFromExperience: ; 58d99 (16:4d99)
ret
; calculates the amount of experience needed for level d
-CalcExperience: ; 58dc0 (16:4dc0)
+CalcExperience:
ld a, [wMonHGrowthRate]
add a
add a
@@ -137,7 +137,7 @@ CalcExperience: ; 58dc0 (16:4dc0)
ret
; calculates d*d
-CalcDSquared: ; 58e66 (16:4e66)
+CalcDSquared:
xor a
ld [H_MULTIPLICAND], a
ld [H_MULTIPLICAND + 1], a
@@ -151,7 +151,7 @@ CalcDSquared: ; 58e66 (16:4e66)
; resulting in
; (a*n^3)/b + sign*c*n^2 + d*n - e
; where sign = -1 <=> S=1
-GrowthRateTable: ; 58e73 (16:4e73)
+GrowthRateTable:
db $11,$00,$00,$00 ; medium fast n^3
db $34,$0A,$00,$1E ; (unused?) 3/4 n^3 + 10 n^2 - 30
db $34,$14,$00,$46 ; (unused?) 3/4 n^3 + 20 n^2 - 70
diff --git a/engine/flag_action_predef.asm b/engine/flag_action_predef.asm
index df38bb87..dc516887 100644
--- a/engine/flag_action_predef.asm
+++ b/engine/flag_action_predef.asm
@@ -1,7 +1,7 @@
-FlagActionPredef: ; f4ec (3:74ec)
+FlagActionPredef:
call GetPredefRegisters
-FlagAction: ; f4ef (3:74ef)
+FlagAction:
; Perform action b on bit c
; in the bitfield at hl.
; 0: reset
@@ -70,4 +70,4 @@ FlagAction: ; f4ef (3:74ef)
pop de
pop hl
ld c, a
- ret \ No newline at end of file
+ ret
diff --git a/engine/game_corner_slots.asm b/engine/game_corner_slots.asm
index 2e9ab4fb..3c5b3a10 100755
--- a/engine/game_corner_slots.asm
+++ b/engine/game_corner_slots.asm
@@ -1,4 +1,4 @@
-StartSlotMachine: ; 37ed1 (d:7ed1)
+StartSlotMachine:
ld a, [wHiddenObjectFunctionArgument]
cp $fd
jr z, .printOutOfOrder
@@ -41,14 +41,14 @@ StartSlotMachine: ; 37ed1 (d:7ed1)
call PrintPredefTextID
ret
-GameCornerOutOfOrderText: ; 37f1d (d:7f1d)
+GameCornerOutOfOrderText:
TX_FAR _GameCornerOutOfOrderText
db "@"
-GameCornerOutToLunchText: ; 37f22 (d:7f22)
+GameCornerOutToLunchText:
TX_FAR _GameCornerOutToLunchText
db "@"
-GameCornerSomeonesKeysText: ; 37f27 (d:7f27)
+GameCornerSomeonesKeysText:
TX_FAR _GameCornerSomeonesKeysText
db "@"
diff --git a/engine/game_corner_slots2.asm b/engine/game_corner_slots2.asm
index 3f7c3f71..6bbaf72d 100755
--- a/engine/game_corner_slots2.asm
+++ b/engine/game_corner_slots2.asm
@@ -1,4 +1,4 @@
-AbleToPlaySlotsCheck: ; 2fdfd (b:7dfd)
+AbleToPlaySlotsCheck:
ld a, [wSpriteStateData1 + 2]
and $8
jr z, .done ; not able
@@ -22,10 +22,10 @@ AbleToPlaySlotsCheck: ; 2fdfd (b:7dfd)
ld [wCanPlaySlots], a
ret
-GameCornerCoinCaseText: ; 2fe26 (b:7e26)
+GameCornerCoinCaseText:
TX_FAR _GameCornerCoinCaseText
db "@"
-GameCornerNoCoinsText: ; 2fe2b (b:7e2b)
+GameCornerNoCoinsText:
TX_FAR _GameCornerNoCoinsText
db "@"
diff --git a/engine/gamefreak.asm b/engine/gamefreak.asm
index ea83734f..6545e216 100755
--- a/engine/gamefreak.asm
+++ b/engine/gamefreak.asm
@@ -1,4 +1,4 @@
-LoadShootingStarGraphics: ; 70000 (1c:4000)
+LoadShootingStarGraphics:
ld a, $f9
ld [rOBP0], a
ld a, $a4
@@ -26,7 +26,7 @@ LoadShootingStarGraphics: ; 70000 (1c:4000)
ld bc, GameFreakShootingStarOAMDataEnd - GameFreakShootingStarOAMData
jp CopyData
-AnimateShootingStar: ; 7004a (1c:404a)
+AnimateShootingStar:
call LoadShootingStarGraphics
ld a, SFX_SHOOTING_STAR
call PlaySound
@@ -156,11 +156,11 @@ AnimateShootingStar: ; 7004a (1c:404a)
and a
ret
-SmallStarsOAM: ; 70101 (1c:4101)
+SmallStarsOAM:
db $00,$00,$A2,$90
SmallStarsOAMEnd:
-SmallStarsWaveCoordsPointerTable: ; 70105 (1c:4105)
+SmallStarsWaveCoordsPointerTable:
dw SmallStarsWave1Coords
dw SmallStarsWave2Coords
dw SmallStarsWave3Coords
@@ -171,7 +171,7 @@ SmallStarsWaveCoordsPointerTable: ; 70105 (1c:4105)
; The stars that fall from the Gamefreak logo come in 4 waves of 4 OAM entries.
; These arrays contain the Y and X coordinates of each OAM entry.
-SmallStarsWave1Coords: ; 70111 (1c:4111)
+SmallStarsWave1Coords:
db $68,$30
db $05,$68
db $40,$05
@@ -179,7 +179,7 @@ SmallStarsWave1Coords: ; 70111 (1c:4111)
db $04,$68
db $78,$07
-SmallStarsWave2Coords: ; 7011d (1c:411d)
+SmallStarsWave2Coords:
db $68,$38
db $05,$68
db $48,$06
@@ -187,7 +187,7 @@ SmallStarsWave2Coords: ; 7011d (1c:411d)
db $04,$68
db $70,$07
-SmallStarsWave3Coords: ; 70129 (1c:4129)
+SmallStarsWave3Coords:
db $68,$34
db $05,$68
db $4c,$06
@@ -195,7 +195,7 @@ SmallStarsWave3Coords: ; 70129 (1c:4129)
db $06,$68
db $64,$07
-SmallStarsWave4Coords: ; 70135 (1c:4135)
+SmallStarsWave4Coords:
db $68,$3c
db $05,$68
db $5c,$04
@@ -203,10 +203,10 @@ SmallStarsWave4Coords: ; 70135 (1c:4135)
db $07,$68
db $74,$07
-SmallStarsEmptyWave: ; 70141 (1c:4141)
+SmallStarsEmptyWave:
db $FF
-MoveDownSmallStars: ; 70142 (1c:4142)
+MoveDownSmallStars:
ld b, 8
.loop
ld hl, wOAMBuffer + $5c
@@ -231,7 +231,7 @@ MoveDownSmallStars: ; 70142 (1c:4142)
jr nz, .loop
ret
-GameFreakLogoOAMData: ; 70166 (1c:4166)
+GameFreakLogoOAMData:
db $48,$50,$8D,$00
db $48,$58,$8E,$00
db $50,$50,$8F,$00
@@ -250,13 +250,13 @@ GameFreakLogoOAMData: ; 70166 (1c:4166)
db $60,$78,$86,$00
GameFreakLogoOAMDataEnd:
-GameFreakShootingStarOAMData: ; 701a6 (1c:41a6)
+GameFreakShootingStarOAMData:
db $00,$A0,$A0,$14
db $00,$A8,$A0,$34
db $08,$A0,$A1,$14
db $08,$A8,$A1,$34
GameFreakShootingStarOAMDataEnd:
-FallingStar: ; 701b6 (1c:41b6)
+FallingStar:
INCBIN "gfx/falling_star.2bpp"
FallingStarEnd:
diff --git a/engine/get_bag_item_quantity.asm b/engine/get_bag_item_quantity.asm
index 1540f7b1..f10df1a0 100644
--- a/engine/get_bag_item_quantity.asm
+++ b/engine/get_bag_item_quantity.asm
@@ -1,4 +1,4 @@
-GetQuantityOfItemInBag: ; f735 (3:7735)
+GetQuantityOfItemInBag:
; In: b = item ID
; Out: b = how many of that item are in the bag
call GetPredefRegisters
diff --git a/engine/give_pokemon.asm b/engine/give_pokemon.asm
index 5b506be2..9cbb4039 100755
--- a/engine/give_pokemon.asm
+++ b/engine/give_pokemon.asm
@@ -1,4 +1,4 @@
-_GivePokemon: ; f66fa (3d:66fa)
+_GivePokemon:
; returns success in carry
; and whether the mon was added to the party in [wAddedToParty]
call EnableAutoTextBoxDrawing
@@ -53,7 +53,7 @@ _GivePokemon: ; f66fa (3d:66fa)
scf
ret
-SetPokedexOwnedFlag: ; f676c (3d:676c)
+SetPokedexOwnedFlag:
ld a, [wcf91]
push af
ld [wd11e], a
@@ -70,18 +70,18 @@ SetPokedexOwnedFlag: ; f676c (3d:676c)
ld hl, GotMonText
jp PrintText
-UnknownTerminator_f6794: ; f6794 (3d:6794)
+UnknownTerminator_f6794:
db "@"
-GotMonText: ; f6795 (3d:6795)
+GotMonText:
TX_FAR _GotMonText
db $0b
db "@"
-SetToBoxText: ; f679b (3d:679b)
+SetToBoxText:
TX_FAR _SetToBoxText
db "@"
-BoxIsFullText: ; f67a0 (3d:67a0)
+BoxIsFullText:
TX_FAR _BoxIsFullText
db "@"
diff --git a/engine/hall_of_fame.asm b/engine/hall_of_fame.asm
index c8e6de3b..59e97892 100755
--- a/engine/hall_of_fame.asm
+++ b/engine/hall_of_fame.asm
@@ -1,4 +1,4 @@
-AnimateHallOfFame: ; 701c6 (1c:41c6)
+AnimateHallOfFame:
call HoFFadeOutScreenAndMusic
call ClearScreen
ld c, 100
@@ -90,10 +90,10 @@ AnimateHallOfFame: ; 701c6 (1c:41c6)
res 3, [hl]
ret
-HallOfFameText: ; 70295 (1c:4295)
+HallOfFameText:
db "HALL OF FAME@"
-HoFShowMonOrPlayer: ; 702a2 (1c:42a2)
+HoFShowMonOrPlayer:
call ClearScreen
ld a, $d0
ld [hSCY], a
@@ -149,7 +149,7 @@ HoFShowMonOrPlayer: ; 702a2 (1c:42a2)
jr nz, .ScrollPic
ret
-HoFDisplayAndRecordMonInfo: ; 7030e (1c:430e)
+HoFDisplayAndRecordMonInfo:
ld a, [wHoFPartyMonIndex]
ld hl, wPartyMonNicks ; wPartyMonNicks
call GetPartyMonName
@@ -167,12 +167,12 @@ HoFDisplayAndRecordMonInfo: ; 7030e (1c:430e)
.asm_7033c
jp HoFRecordMonInfo
-Func_7033f: ; 7033f (1c:433f)
+Func_7033f:
call HoFDisplayMonInfo
ld a,[wHoFMonSpecies]
jp PlayCry
-HoFDisplayMonInfo: ; 70348 (1c:4348)
+HoFDisplayMonInfo:
coord hl, 0, 2
lb bc, 9, 10
call TextBoxBorder
@@ -191,12 +191,12 @@ HoFDisplayMonInfo: ; 70348 (1c:4348)
predef PrintMonType
ret
-HoFMonInfoText: ; 7037b (1c:437b)
+HoFMonInfoText:
db "LEVEL/"
next "TYPE1/"
next "TYPE2/@"
-HoFLoadPlayerPics: ; 70390 (1c:433e)
+HoFLoadPlayerPics:
ld de, RedPicFront ; $6ede
ld a, BANK(RedPicFront)
call UncompressSpriteFromDE
@@ -217,12 +217,12 @@ HoFLoadPlayerPics: ; 70390 (1c:433e)
call InterlaceMergeSpriteBuffers
ld c, $1
-HoFLoadMonPlayerPicTileIDs: ; 703c7 (1c:43c7)
+HoFLoadMonPlayerPicTileIDs:
ld b, $0
coord hl, 12, 5
predef_jump CopyTileIDsFromList
-HoFDisplayPlayerStats: ; 703d1 (1c:43d1)
+HoFDisplayPlayerStats:
SetEvent EVENT_HALL_OF_FAME_DEX_RATING
predef DisplayDexRating
coord hl, 0, 4
@@ -259,26 +259,26 @@ HoFDisplayPlayerStats: ; 703d1 (1c:43d1)
call HoFPrintTextAndDelay
ld hl, wDexRatingText
-HoFPrintTextAndDelay: ; 7043a (1c:443a)
+HoFPrintTextAndDelay:
call PrintText
ld c, 120
jp DelayFrames
-HoFPlayTimeText: ; 70442 (1c:4442)
+HoFPlayTimeText:
db "PLAY TIME@"
-HoFMoneyText: ; 7044c (1c:444c)
+HoFMoneyText:
db "MONEY@"
-DexSeenOwnedText: ; 70452 (1c:4452)
+DexSeenOwnedText:
TX_FAR _DexSeenOwnedText
db "@"
-DexRatingText: ; 70457 (1c:4457)
+DexRatingText:
TX_FAR _DexRatingText
db "@"
-HoFRecordMonInfo: ; 7045c (1c:445c)
+HoFRecordMonInfo:
ld hl, wHallOfFame
ld bc, HOF_MON
ld a, [wHoFPartyMonIndex]
@@ -293,7 +293,7 @@ HoFRecordMonInfo: ; 7045c (1c:445c)
ld bc, NAME_LENGTH
jp CopyData
-HoFFadeOutScreenAndMusic: ; 7047b (1c:447b)
+HoFFadeOutScreenAndMusic:
ld a, 10
ld [wAudioFadeOutCounterReloadValue], a
ld [wAudioFadeOutCounter], a
diff --git a/engine/heal_party.asm b/engine/heal_party.asm
index 4ef200a9..7aaa1bd1 100644
--- a/engine/heal_party.asm
+++ b/engine/heal_party.asm
@@ -1,4 +1,4 @@
-HealParty: ; f52b (3:752b)
+HealParty:
; Restore HP and PP.
ld hl, wPartySpecies
@@ -96,4 +96,4 @@ HealParty: ; f52b (3:752b)
inc [hl]
dec b
jr nz, .ppup
- ret \ No newline at end of file
+ ret
diff --git a/engine/hidden_object_functions14.asm b/engine/hidden_object_functions14.asm
index e69e802c..2781e182 100755
--- a/engine/hidden_object_functions14.asm
+++ b/engine/hidden_object_functions14.asm
@@ -1,16 +1,16 @@
-PrintNotebookText: ; 528f6 (14:68f6)
+PrintNotebookText:
call EnableAutoTextBoxDrawing
ld a, $1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ld a, [wHiddenObjectFunctionArgument]
jp PrintPredefTextID
-TMNotebook: ; 52904 (14:6904)
+TMNotebook:
TX_FAR TMNotebookText
db $0d
db "@"
-ViridianSchoolNotebook: ; 5290a (14:690a)
+ViridianSchoolNotebook:
TX_ASM
ld hl, ViridianSchoolNotebookText1
call PrintText
@@ -31,7 +31,7 @@ ViridianSchoolNotebook: ; 5290a (14:690a)
.doneReading
jp TextScriptEnd
-TurnPageSchoolNotebook: ; 529db (14:69db)
+TurnPageSchoolNotebook:
ld hl, TurnPageText
call PrintText
call YesNoChoice
@@ -39,62 +39,62 @@ TurnPageSchoolNotebook: ; 529db (14:69db)
and a
ret
-TurnPageText: ; 52949 (14:6949)
+TurnPageText:
TX_FAR _TurnPageText
db "@"
-ViridianSchoolNotebookText5: ; 5294e (14:694e)
+ViridianSchoolNotebookText5:
TX_FAR _ViridianSchoolNotebookText5
db $0d
db "@"
-ViridianSchoolNotebookText1: ; 52954 (14:6954)
+ViridianSchoolNotebookText1:
TX_FAR _ViridianSchoolNotebookText1
db "@"
-ViridianSchoolNotebookText2: ; 52959 (14:6959)
+ViridianSchoolNotebookText2:
TX_FAR _ViridianSchoolNotebookText2
db "@"
-ViridianSchoolNotebookText3: ; 5295e (14:695e)
+ViridianSchoolNotebookText3:
TX_FAR _ViridianSchoolNotebookText3
db "@"
-ViridianSchoolNotebookText4: ; 52963 (14:6963)
+ViridianSchoolNotebookText4:
TX_FAR _ViridianSchoolNotebookText4
db "@"
-PrintFightingDojoText2: ; 52968 (14:6968)
+PrintFightingDojoText2:
call EnableAutoTextBoxDrawing
tx_pre_jump EnemiesOnEverySideText
-EnemiesOnEverySideText: ; 52970 (14:6970)
+EnemiesOnEverySideText:
TX_FAR _EnemiesOnEverySideText
db "@"
-PrintFightingDojoText3: ; 52975 (14:6975)
+PrintFightingDojoText3:
call EnableAutoTextBoxDrawing
tx_pre_jump WhatGoesAroundComesAroundText
-WhatGoesAroundComesAroundText: ; 5297d (14:697d)
+WhatGoesAroundComesAroundText:
TX_FAR _WhatGoesAroundComesAroundText
db "@"
-PrintFightingDojoText: ; 52982 (14:6982)
+PrintFightingDojoText:
call EnableAutoTextBoxDrawing
tx_pre_jump FightingDojoText
-FightingDojoText: ; 5298a (14:698a)
+FightingDojoText:
TX_FAR _FightingDojoText
db "@"
-PrintIndigoPlateauHQText: ; 5298f (14:698f)
+PrintIndigoPlateauHQText:
ld a, [wPlayerFacingDirection]
cp SPRITE_FACING_UP
ret nz
call EnableAutoTextBoxDrawing
tx_pre_jump IndigoPlateauHQText
-IndigoPlateauHQText: ; 5299d (14:699d)
+IndigoPlateauHQText:
TX_FAR _IndigoPlateauHQText
db "@"
diff --git a/engine/hidden_object_functions17.asm b/engine/hidden_object_functions17.asm
index 7753cad1..a6044d94 100755
--- a/engine/hidden_object_functions17.asm
+++ b/engine/hidden_object_functions17.asm
@@ -1,19 +1,19 @@
-PrintRedSNESText: ; 5dbae (17:5bae)
+PrintRedSNESText:
call EnableAutoTextBoxDrawing
tx_pre_jump RedBedroomSNESText
-RedBedroomSNESText: ; 5db81 (17:5b81)
+RedBedroomSNESText:
TX_FAR _RedBedroomSNESText
db "@"
-OpenRedsPC: ; 5db86 (17:5b86)
+OpenRedsPC:
call EnableAutoTextBoxDrawing
tx_pre_jump RedBedroomPCText
-RedBedroomPCText: ; 5db8e (17:5b8e)
+RedBedroomPCText:
TX_PLAYERS_PC
-Route15GateLeftBinoculars: ; 5db8f (17:5b8f)
+Route15GateLeftBinoculars:
ld a, [wPlayerFacingDirection]
cp SPRITE_FACING_UP
ret nz
@@ -27,11 +27,11 @@ Route15GateLeftBinoculars: ; 5db8f (17:5b8f)
ld [H_AUTOBGTRANSFERENABLED], a
ret
-Route15UpstairsBinocularsText: ; 5dba8 (17:5ba8)
+Route15UpstairsBinocularsText:
TX_FAR _Route15UpstairsBinocularsText
db "@"
-AerodactylFossil: ; 5dbad (17:5bad)
+AerodactylFossil:
ld a, FOSSIL_AERODACTYL
ld [wcf91], a
call DisplayMonFrontSpriteInBox
@@ -39,11 +39,11 @@ AerodactylFossil: ; 5dbad (17:5bad)
tx_pre AerodactylFossilText
ret
-AerodactylFossilText: ; 5dbbe (17:5bbe)
+AerodactylFossilText:
TX_FAR _AerodactylFossilText
db "@"
-KabutopsFossil: ; 5bdc3 (17:5bc3)
+KabutopsFossil:
ld a, FOSSIL_KABUTOPS
ld [wcf91], a
call DisplayMonFrontSpriteInBox
@@ -51,11 +51,11 @@ KabutopsFossil: ; 5bdc3 (17:5bc3)
tx_pre KabutopsFossilText
ret
-KabutopsFossilText: ; 5dbd4 (17:5bd4)
+KabutopsFossilText:
TX_FAR _KabutopsFossilText
db "@"
-FanClubPicture1: ; 5dbad (17:5c12)
+FanClubPicture1:
ld a, RAPIDASH
ld [wcf91], a
call DisplayMonFrontSpriteInBox
@@ -63,11 +63,11 @@ FanClubPicture1: ; 5dbad (17:5c12)
tx_pre FanClubPicture1Text
ret
-FanClubPicture1Text: ; 5dbbe (17:5bbe)
+FanClubPicture1Text:
TX_FAR _FanClubPicture1Text
db "@"
-FanClubPicture2: ; 5dbad (17:5c28)
+FanClubPicture2:
ld a, FEAROW
ld [wcf91], a
call DisplayMonFrontSpriteInBox
@@ -75,11 +75,11 @@ FanClubPicture2: ; 5dbad (17:5c28)
tx_pre FanClubPicture2Text
ret
-FanClubPicture2Text: ; 5dc39 (17:5c39)
+FanClubPicture2Text:
TX_FAR _FanClubPicture2Text
db "@"
-DisplayMonFrontSpriteInBox: ; 5dbd9 (17:5bd9)
+DisplayMonFrontSpriteInBox:
; Displays a pokemon's front sprite in a pop-up window.
; [wcf91] = pokemon interal id number
ld a, 1
@@ -108,7 +108,7 @@ DisplayMonFrontSpriteInBox: ; 5dbd9 (17:5bd9)
ld [hWY], a
ret
-PrintBlackboardLinkCableText: ; 5dc1a (17:5c1a)
+PrintBlackboardLinkCableText:
call EnableAutoTextBoxDrawing
ld a, $1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
@@ -116,7 +116,7 @@ PrintBlackboardLinkCableText: ; 5dc1a (17:5c1a)
call PrintPredefTextID
ret
-LinkCableHelp: ; 5dc29 (17:5c29)
+LinkCableHelp:
TX_ASM
call SaveScreenTilesToBuffer1
ld hl, LinkCableHelpText1
@@ -168,38 +168,38 @@ LinkCableHelp: ; 5dc29 (17:5c29)
call LoadScreenTilesFromBuffer1
jp TextScriptEnd
-LinkCableHelpText1: ; 5dc9e (17:5c9e)
+LinkCableHelpText1:
TX_FAR _LinkCableHelpText1
db "@"
-LinkCableHelpText2: ; 5dca3 (17:5ca3)
+LinkCableHelpText2:
TX_FAR _LinkCableHelpText2
db "@"
-HowToLinkText: ; 5dca8 (17:5ca8)
+HowToLinkText:
db "HOW TO LINK"
next "COLOSSEUM"
next "TRADE CENTER"
next "STOP READING@"
-LinkCableInfoTexts: ; 5dcd8 (17:5cd8)
+LinkCableInfoTexts:
dw LinkCableInfoText1
dw LinkCableInfoText2
dw LinkCableInfoText3
-LinkCableInfoText1: ; 5dcde (17:5cde)
+LinkCableInfoText1:
TX_FAR _LinkCableInfoText1
db "@"
-LinkCableInfoText2: ; 5dce3 (17:5ce3)
+LinkCableInfoText2:
TX_FAR _LinkCableInfoText2
db "@"
-LinkCableInfoText3: ; 5dce8 (17:5ce8)
+LinkCableInfoText3:
TX_FAR _LinkCableInfoText3
db "@"
-ViridianSchoolBlackboard: ; 5dced (17:5ced)
+ViridianSchoolBlackboard:
TX_ASM
call SaveScreenTilesToBuffer1
ld hl, ViridianSchoolBlackboardText1
@@ -285,60 +285,60 @@ ViridianSchoolBlackboard: ; 5dced (17:5ced)
call LoadScreenTilesFromBuffer1
jp TextScriptEnd
-ViridianSchoolBlackboardText1: ; 5dda2 (17:5da2)
+ViridianSchoolBlackboardText1:
TX_FAR _ViridianSchoolBlackboardText1
db "@"
-ViridianSchoolBlackboardText2: ; 5dda7 (17:5da7)
+ViridianSchoolBlackboardText2:
TX_FAR _ViridianSchoolBlackboardText2
db "@"
-StatusAilmentText1: ; 5ddac (17:5dac)
+StatusAilmentText1:
db " SLP"
next " PSN"
next " PAR@"
-StatusAilmentText2: ; 5ddbb (17:5dbb)
+StatusAilmentText2:
db " BRN"
next " FRZ"
next " QUIT@@"
-ViridianBlackboardStatusPointers: ; 5ddcc (17:5ddc)
+ViridianBlackboardStatusPointers:
dw ViridianBlackboardSleepText
dw ViridianBlackboardPoisonText
dw ViridianBlackboardPrlzText
dw ViridianBlackboardBurnText
dw ViridianBlackboardFrozenText
-ViridianBlackboardSleepText: ; 5ddd6 (17:5dd6)
+ViridianBlackboardSleepText:
TX_FAR _ViridianBlackboardSleepText
db "@"
-ViridianBlackboardPoisonText: ; 5dddb (17:5ddb)
+ViridianBlackboardPoisonText:
TX_FAR _ViridianBlackboardPoisonText
db "@"
-ViridianBlackboardPrlzText: ; 5dde0 (17:5de0)
+ViridianBlackboardPrlzText:
TX_FAR _ViridianBlackboardPrlzText
db "@"
-ViridianBlackboardBurnText: ; 5dde5 (17:5de5)
+ViridianBlackboardBurnText:
TX_FAR _ViridianBlackboardBurnText
db "@"
-ViridianBlackboardFrozenText: ; 5ddea (17:5dea)
+ViridianBlackboardFrozenText:
TX_FAR _ViridianBlackboardFrozenText
db "@"
-PrintTrashText: ; 5ddef (17:5def)
+PrintTrashText:
call EnableAutoTextBoxDrawing
tx_pre_jump VermilionGymTrashText
-VermilionGymTrashText: ; 5ddf7 (17:5df7)
+VermilionGymTrashText:
TX_FAR _VermilionGymTrashText
db "@"
-GymTrashScript: ; 5ddfc (17:5dfc)
+GymTrashScript:
call EnableAutoTextBoxDrawing
ld a, [wHiddenObjectFunctionArgument]
ld [wGymTrashCanIndex], a
@@ -400,7 +400,7 @@ GymTrashScript: ; 5ddfc (17:5dfc)
.done
jp PrintPredefTextID
-GymTrashCans: ; 5de7d (17:5e7d)
+GymTrashCans:
; byte 0: mask for random number
; bytes 1-4: indices of the trash cans that can have the second lock
; Note that the mask is simply the number of valid trash can indices that
@@ -425,7 +425,7 @@ GymTrashCans: ; 5de7d (17:5e7d)
db 2, 11, 13, -1, -1 ; 14
; 5dec8
-VermilionGymTrashSuccessText1: ; 5dec8 (17:5ec8)
+VermilionGymTrashSuccessText1:
TX_FAR _VermilionGymTrashSuccessText1
TX_ASM
call WaitForSoundToFinish
@@ -435,12 +435,12 @@ VermilionGymTrashSuccessText1: ; 5dec8 (17:5ec8)
jp TextScriptEnd
; unused
-VermilionGymTrashSuccessText2: ; 5dedb (17:5edb)
+VermilionGymTrashSuccessText2:
TX_FAR _VermilionGymTrashSuccessText2
db "@"
; unused
-VermilionGymTrashSuccesPlaySfx: ; 5dee0 (17:5ee0)
+VermilionGymTrashSuccesPlaySfx:
TX_ASM
call WaitForSoundToFinish
ld a, SFX_SWITCH
@@ -448,7 +448,7 @@ VermilionGymTrashSuccesPlaySfx: ; 5dee0 (17:5ee0)
call WaitForSoundToFinish
jp TextScriptEnd
-VermilionGymTrashSuccessText3: ; 5deef (17:5eef)
+VermilionGymTrashSuccessText3:
TX_FAR _VermilionGymTrashSuccessText3
TX_ASM
call WaitForSoundToFinish
@@ -457,7 +457,7 @@ VermilionGymTrashSuccessText3: ; 5deef (17:5eef)
call WaitForSoundToFinish
jp TextScriptEnd
-VermilionGymTrashFailText: ; 5df02 (17:5f02)
+VermilionGymTrashFailText:
TX_FAR _VermilionGymTrashFailText
TX_ASM
call WaitForSoundToFinish
diff --git a/engine/hidden_object_functions18.asm b/engine/hidden_object_functions18.asm
index cdba142b..f96f0e3a 100755
--- a/engine/hidden_object_functions18.asm
+++ b/engine/hidden_object_functions18.asm
@@ -1,4 +1,4 @@
-GymStatues: ; 625e8 (18:65e8)
+GymStatues:
; if in a gym and have the corresponding badge, a = GymStatueText2_id and jp PrintPredefTextID
; if in a gym and don’t have the corresponding badge, a = GymStatueText1_id and jp PrintPredefTextID
; else ret
@@ -28,7 +28,7 @@ GymStatues: ; 625e8 (18:65e8)
.haveBadge
jp PrintPredefTextID
-.BadgeFlags: ; 62442 (18:6442)
+.BadgeFlags:
db PEWTER_GYM, %00000001
db CERULEAN_GYM, %00000010
db VERMILION_GYM, %00000100
@@ -39,15 +39,15 @@ GymStatues: ; 625e8 (18:65e8)
db VIRIDIAN_GYM, %10000000
db $ff
-GymStatueText1: ; 62453 (18:6453)
+GymStatueText1:
TX_FAR _GymStatueText1
db "@"
-GymStatueText2: ; 62458 (18:6458)
+GymStatueText2:
TX_FAR _GymStatueText2
db "@"
-PrintBenchGuyText: ; 6245d (18:645d)
+PrintBenchGuyText:
call EnableAutoTextBoxDrawing
ld hl, BenchGuyTextPointers
ld a, [wCurMap]
@@ -71,7 +71,7 @@ PrintBenchGuyText: ; 6245d (18:645d)
jp PrintPredefTextID
; format: db map id, player sprite facing direction, text id of PredefTextIDPointerTable
-BenchGuyTextPointers: ; 6247e (18:647e)
+BenchGuyTextPointers:
db VIRIDIAN_POKECENTER, SPRITE_FACING_LEFT
db_tx_pre ViridianCityPokecenterBenchGuyText
db PEWTER_POKECENTER, SPRITE_FACING_LEFT
@@ -104,59 +104,59 @@ BenchGuyTextPointers: ; 6247e (18:647e)
db_tx_pre UnusedBenchGuyText3
db $FF
-ViridianCityPokecenterBenchGuyText: ; 624a3 (18:64a3)
+ViridianCityPokecenterBenchGuyText:
TX_FAR _ViridianCityPokecenterGuyText
db "@"
-PewterCityPokecenterBenchGuyText: ; 624a8 (18:64a8)
+PewterCityPokecenterBenchGuyText:
TX_FAR _PewterCityPokecenterGuyText
db "@"
-CeruleanCityPokecenterBenchGuyText: ; 624ad (18:64ad)
+CeruleanCityPokecenterBenchGuyText:
TX_FAR _CeruleanPokecenterGuyText
db "@"
-LavenderCityPokecenterBenchGuyText: ; 624b2 (18:64b2)
+LavenderCityPokecenterBenchGuyText:
TX_FAR _LavenderPokecenterGuyText
db "@"
-MtMoonPokecenterBenchGuyText: ; 624b7 (18:64b7)
+MtMoonPokecenterBenchGuyText:
TX_FAR _MtMoonPokecenterBenchGuyText
db "@"
-RockTunnelPokecenterBenchGuyText: ; 624bc (18:64bc)
+RockTunnelPokecenterBenchGuyText:
TX_FAR _RockTunnelPokecenterGuyText
db "@"
-UnusedBenchGuyText1: ; 624c1 (18:64c1)
+UnusedBenchGuyText1:
TX_FAR _UnusedBenchGuyText1
db "@"
-UnusedBenchGuyText2: ; 624c6 (18:64c6)
+UnusedBenchGuyText2:
TX_FAR _UnusedBenchGuyText2
db "@"
-UnusedBenchGuyText3: ; 624cb (18:64cb)
+UnusedBenchGuyText3:
TX_FAR _UnusedBenchGuyText3
db "@"
-VermilionCityPokecenterBenchGuyText: ; 624d0 (18:64d0)
+VermilionCityPokecenterBenchGuyText:
TX_FAR _VermilionPokecenterGuyText
db "@"
-CeladonCityPokecenterBenchGuyText: ; 624d5 (18:64d5)
+CeladonCityPokecenterBenchGuyText:
TX_FAR _CeladonCityPokecenterGuyText
db "@"
-FuchsiaCityPokecenterBenchGuyText: ; 624da (18:64da)
+FuchsiaCityPokecenterBenchGuyText:
TX_FAR _FuchsiaCityPokecenterGuyText
db "@"
-CinnabarIslandPokecenterBenchGuyText: ; 624df (18:64df)
+CinnabarIslandPokecenterBenchGuyText:
TX_FAR _CinnabarPokecenterGuyText
db "@"
-SaffronCityPokecenterBenchGuyText: ; 624e4 (18:64e4)
+SaffronCityPokecenterBenchGuyText:
TX_ASM
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
ld hl, SaffronCityPokecenterBenchGuyText2
@@ -166,32 +166,32 @@ SaffronCityPokecenterBenchGuyText: ; 624e4 (18:64e4)
call PrintText
jp TextScriptEnd
-SaffronCityPokecenterBenchGuyText1: ; 624f8 (18:64f8)
+SaffronCityPokecenterBenchGuyText1:
TX_FAR _SaffronCityPokecenterGuyText1
db "@"
-SaffronCityPokecenterBenchGuyText2: ; 624fd (18:64fd)
+SaffronCityPokecenterBenchGuyText2:
TX_FAR _SaffronCityPokecenterGuyText2
db "@"
-CeladonCityHotelText: ; 62502 (18:6502)
+CeladonCityHotelText:
TX_FAR _CeladonCityHotelText
db "@"
ret
-UnusedPredefText: ; 62508 (18:6508)
+UnusedPredefText:
db "@"
-PrintBookcaseText: ; 626e1 (18:66e1)
+PrintBookcaseText:
call EnableAutoTextBoxDrawing
tx_pre_jump BookcaseText
-BookcaseText: ; 62511 (18:6511)
+BookcaseText:
TX_FAR _BookcaseText
db "@"
-OpenPokemonCenterPC: ; 62516 (18:6516)
+OpenPokemonCenterPC:
ld a, [wPlayerFacingDirection]
cp SPRITE_FACING_UP ; check to see if player is facing up
ret nz
@@ -200,5 +200,5 @@ OpenPokemonCenterPC: ; 62516 (18:6516)
ld [wAutoTextBoxDrawingControl], a
tx_pre_jump PokemonCenterPCText
-PokemonCenterPCText: ; 62529 (18:6529)
+PokemonCenterPCText:
db $F9 ; FuncTX_PokemonCenterPC
diff --git a/engine/hidden_object_functions3.asm b/engine/hidden_object_functions3.asm
index 78da8274..06dc7560 100755
--- a/engine/hidden_object_functions3.asm
+++ b/engine/hidden_object_functions3.asm
@@ -1,5 +1,5 @@
; prints text for bookshelves in buildings without sign events
-PrintBookshelfText: ; f9de (3:79de)
+PrintBookshelfText:
ld a, [wPlayerFacingDirection] ; player's sprite facing direction
cp SPRITE_FACING_UP
jr nz, .noMatch
@@ -37,7 +37,7 @@ PrintBookshelfText: ; f9de (3:79de)
jpba PrintCardKeyText
; format: db tileset id, bookshelf tile id, text id
-BookshelfTileIDs: ; fa19 (3:7a19)
+BookshelfTileIDs:
db PLATEAU, $30
db_tx_pre IndigoPlateauStatues
db HOUSE, $3D
@@ -74,7 +74,7 @@ BookshelfTileIDs: ; fa19 (3:7a19)
db_tx_pre BookOrSculptureText
db $FF
-IndigoPlateauStatues: ; fa4d (3:7a4d)
+IndigoPlateauStatues:
TX_ASM
ld hl, IndigoPlateauStatuesText1
call PrintText
@@ -87,19 +87,19 @@ IndigoPlateauStatues: ; fa4d (3:7a4d)
call PrintText
jp TextScriptEnd
-IndigoPlateauStatuesText1: ; fa67 (3:7a67)
+IndigoPlateauStatuesText1:
TX_FAR _IndigoPlateauStatuesText1
db "@"
-IndigoPlateauStatuesText2: ; fa6c (3:7a6c)
+IndigoPlateauStatuesText2:
TX_FAR _IndigoPlateauStatuesText2
db "@"
-IndigoPlateauStatuesText3: ; fa71 (3:7a71)
+IndigoPlateauStatuesText3:
TX_FAR _IndigoPlateauStatuesText3
db "@"
-BookOrSculptureText: ; fa76 (3:7a76)
+BookOrSculptureText:
TX_ASM
ld hl, PokemonBooksText
ld a, [wCurMapTileset]
@@ -113,19 +113,19 @@ BookOrSculptureText: ; fa76 (3:7a76)
call PrintText
jp TextScriptEnd
-PokemonBooksText: ; fa91 (3:7a91)
+PokemonBooksText:
TX_FAR _PokemonBooksText
db "@"
-DiglettSculptureText: ; fa96 (3:7a96)
+DiglettSculptureText:
TX_FAR _DiglettSculptureText
db "@"
-ElevatorText: ; fa9b (3:7a9b)
+ElevatorText:
TX_FAR _ElevatorText
db "@"
-TownMapText: ; faa0 (3:7aa0)
+TownMapText:
TX_FAR _TownMapText
db $06
TX_ASM
@@ -148,6 +148,6 @@ TownMapText: ; faa0 (3:7aa0)
push af
jp CloseTextDisplay
-PokemonStuffText: ; fad3 (3:7ad3)
+PokemonStuffText:
TX_FAR _PokemonStuffText
db "@"
diff --git a/engine/hidden_object_functions7.asm b/engine/hidden_object_functions7.asm
index 4867b447..691d05f2 100755
--- a/engine/hidden_object_functions7.asm
+++ b/engine/hidden_object_functions7.asm
@@ -1,20 +1,20 @@
-PrintNewBikeText: ; 1e2e4 (7:62e4)
+PrintNewBikeText:
call EnableAutoTextBoxDrawing
tx_pre_jump NewBicycleText
-NewBicycleText: ; 1e2ec (7:62ec)
+NewBicycleText:
TX_FAR _NewBicycleText
db "@"
-DisplayOakLabLeftPoster: ; 1e2f1 (7:62f1)
+DisplayOakLabLeftPoster:
call EnableAutoTextBoxDrawing
tx_pre_jump PushStartText
-PushStartText: ; 1e2f9 (7:62f9)
+PushStartText:
TX_FAR _PushStartText
db "@"
-DisplayOakLabRightPoster: ; 1e2fe (7:62fe)
+DisplayOakLabRightPoster:
call EnableAutoTextBoxDrawing
ld hl, wPokedexOwned
ld b, wPokedexOwnedEnd - wPokedexOwned
@@ -28,15 +28,15 @@ DisplayOakLabRightPoster: ; 1e2fe (7:62fe)
.ownLessThanTwo
jp PrintPredefTextID
-SaveOptionText: ; 1e317 (7:6317)
+SaveOptionText:
TX_FAR _SaveOptionText
db "@"
-StrengthsAndWeaknessesText: ; 1e31c (7:631c)
+StrengthsAndWeaknessesText:
TX_FAR _StrengthsAndWeaknessesText
db "@"
-SafariZoneCheck: ; 1e321 (7:6321)
+SafariZoneCheck:
CheckEventHL EVENT_IN_SAFARI_ZONE ; if we are not in the Safari Zone,
jr z, SafariZoneGameStillGoing ; don't bother printing game over text
ld a, [wNumSafariBalls]
@@ -44,7 +44,7 @@ SafariZoneCheck: ; 1e321 (7:6321)
jr z, SafariZoneGameOver
jr SafariZoneGameStillGoing
-SafariZoneCheckSteps: ; 1e330 (7:6330)
+SafariZoneCheckSteps:
ld a, [wSafariSteps]
ld b, a
ld a, [wSafariSteps + 1]
@@ -56,12 +56,12 @@ SafariZoneCheckSteps: ; 1e330 (7:6330)
ld [wSafariSteps], a
ld a, c
ld [wSafariSteps + 1], a
-SafariZoneGameStillGoing: ; 1e344 (7:6344)
+SafariZoneGameStillGoing:
xor a
ld [wSafariZoneGameOver], a
ret
-SafariZoneGameOver: ; 1e349 (7:6349)
+SafariZoneGameOver:
call EnableAutoTextBoxDrawing
xor a
ld [wAudioFadeOutControl], a
@@ -89,13 +89,13 @@ SafariZoneGameOver: ; 1e349 (7:6349)
ld [wSafariZoneGameOver], a
ret
-PrintSafariGameOverText: ; 1e385 (7:6385)
+PrintSafariGameOverText:
xor a
ld [wJoyIgnore], a
ld hl, SafariGameOverText
jp PrintText
-SafariGameOverText: ; 1e38f (7:638f)
+SafariGameOverText:
TX_ASM
ld a, [wNumSafariBalls]
and a
@@ -107,22 +107,22 @@ SafariGameOverText: ; 1e38f (7:638f)
call PrintText
jp TextScriptEnd
-TimesUpText: ; 1e3a5 (7:63a5)
+TimesUpText:
TX_FAR _TimesUpText
db "@"
-GameOverText: ; 1e3aa (7:63aa)
+GameOverText:
TX_FAR _GameOverText
db "@"
-PrintCinnabarQuiz: ; 1e3af (7:63af)
+PrintCinnabarQuiz:
ld a, [wPlayerFacingDirection]
cp SPRITE_FACING_UP
ret nz
call EnableAutoTextBoxDrawing
tx_pre_jump CinnabarGymQuiz
-CinnabarGymQuiz: ; 1e3be (7:63be)
+CinnabarGymQuiz:
TX_ASM
xor a
ld [wOpponentAfterWrongAnswer], a
@@ -159,19 +159,19 @@ CinnabarGymQuiz: ; 1e3be (7:63be)
call CinnabarGymQuiz_1ea92
jp TextScriptEnd
-CinnabarGymQuizDummyIntroText: ; 1e401 (7:6401)
+CinnabarGymQuizDummyIntroText:
TX_FAR _CinnabarGymQuizDummyIntroText
db "@"
-CinnabarGymQuizIntroText: ; 1e406 (7:6406)
+CinnabarGymQuizIntroText:
TX_FAR _CinnabarGymQuizIntroText
db "@"
-CinnabarGymQuizShortIntroText: ; 1e40b (7:640b)
+CinnabarGymQuizShortIntroText:
TX_FAR _CinnabarGymQuizShortIntroText
db "@"
-CinnabarQuizQuestions: ; 1e410 (7:6410)
+CinnabarQuizQuestions:
dw CinnabarQuizQuestionsText1
dw CinnabarQuizQuestionsText2
dw CinnabarQuizQuestionsText3
@@ -179,31 +179,31 @@ CinnabarQuizQuestions: ; 1e410 (7:6410)
dw CinnabarQuizQuestionsText5
dw CinnabarQuizQuestionsText6
-CinnabarQuizQuestionsText1: ; 1e41c (7:641c)
+CinnabarQuizQuestionsText1:
TX_FAR _CinnabarQuizQuestionsText1
db "@"
-CinnabarQuizQuestionsText2: ; 1e421 (7:6421)
+CinnabarQuizQuestionsText2:
TX_FAR _CinnabarQuizQuestionsText2
db "@"
-CinnabarQuizQuestionsText3: ; 1e426 (7:6426)
+CinnabarQuizQuestionsText3:
TX_FAR _CinnabarQuizQuestionsText3
db "@"
-CinnabarQuizQuestionsText4: ; 1e42b (7:642b)
+CinnabarQuizQuestionsText4:
TX_FAR _CinnabarQuizQuestionsText4
db "@"
-CinnabarQuizQuestionsText5: ; 1e430 (7:6430)
+CinnabarQuizQuestionsText5:
TX_FAR _CinnabarQuizQuestionsText5
db "@"
-CinnabarQuizQuestionsText6: ; 1e435 (7:6435)
+CinnabarQuizQuestionsText6:
TX_FAR _CinnabarQuizQuestionsText6
db "@"
-CinnabarGymQuiz_1ea92: ; 1e43a (7:643a)
+CinnabarGymQuiz_1ea92:
call YesNoChoice
ld a, [$ffdc]
ld c, a
@@ -246,7 +246,7 @@ CinnabarGymQuiz_1ea92: ; 1e43a (7:643a)
set 7, [hl]
ret
-CinnabarGymQuizCorrectText: ; 1e490 (7:6490)
+CinnabarGymQuizCorrectText:
db $0b
TX_FAR _CinnabarGymQuizCorrectText
db $06
@@ -266,15 +266,15 @@ CinnabarGymQuizCorrectText: ; 1e490 (7:6490)
call WaitForSoundToFinish
jp TextScriptEnd
-CinnabarGymQuizIncorrectText: ; 1e4b2 (7:64b2)
+CinnabarGymQuizIncorrectText:
TX_FAR _CinnabarGymQuizIncorrectText
db "@"
-CinnabarGymGateFlagAction: ; 1e4b7 (7:64b7)
+CinnabarGymGateFlagAction:
EventFlagAddress hl, EVENT_CINNABAR_GYM_GATE0_UNLOCKED
predef_jump FlagActionPredef
-UpdateCinnabarGymGateTileBlocks_: ; 1e4bf (7:64bf)
+UpdateCinnabarGymGateTileBlocks_:
; Update the overworld map with open floor blocks or locked gate blocks
; depending on event flags.
ld a, 6
@@ -318,7 +318,7 @@ UpdateCinnabarGymGateTileBlocks_: ; 1e4bf (7:64bf)
callab RedrawMapView
ret
-CinnabarGymGateCoords: ; 1e503 (7:6503)
+CinnabarGymGateCoords:
; format: x-coord, y-coord, direction, padding
; direction: $54 = horizontal gate, $5f = vertical gate
db $09,$03,$54,$00
@@ -329,7 +329,7 @@ CinnabarGymGateCoords: ; 1e503 (7:6503)
db $02,$03,$54,$00
-CinnabarGym_ReplaceTileBlock: ; 1e51b (7:651b)
+CinnabarGym_ReplaceTileBlock:
; basically a copy of the first half of ReplaceTileBlock
; before checking if it is necessary to redraw the map view
ld hl, wOverworldMap
@@ -356,16 +356,16 @@ CinnabarGym_ReplaceTileBlock: ; 1e51b (7:651b)
ld [hl], a
ret
-PrintMagazinesText: ; 1e53b (7:653b)
+PrintMagazinesText:
call EnableAutoTextBoxDrawing
tx_pre MagazinesText
ret
-MagazinesText: ; 1e544 (7:6544)
+MagazinesText:
TX_FAR _MagazinesText
db "@"
-BillsHousePC: ; 1e549 (7:6549)
+BillsHousePC:
call EnableAutoTextBoxDrawing
ld a, [wPlayerFacingDirection]
cp SPRITE_FACING_UP
@@ -411,11 +411,11 @@ BillsHousePC: ; 1e549 (7:6549)
tx_pre BillsHousePokemonList
ret
-BillsHouseMonitorText: ; 1e5b8 (7:65b8)
+BillsHouseMonitorText:
TX_FAR _BillsHouseMonitorText
db "@"
-BillsHouseInitiatedText: ; 1e5bd (7:65b2)
+BillsHouseInitiatedText:
TX_FAR _BillsHouseInitiatedText
db $06
TX_ASM
@@ -429,7 +429,7 @@ BillsHouseInitiatedText: ; 1e5bd (7:65b2)
call DelayFrames
jp TextScriptEnd
-BillsHousePokemonList: ; 1e5dc (7:65dc)
+BillsHousePokemonList:
TX_ASM
call SaveScreenTilesToBuffer1
ld hl, BillsHousePokemonListText1
@@ -482,22 +482,22 @@ BillsHousePokemonList: ; 1e5dc (7:65dc)
call LoadScreenTilesFromBuffer2
jp TextScriptEnd
-BillsHousePokemonListText1: ; 1e654 (7:6654)
+BillsHousePokemonListText1:
TX_FAR _BillsHousePokemonListText1
db "@"
-BillsMonListText: ; 1e659 (7:6659)
+BillsMonListText:
db "EEVEE"
next "FLAREON"
next "JOLTEON"
next "VAPOREON"
next "CANCEL@"
-BillsHousePokemonListText2: ; 1e67f (7:667f)
+BillsHousePokemonListText2:
TX_FAR _BillsHousePokemonListText2
db "@"
-DisplayOakLabEmailText: ; 1e684 (7:6684)
+DisplayOakLabEmailText:
ld a, [wPlayerFacingDirection]
cp SPRITE_FACING_UP
ret nz
@@ -505,6 +505,6 @@ DisplayOakLabEmailText: ; 1e684 (7:6684)
tx_pre OakLabEmailText
ret
-OakLabEmailText: ; 1e693 (7:6693)
+OakLabEmailText:
TX_FAR _OakLabEmailText
db "@"
diff --git a/engine/hp_bar.asm b/engine/hp_bar.asm
index 789f1bd7..b4abf028 100755
--- a/engine/hp_bar.asm
+++ b/engine/hp_bar.asm
@@ -1,9 +1,9 @@
-HPBarLength: ; f86c (3:786c)
+HPBarLength:
call GetPredefRegisters
; calculates bc * 48 / de, the number of pixels the HP bar has
; the result is always at least 1
-GetHPBarLength: ; f86f (3:786f)
+GetHPBarLength:
push hl
xor a
ld hl, H_MULTIPLICAND
@@ -45,7 +45,7 @@ GetHPBarLength: ; f86f (3:786f)
ret
; predef $48
-UpdateHPBar: ; f8ad (3:78ad)
+UpdateHPBar:
UpdateHPBar2:
push hl
ld hl, wHPBarOldHP
@@ -136,7 +136,7 @@ UpdateHPBar2:
; animates the HP bar going up or down for (a) ticks (two waiting frames each)
; stops prematurely if bar is filled up
; e: current health (in pixels) to start with
-UpdateHPBar_AnimateHPBar: ; f941 (3:7941)
+UpdateHPBar_AnimateHPBar:
push hl
.barAnimationLoop
push af
@@ -162,7 +162,7 @@ UpdateHPBar_AnimateHPBar: ; f941 (3:7941)
ret
; compares old HP and new HP and sets c and z flags accordingly
-UpdateHPBar_CompareNewHPToOldHP: ; f961 (3:7961)
+UpdateHPBar_CompareNewHPToOldHP:
ld a, d
sub b
ret nz
@@ -171,7 +171,7 @@ UpdateHPBar_CompareNewHPToOldHP: ; f961 (3:7961)
ret
; calcs HP difference between bc and de (into de)
-UpdateHPBar_CalcHPDifference: ; f967 (3:7967)
+UpdateHPBar_CalcHPDifference:
ld a, d
sub b
jr c, .oldHPGreater
@@ -200,7 +200,7 @@ UpdateHPBar_CalcHPDifference: ; f967 (3:7967)
ld de, $0
ret
-UpdateHPBar_PrintHPNumber: ; f985 (3:7985)
+UpdateHPBar_PrintHPNumber:
push af
push de
ld a, [wHPBarType]
@@ -238,7 +238,7 @@ UpdateHPBar_PrintHPNumber: ; f985 (3:7985)
; calcs number of HP bar pixels for old and new HP value
; d: new pixels
; e: old pixels
-UpdateHPBar_CalcOldNewHPBarPixels: ; f9be (3:79be)
+UpdateHPBar_CalcOldNewHPBarPixels:
push hl
ld hl, wHPBarMaxHP
ld a, [hli] ; max HP into de
diff --git a/engine/in_game_trades.asm b/engine/in_game_trades.asm
index ff739ef0..20069e30 100755
--- a/engine/in_game_trades.asm
+++ b/engine/in_game_trades.asm
@@ -1,4 +1,4 @@
-DoInGameTradeDialogue: ; 71b86 (1c:5b86)
+DoInGameTradeDialogue:
; trigger the trade offer/action specified by wWhichTrade
call SaveScreenTilesToBuffer2
ld hl,TradeMons
@@ -67,7 +67,7 @@ DoInGameTradeDialogue: ; 71b86 (1c:5b86)
jp PrintText
; copies name of species a to hl
-InGameTrade_GetMonName: ; 71c0c (1c:5c0c)
+InGameTrade_GetMonName:
push de
ld [wd11e],a
call GetMonName
@@ -78,7 +78,7 @@ InGameTrade_GetMonName: ; 71c0c (1c:5c0c)
INCLUDE "data/trades.asm"
-InGameTrade_DoTrade: ; 71ca9 (1c:5ca9)
+InGameTrade_DoTrade:
xor a ; NORMAL_PARTY_MENU
ld [wPartyMenuTypeOrMessageID],a
dec a
@@ -139,7 +139,7 @@ InGameTrade_DoTrade: ; 71ca9 (1c:5ca9)
ld [wInGameTradeTextPointerTableIndex],a
ret
-InGameTrade_RestoreScreen: ; 71d36 (1c:5d36)
+InGameTrade_RestoreScreen:
call GBPalWhiteOutWithDelay3
call RestoreScreenTilesAndReloadTilePatterns
call ReloadTilesetTilePatterns
@@ -150,7 +150,7 @@ InGameTrade_RestoreScreen: ; 71d36 (1c:5d36)
call DelayFrames
jpba LoadWildData
-InGameTrade_PrepareTradeData: ; 71d55 (1c:5d55)
+InGameTrade_PrepareTradeData:
ld hl, wTradedPlayerMonSpecies
ld a, [wInGameTradeGiveMonSpecies]
ld [hli], a ; wTradedPlayerMonSpecies
@@ -180,7 +180,7 @@ InGameTrade_PrepareTradeData: ; 71d55 (1c:5d55)
ld de, wTradedEnemyMonOTID
jp CopyData
-InGameTrade_CopyData: ; 71da5 (1c:5da5)
+InGameTrade_CopyData:
push hl
push bc
call CopyData
@@ -188,7 +188,7 @@ InGameTrade_CopyData: ; 71da5 (1c:5da5)
pop hl
ret
-InGameTrade_CopyDataToReceivedMon: ; 71dad (1c:5dad)
+InGameTrade_CopyDataToReceivedMon:
ld hl, wPartyMonNicks
ld bc, NAME_LENGTH
call InGameTrade_GetReceivedMonPointer
@@ -210,7 +210,7 @@ InGameTrade_CopyDataToReceivedMon: ; 71dad (1c:5dad)
; the received mon's index is (partyCount - 1),
; so this adds bc to hl (partyCount - 1) times and moves the result to de
-InGameTrade_GetReceivedMonPointer: ; 71de3 (1c:5de3)
+InGameTrade_GetReceivedMonPointer:
ld a, [wPartyCount]
dec a
call AddNTimes
@@ -218,13 +218,13 @@ InGameTrade_GetReceivedMonPointer: ; 71de3 (1c:5de3)
ld d, h
ret
-InGameTrade_FlagActionPredef: ; 71ded (1c:5ded)
+InGameTrade_FlagActionPredef:
ld hl,wCompletedInGameTradeFlags
ld a,[wWhichTrade]
ld c,a
predef_jump FlagActionPredef
-InGameTrade_CheckForTradeEvo: ; 71df9 (1c:5df9)
+InGameTrade_CheckForTradeEvo:
ld a,[wInGameTradeReceiveMonSpecies]
cp KADABRA
jr z,.tradeEvo
@@ -249,100 +249,100 @@ InGameTrade_CheckForTradeEvo: ; 71df9 (1c:5df9)
ld [wLinkState],a
jp PlayDefaultMusic
-InGameTrade_TrainerString: ; 71e2d (1c:5e2d)
+InGameTrade_TrainerString:
; "TRAINER@@@@@@@@@@"
db $5d, "@@@@@@@@@@"
-InGameTradeTextPointers: ; 71e38 (1c:5e38)
+InGameTradeTextPointers:
dw TradeTextPointers1
dw TradeTextPointers2
dw TradeTextPointers3
-TradeTextPointers1: ; 71e3e (1c:5e3e)
+TradeTextPointers1:
dw WannaTrade1Text
dw NoTrade1Text
dw WrongMon1Text
dw Thanks1Text
dw AfterTrade1Text
-TradeTextPointers2: ; 71e48 (1c:5e48)
+TradeTextPointers2:
dw WannaTrade2Text
dw NoTrade2Text
dw WrongMon2Text
dw Thanks2Text
dw AfterTrade2Text
-TradeTextPointers3: ; 71e52 (1c:5e52)
+TradeTextPointers3:
dw WannaTrade3Text
dw NoTrade3Text
dw WrongMon3Text
dw Thanks3Text
dw AfterTrade3Text
-ConnectCableText: ; 71e5c (1c:5e5c)
+ConnectCableText:
TX_FAR _ConnectCableText
db "@"
-TradedForText: ; 71e61 (1c:5e61)
+TradedForText:
TX_FAR _TradedForText
db $11, $a, "@"
-WannaTrade1Text: ; 71e66 (1c:5e66)
+WannaTrade1Text:
TX_FAR _WannaTrade1Text
db "@"
-NoTrade1Text: ; 71e6b (1c:5e6b)
+NoTrade1Text:
TX_FAR _NoTrade1Text
db "@"
-WrongMon1Text: ; 71e70 (1c:5e70)
+WrongMon1Text:
TX_FAR _WrongMon1Text
db "@"
-Thanks1Text: ; 71e75 (1c:5e75)
+Thanks1Text:
TX_FAR _Thanks1Text
db "@"
-AfterTrade1Text: ; 71e7a (1c:5e7a)
+AfterTrade1Text:
TX_FAR _AfterTrade1Text
db "@"
-WannaTrade2Text: ; 71e7f (1c:5e7f)
+WannaTrade2Text:
TX_FAR _WannaTrade2Text
db "@"
-NoTrade2Text: ; 71e84 (1c:5e84)
+NoTrade2Text:
TX_FAR _NoTrade2Text
db "@"
-WrongMon2Text: ; 71e89 (1c:5e89)
+WrongMon2Text:
TX_FAR _WrongMon2Text
db "@"
-Thanks2Text: ; 71e8e (1c:5e8e)
+Thanks2Text:
TX_FAR _Thanks2Text
db "@"
-AfterTrade2Text: ; 71e93 (1c:5e93)
+AfterTrade2Text:
TX_FAR _AfterTrade2Text
db "@"
-WannaTrade3Text: ; 71e98 (1c:5e98)
+WannaTrade3Text:
TX_FAR _WannaTrade3Text
db "@"
-NoTrade3Text: ; 71e9d (1c:5d9d)
+NoTrade3Text:
TX_FAR _NoTrade3Text
db "@"
-WrongMon3Text: ; 71ea2 (1c:5ea2)
+WrongMon3Text:
TX_FAR _WrongMon3Text
db "@"
-Thanks3Text: ; 71ea7 (1c:5ea7)
+Thanks3Text:
TX_FAR _Thanks3Text
db "@"
-AfterTrade3Text: ; 71eac (1c:5eac)
+AfterTrade3Text:
TX_FAR _AfterTrade3Text
db "@"
diff --git a/engine/init_player_data.asm b/engine/init_player_data.asm
index f240b5db..5883547c 100644
--- a/engine/init_player_data.asm
+++ b/engine/init_player_data.asm
@@ -1,4 +1,4 @@
-InitPlayerData: ; f6d6 (3:76d6)
+InitPlayerData:
InitPlayerData2:
call Random
@@ -52,9 +52,9 @@ START_MONEY EQU $3000
jp InitializeMissableObjectsFlags
-InitializeEmptyList: ; f730 (3:7730)
+InitializeEmptyList:
xor a ; count
ld [hli], a
dec a ; terminator
ld [hl], a
- ret \ No newline at end of file
+ ret
diff --git a/engine/intro.asm b/engine/intro.asm
index 27a357a7..9bc1f503 100755
--- a/engine/intro.asm
+++ b/engine/intro.asm
@@ -2,7 +2,7 @@ MOVE_GENGAR_RIGHT EQU $00
MOVE_GENGAR_LEFT EQU $01
MOVE_NIDORINO_RIGHT EQU $ff
-PlayIntro: ; 41997 (10:5997)
+PlayIntro:
xor a
ld [hJoyHeld], a
inc a
@@ -16,7 +16,7 @@ PlayIntro: ; 41997 (10:5997)
call DelayFrame
ret
-InitIntroNidorinoOAM: ; 419b4 (10:59b4)
+InitIntroNidorinoOAM:
ld hl, wOAMBuffer
ld d, 0
.loop
@@ -45,17 +45,17 @@ InitIntroNidorinoOAM: ; 419b4 (10:59b4)
jr nz, .loop
ret
-IntroClearScreen: ; 419dd (10:59dd)
+IntroClearScreen:
ld hl, vBGMap1
ld bc, $240
jr IntroClearCommon
-IntroClearMiddleOfScreen: ; 419e5 (10:59e5)
+IntroClearMiddleOfScreen:
; clear the area of the tile map between the black bars on the top and bottom
coord hl, 0, 4
ld bc, SCREEN_WIDTH * 10
-IntroClearCommon: ; 419eb (10:59eb)
+IntroClearCommon:
ld [hl], $0
inc hl
dec bc
@@ -64,7 +64,7 @@ IntroClearCommon: ; 419eb (10:59eb)
jr nz, IntroClearCommon
ret
-IntroPlaceBlackTiles: ; 419f4 (10:59f4)
+IntroPlaceBlackTiles:
ld a, $1
.loop
ld [hli], a
@@ -72,11 +72,11 @@ IntroPlaceBlackTiles: ; 419f4 (10:59f4)
jr nz, .loop
ret
-CopyTileIDsFromList_ZeroBaseTileID: ; 419fb (10:59fb)
+CopyTileIDsFromList_ZeroBaseTileID:
ld c, 0
predef_jump CopyTileIDsFromList
-PlayShootingStar: ; 41a02 (10:5a02)
+PlayShootingStar:
ld b, SET_PAL_GAME_FREAK_INTRO
call RunPaletteCommand
callba LoadCopyrightAndTextBoxTiles
@@ -128,7 +128,7 @@ PlayShootingStar: ; 41a02 (10:5a02)
call ClearSprites
jp Delay3
-IntroDrawBlackBars: ; 41a82 (10:5a82)
+IntroDrawBlackBars:
; clear the screen and draw black bars on the top and bottom
call IntroClearScreen
coord hl, 0, 0
@@ -144,11 +144,11 @@ IntroDrawBlackBars: ; 41a82 (10:5a82)
ld c, $80
jp IntroPlaceBlackTiles
-EmptyFunc4: ; 41aa5 (10:5aa5)
+EmptyFunc4:
ret
-GameFreakIntro: ; 41959 (10:5aa6)
+GameFreakIntro:
INCBIN "gfx/gamefreak_intro.2bpp"
INCBIN "gfx/gamefreak_logo.2bpp"
ds $10 ; blank tile
-GameFreakIntroEnd: \ No newline at end of file
+GameFreakIntroEnd:
diff --git a/engine/items/itemfinder.asm b/engine/items/itemfinder.asm
index 7b479462..7c15d4bb 100755
--- a/engine/items/itemfinder.asm
+++ b/engine/items/itemfinder.asm
@@ -1,4 +1,4 @@
-HiddenItemNear: ; 7405c (1d:405c)
+HiddenItemNear:
ld hl, HiddenItemCoords
ld b, 0
.loop
@@ -43,7 +43,7 @@ HiddenItemNear: ; 7405c (1d:405c)
scf
ret
-Sub5ClampTo0: ; 740a8 (1d:40a8)
+Sub5ClampTo0:
; subtract 5 but clamp to 0
sub 5
cp $f0
diff --git a/engine/items/items.asm b/engine/items/items.asm
index e3fe4655..3fb4b7e1 100755
--- a/engine/items/items.asm
+++ b/engine/items/items.asm
@@ -1,4 +1,4 @@
-UseItem_: ; d2ed (3:52ed)
+UseItem_:
ld a, 1
ld [wActionResultOrTookBattleTurn], a ; initialise to success value
ld a, [wcf91] ;contains item_ID
@@ -15,7 +15,7 @@ UseItem_: ; d2ed (3:52ed)
ld l, a
jp [hl]
-ItemUsePtrTable: ; d307 (3:5307)
+ItemUsePtrTable:
dw ItemUseBall ; MASTER_BALL
dw ItemUseBall ; ULTRA_BALL
dw ItemUseBall ; GREAT_BALL
@@ -100,7 +100,7 @@ ItemUsePtrTable: ; d307 (3:5307)
dw ItemUsePPRestore ; ELIXER
dw ItemUsePPRestore ; MAX_ELIXER
-ItemUseBall: ; d3ad (3:53ad)
+ItemUseBall:
; Balls can't be used out of battle.
ld a,[wIsInBattle]
@@ -608,56 +608,56 @@ ItemUseBall: ; d3ad (3:53ad)
.emptyString
db "@"
-ItemUseBallText00: ; d697 (3:5697)
+ItemUseBallText00:
;"It dodged the thrown ball!"
;"This pokemon can't be caught"
TX_FAR _ItemUseBallText00
db "@"
-ItemUseBallText01: ; d69c (3:569c)
+ItemUseBallText01:
;"You missed the pokemon!"
TX_FAR _ItemUseBallText01
db "@"
-ItemUseBallText02: ; d6a1 (3:56a1)
+ItemUseBallText02:
;"Darn! The pokemon broke free!"
TX_FAR _ItemUseBallText02
db "@"
-ItemUseBallText03: ; d6a6 (3:56a6)
+ItemUseBallText03:
;"Aww! It appeared to be caught!"
TX_FAR _ItemUseBallText03
db "@"
-ItemUseBallText04: ; d6ab (3:56ab)
+ItemUseBallText04:
;"Shoot! It was so close too!"
TX_FAR _ItemUseBallText04
db "@"
-ItemUseBallText05: ; d6b0 (3:56b0)
+ItemUseBallText05:
;"All right! {MonName} was caught!"
;play sound
TX_FAR _ItemUseBallText05
db $12, $06
db "@"
-ItemUseBallText07: ; d6b7 (3:59b7)
+ItemUseBallText07:
;"X was transferred to Bill's PC"
TX_FAR _ItemUseBallText07
db "@"
-ItemUseBallText08: ; d6bc (3:56bc)
+ItemUseBallText08:
;"X was transferred to someone's PC"
TX_FAR _ItemUseBallText08
db "@"
-ItemUseBallText06: ; d6c1 (3:56c1)
+ItemUseBallText06:
;"New DEX data will be added..."
;play sound
TX_FAR _ItemUseBallText06
db $13, $06
db "@"
-ItemUseTownMap: ; d6c8 (3:56c8)
+ItemUseTownMap:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
jpba DisplayTownMap
-ItemUseBicycle: ; d6d7 (3:56d7)
+ItemUseBicycle:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
@@ -695,7 +695,7 @@ ItemUseBicycle: ; d6d7 (3:56d7)
ret
; used for Surf out-of-battle effect
-ItemUseSurfboard: ; d725 (3:5725)
+ItemUseSurfboard:
ld a, [wWalkBikeSurfState]
ld [wWalkBikeSurfStateCopy], a
cp 2 ; is the player already surfing?
@@ -774,18 +774,18 @@ ItemUseSurfboard: ; d725 (3:5725)
ld [wSimulatedJoypadStatesIndex], a
ret
-SurfingGotOnText: ; d7c1 (3:57c1)
+SurfingGotOnText:
TX_FAR _SurfingGotOnText
db "@"
-SurfingNoPlaceToGetOffText: ; d7c6 (3:57c6)
+SurfingNoPlaceToGetOffText:
TX_FAR _SurfingNoPlaceToGetOffText
db "@"
-ItemUsePokedex: ; d7cb (3:57cb)
+ItemUsePokedex:
predef_jump ShowPokedexMenu
-ItemUseEvoStone: ; d7d0 (3:57d0)
+ItemUseEvoStone:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
@@ -844,7 +844,7 @@ ItemUseEvoStone: ; d7d0 (3:57d0)
pop af
ret
-Func_d85d: ; d85d (3:585d)
+Func_d85d:
ld hl, EvosMovesPointerTable
ld a, [wLoadedMon]
dec a
@@ -889,16 +889,16 @@ Func_d85d: ; d85d (3:585d)
and a
ret
-RefusingText: ; d8a2 (3:58a2)
+RefusingText:
TX_FAR _RefusingText
db "@"
-ItemUseVitamin: ; d8a7 (3:58a7)
+ItemUseVitamin:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
-ItemUseMedicine: ; d8ae (3:58ae)
+ItemUseMedicine:
ld a, [wPartyCount]
and a
jp z, Func_e4bf
@@ -1554,22 +1554,22 @@ ItemUseMedicine: ; d8ae (3:58ae)
ld [wWhichPokemon], a
jp RemoveUsedItem
-VitaminStatRoseText: ; dd44 (3:5d44)
+VitaminStatRoseText:
TX_FAR _VitaminStatRoseText
db "@"
-VitaminNoEffectText: ; dd49 (3:5d49)
+VitaminNoEffectText:
TX_FAR _VitaminNoEffectText
db "@"
-VitaminText: ; dd4e (3:5d4e)
+VitaminText:
db "HEALTH@"
db "ATTACK@"
db "DEFENSE@"
db "SPEED@"
db "SPECIAL@"
-ItemUseBait: ; dd72 (3:5d72)
+ItemUseBait:
ld hl, ThrewBaitText
call PrintText
ld hl, wEnemyMonCatchRate ; catch rate
@@ -1579,7 +1579,7 @@ ItemUseBait: ; dd72 (3:5d72)
ld de, wSafariEscapeFactor ; escape factor
jr BaitRockCommon
-ItemUseRock: ; dd87 (3:5d87)
+ItemUseRock:
ld hl, ThrewRockText
call PrintText
ld hl, wEnemyMonCatchRate ; catch rate
@@ -1593,7 +1593,7 @@ ItemUseRock: ; dd87 (3:5d87)
ld hl, wSafariEscapeFactor ; escape factor
ld de, wSafariBaitFactor ; bait factor
-BaitRockCommon: ; dd9f (3:5d9f)
+BaitRockCommon:
ld [wAnimationID], a
xor a
ld [wAnimationType], a
@@ -1616,16 +1616,16 @@ BaitRockCommon: ; dd9f (3:5d9f)
ld c, 70
jp DelayFrames
-ThrewBaitText: ; ddc6 (3:5dc6)
+ThrewBaitText:
TX_FAR _ThrewBaitText
db "@"
-ThrewRockText: ; ddca (3:5dca)
+ThrewRockText:
TX_FAR _ThrewRockText
db "@"
; also used for Dig out-of-battle effect
-ItemUseEscapeRope: ; ddcf (3:5dcf)
+ItemUseEscapeRope:
ld a, [wIsInBattle]
and a
jr nz, .notUsable
@@ -1669,14 +1669,14 @@ ItemUseEscapeRope: ; ddcf (3:5dcf)
.notUsable
jp ItemUseNotTime
-EscapeRopeTilesets: ; de28 (3:5e28)
+EscapeRopeTilesets:
db FOREST, CEMETERY, CAVERN, FACILITY, INTERIOR
db $ff ; terminator
-ItemUseRepel: ; de2e (3:5e2e)
+ItemUseRepel:
ld b, 100
-ItemUseRepelCommon: ; e005 (3:6005)
+ItemUseRepelCommon:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
@@ -1685,7 +1685,7 @@ ItemUseRepelCommon: ; e005 (3:6005)
jp PrintItemUseTextAndRemoveItem
; handles X Accuracy item
-ItemUseXAccuracy: ; de3e (3:5e3e)
+ItemUseXAccuracy:
ld a, [wIsInBattle]
and a
jp z, ItemUseNotTime
@@ -1696,7 +1696,7 @@ ItemUseXAccuracy: ; de3e (3:5e3e)
; This function is bugged and never works. It always jumps to ItemUseNotTime.
; The Card Key is handled in a different way.
-ItemUseCardKey: ; de57 (3:de57)
+ItemUseCardKey:
xor a
ld [wUnusedD71F], a
call GetTileAndCoordsInFrontOfPlayer
@@ -1760,7 +1760,7 @@ ItemUseCardKey: ; de57 (3:de57)
; 02: X
; 03: ID?
-CardKeyTable1: ; dea7 (3:5ea7)
+CardKeyTable1:
db SILPH_CO_2F, $04, $04, $00
db SILPH_CO_2F, $04, $05, $01
db SILPH_CO_4F, $0C, $04, $02
@@ -1773,7 +1773,7 @@ CardKeyTable1: ; dea7 (3:5ea7)
db SILPH_CO_10F, $08, $0B, $09
db $ff
-CardKeyTable2: ; ded0 (3:5ed0)
+CardKeyTable2:
db SILPH_CO_3F, $08, $09, $0A
db SILPH_CO_3F, $09, $09, $0B
db SILPH_CO_5F, $04, $07, $0C
@@ -1786,12 +1786,12 @@ CardKeyTable2: ; ded0 (3:5ed0)
db SILPH_CO_9F, $09, $03, $13
db $ff
-CardKeyTable3: ; def9 (3:5ef9)
+CardKeyTable3:
db SILPH_CO_11F, $08, $09, $14
db SILPH_CO_11F, $09, $09, $15
db $ff
-ItemUsePokedoll: ; df02 (3:5f02)
+ItemUsePokedoll:
ld a, [wIsInBattle]
dec a
jp nz, ItemUseNotTime
@@ -1799,7 +1799,7 @@ ItemUsePokedoll: ; df02 (3:5f02)
ld [wEscapedFromBattle], a
jp PrintItemUseTextAndRemoveItem
-ItemUseGuardSpec: ; df11 (3:5f11)
+ItemUseGuardSpec:
ld a, [wIsInBattle]
and a
jp z, ItemUseNotTime
@@ -1816,15 +1816,15 @@ ItemUseGuardSpec: ; df11 (3:5f11)
set ProtectedByMist, [hl] ; Mist bit
jp PrintItemUseTextAndRemoveItem
-ItemUseSuperRepel: ; df38 (3:5f38)
+ItemUseSuperRepel:
ld b, 200
jp ItemUseRepelCommon
-ItemUseMaxRepel: ; df3d (3:5f3d)
+ItemUseMaxRepel:
ld b, 250
jp ItemUseRepelCommon
-ItemUseDireHit: ; df42 (3:5f42)
+ItemUseDireHit:
ld a, [wIsInBattle]
and a
jp z, ItemUseNotTime
@@ -1841,7 +1841,7 @@ ItemUseDireHit: ; df42 (3:5f42)
set GettingPumped, [hl] ; Focus Energy bit
jp PrintItemUseTextAndRemoveItem
-ItemUseXStat: ; df69 (3:df69)
+ItemUseXStat:
ld a, [wIsInBattle]
and a
jr nz, .inBattle
@@ -1884,7 +1884,7 @@ ItemUseXStat: ; df69 (3:df69)
ld [hl], a ; restore [wPlayerMoveNum]
ret
-ItemUsePokeflute: ; dfbd (3:5fbd)
+ItemUsePokeflute:
ld a, [wIsInBattle]
and a
jr nz, .inBattle
@@ -1992,7 +1992,7 @@ ItemUsePokeflute: ; dfbd (3:5fbd)
; [wWereAnyMonsAsleep] should be initialized to 0
; OUTPUT:
; [wWereAnyMonsAsleep]: set to 1 if any pokemon were asleep
-WakeUpEntireParty: ; e094 (3:6094)
+WakeUpEntireParty:
ld de, 44
ld c, 6
.loop
@@ -2014,7 +2014,7 @@ WakeUpEntireParty: ; e094 (3:6094)
; Format:
; 00: Y
; 01: X
-Route12SnorlaxFluteCoords: ; e0ac (3:60ac)
+Route12SnorlaxFluteCoords:
db 62, 9 ; one space West of Snorlax
db 61, 10 ; one space North of Snorlax
db 63, 10 ; one space South of Snorlax
@@ -2024,20 +2024,20 @@ Route12SnorlaxFluteCoords: ; e0ac (3:60ac)
; Format:
; 00: Y
; 01: X
-Route16SnorlaxFluteCoords: ; e0b5 (3:60b5)
+Route16SnorlaxFluteCoords:
db 10, 27 ; one space East of Snorlax
db 10, 25 ; one space West of Snorlax
db $ff ; terminator
-PlayedFluteNoEffectText: ; e0ba (3:60ba)
+PlayedFluteNoEffectText:
TX_FAR _PlayedFluteNoEffectText
db "@"
-FluteWokeUpText: ; e0bf (3:60bf)
+FluteWokeUpText:
TX_FAR _FluteWokeUpText
db "@"
-PlayedFluteHadEffectText: ; e0c4 (3:60c4)
+PlayedFluteHadEffectText:
TX_FAR _PlayedFluteHadEffectText
db $06
TX_ASM
@@ -2057,25 +2057,25 @@ PlayedFluteHadEffectText: ; e0c4 (3:60c4)
.done
jp TextScriptEnd ; end text
-ItemUseCoinCase: ; e0e7 (3:60e7)
+ItemUseCoinCase:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
ld hl, CoinCaseNumCoinsText
jp PrintText
-CoinCaseNumCoinsText: ; e0f1 (3:60f1)
+CoinCaseNumCoinsText:
TX_FAR _CoinCaseNumCoinsText
db "@"
-ItemUseOldRod: ; e0f9 (3:60f9)
+ItemUseOldRod:
call FishingInit
jp c, ItemUseNotTime
lb bc, 5, MAGIKARP
ld a, $1 ; set bite
jr RodResponse
-ItemUseGoodRod: ; e106 (3:6106)
+ItemUseGoodRod:
call FishingInit
jp c, ItemUseNotTime
.RandomLoop
@@ -2103,7 +2103,7 @@ ItemUseGoodRod: ; e106 (3:6106)
INCLUDE "data/good_rod.asm"
-ItemUseSuperRod: ; e130 (3:6130)
+ItemUseSuperRod:
call FishingInit
jp c, ItemUseNotTime
callab ReadSuperRodData
@@ -2123,7 +2123,7 @@ ItemUseSuperRod: ; e130 (3:6130)
ld [wRodResponse], a
jr DoNotGenerateFishingEncounter
-RodResponse: ; e15b (3:615b)
+RodResponse:
ld [wRodResponse], a
dec a ; is there a bite?
@@ -2136,7 +2136,7 @@ RodResponse: ; e15b (3:615b)
ld a, c ; species
ld [wCurOpponent], a
-DoNotGenerateFishingEncounter: ; e16e (3:616e)
+DoNotGenerateFishingEncounter:
ld hl, wWalkBikeSurfState
ld a, [hl] ; store the value in a
push af
@@ -2150,7 +2150,7 @@ DoNotGenerateFishingEncounter: ; e16e (3:616e)
; checks if fishing is possible and if so, runs initialization code common to all rods
; unsets carry if fishing is possible, sets carry if not
-FishingInit: ; e182 (3:6182)
+FishingInit:
ld a, [wIsInBattle]
and a
jr z, .notInBattle
@@ -2181,10 +2181,10 @@ FishingInit: ; e182 (3:6182)
scf ; can't fish when surfing
ret
-ItemUseOaksParcel: ; e1b7 (3:61b7)
+ItemUseOaksParcel:
jp ItemUseNotYoursToUse
-ItemUseItemfinder: ; e1ba (3:61ba)
+ItemUseItemfinder:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
@@ -2204,20 +2204,20 @@ ItemUseItemfinder: ; e1ba (3:61ba)
.printText
jp PrintText
-ItemfinderFoundItemText: ; e1e6 (3:61e6)
+ItemfinderFoundItemText:
TX_FAR _ItemfinderFoundItemText
db "@"
-ItemfinderFoundNothingText: ; e1eb (3:61eb)
+ItemfinderFoundNothingText:
TX_FAR _ItemfinderFoundNothingText
db "@"
-ItemUsePPUp: ; e1f0 (3:61f0)
+ItemUsePPUp:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
-ItemUsePPRestore: ; e1f7 (3:61f7)
+ItemUsePPRestore:
ld a, [wWhichPokemon]
push af
ld a, [wcf91]
@@ -2417,31 +2417,31 @@ ItemUsePPRestore: ; e1f7 (3:61f7)
ld [wActionResultOrTookBattleTurn], a ; item use failed
ret
-RaisePPWhichTechniqueText: ; e358 (3:6358)
+RaisePPWhichTechniqueText:
TX_FAR _RaisePPWhichTechniqueText
db "@"
-RestorePPWhichTechniqueText: ; e35d (3:635d)
+RestorePPWhichTechniqueText:
TX_FAR _RestorePPWhichTechniqueText
db "@"
-PPMaxedOutText: ; e362 (3:6362)
+PPMaxedOutText:
TX_FAR _PPMaxedOutText
db "@"
-PPIncreasedText: ; e367 (3:6367)
+PPIncreasedText:
TX_FAR _PPIncreasedText
db "@"
-PPRestoredText: ; e36c (3:636c)
+PPRestoredText:
TX_FAR _PPRestoredText
db "@"
; for items that can't be used from the Item menu
-UnusableItem: ; e371 (3:6371)
+UnusableItem:
jp ItemUseNotTime
-ItemUseTMHM: ; e374 (3:6374)
+ItemUseTMHM:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
@@ -2564,54 +2564,54 @@ ItemUseTMHM: ; e374 (3:6374)
ret c
jp RemoveUsedItem
-BootedUpTMText: ; e483 (3:6483)
+BootedUpTMText:
TX_FAR _BootedUpTMText
db "@"
-BootedUpHMText: ; e488 (3:6488)
+BootedUpHMText:
TX_FAR _BootedUpHMText
db "@"
-TeachMachineMoveText: ; e48d (3:648d)
+TeachMachineMoveText:
TX_FAR _TeachMachineMoveText
db "@"
-MonCannotLearnMachineMoveText: ; e492 (3:6492)
+MonCannotLearnMachineMoveText:
TX_FAR _MonCannotLearnMachineMoveText
db "@"
-PrintItemUseTextAndRemoveItem: ; e497 (3:6497)
+PrintItemUseTextAndRemoveItem:
ld hl, ItemUseText00
call PrintText
ld a, SFX_HEAL_AILMENT
call PlaySound
call WaitForTextScrollButtonPress ; wait for button press
-RemoveUsedItem: ; e4a5 (3:64a5)
+RemoveUsedItem:
ld hl, wNumBagItems
ld a, 1 ; one item
ld [wItemQuantity], a
jp RemoveItemFromInventory
-ItemUseNoEffect: ; e4b0 (3:64b0)
+ItemUseNoEffect:
ld hl, ItemUseNoEffectText
jr ItemUseFailed
-ItemUseNotTime: ; e4b5 (3:64b5)
+ItemUseNotTime:
ld hl, ItemUseNotTimeText
jr ItemUseFailed
-ItemUseNotYoursToUse: ; e4ba (3:64ba)
+ItemUseNotYoursToUse:
ld hl, ItemUseNotYoursToUseText
jr ItemUseFailed
-Func_e4bf: ; e4bf (3:64bf)
+Func_e4bf:
ld a, $2
ld [wActionResultOrTookBattleTurn], a
ld hl, DontHavePokemonText
jp PrintText
-ThrowBallAtTrainerMon: ; e4ca (3:64ca)
+ThrowBallAtTrainerMon:
call RunDefaultPaletteCommand
call LoadScreenTilesFromBuffer1 ; restore saved screen
call Delay3
@@ -2624,71 +2624,71 @@ ThrowBallAtTrainerMon: ; e4ca (3:64ca)
call PrintText
jr RemoveUsedItem
-NoCyclingAllowedHere: ; e4eb (3:64eb)
+NoCyclingAllowedHere:
ld hl, NoCyclingAllowedHereText
jr ItemUseFailed
-BoxFullCannotThrowBall: ; e4f0 (3:64f0)
+BoxFullCannotThrowBall:
ld hl, BoxFullCannotThrowBallText
jr ItemUseFailed
-SurfingAttemptFailed: ; e4f5 (3:64f5)
+SurfingAttemptFailed:
ld hl, NoSurfingHereText
-ItemUseFailed: ; e4f8 (3:64f8)
+ItemUseFailed:
xor a
ld [wActionResultOrTookBattleTurn], a ; item use failed
jp PrintText
-ItemUseNotTimeText: ; e4ff (3:64ff)
+ItemUseNotTimeText:
TX_FAR _ItemUseNotTimeText
db "@"
-ItemUseNotYoursToUseText: ; e504 (3:6504)
+ItemUseNotYoursToUseText:
TX_FAR _ItemUseNotYoursToUseText
db "@"
-ItemUseNoEffectText: ; e509 (3:6509)
+ItemUseNoEffectText:
TX_FAR _ItemUseNoEffectText
db "@"
-ThrowBallAtTrainerMonText1: ; e50e (3:650e)
+ThrowBallAtTrainerMonText1:
TX_FAR _ThrowBallAtTrainerMonText1
db "@"
-ThrowBallAtTrainerMonText2: ; e513 (3:6513)
+ThrowBallAtTrainerMonText2:
TX_FAR _ThrowBallAtTrainerMonText2
db "@"
-NoCyclingAllowedHereText: ; e518 (3:6518)
+NoCyclingAllowedHereText:
TX_FAR _NoCyclingAllowedHereText
db "@"
-NoSurfingHereText: ; e51d (3:651d)
+NoSurfingHereText:
TX_FAR _NoSurfingHereText
db "@"
-BoxFullCannotThrowBallText: ; e522 (3:6522)
+BoxFullCannotThrowBallText:
TX_FAR _BoxFullCannotThrowBallText
db "@"
-DontHavePokemonText: ; e527 (3:6527)
+DontHavePokemonText:
TX_FAR _DontHavePokemonText
db "@"
-ItemUseText00: ; e52c (3:652c)
+ItemUseText00:
TX_FAR _ItemUseText001
db $05
TX_FAR _ItemUseText002
db "@"
-GotOnBicycleText: ; e536 (3:6536)
+GotOnBicycleText:
TX_FAR _GotOnBicycleText1
db $05
TX_FAR _GotOnBicycleText2
db "@"
-GotOffBicycleText: ; e540 (3:6540)
+GotOffBicycleText:
TX_FAR _GotOffBicycleText1
db $05
TX_FAR _GotOffBicycleText2
@@ -2699,7 +2699,7 @@ GotOffBicycleText: ; e540 (3:6540)
; INPUT:
; [wWhichPokemon] = index of pokemon in party
; [wCurrentMenuItem] = index of move (when using a PP Up)
-RestoreBonusPP: ; e54a (3:654a)
+RestoreBonusPP:
ld hl, wPartyMon1Moves
ld bc, wPartyMon2 - wPartyMon1
ld a, [wWhichPokemon]
@@ -2741,7 +2741,7 @@ RestoreBonusPP: ; e54a (3:654a)
; INPUT:
; [de] = normal max PP
; [hl] = move PP
-AddBonusPP: ; e586 (3:6586)
+AddBonusPP:
push bc
ld a, [de] ; normal max PP of move
ld [H_DIVIDEND + 3], a
@@ -2790,7 +2790,7 @@ AddBonusPP: ; e586 (3:6586)
; [wCurrentMenuItem] = move index
; OUTPUT:
; [wMaxPP] = max PP
-GetMaxPP: ; e5bb (3:65bb)
+GetMaxPP:
ld a, [wMonDataLocation]
and a
ld hl, wPartyMon1Moves
@@ -2851,11 +2851,11 @@ GetMaxPP: ; e5bb (3:65bb)
ld [wMaxPP], a ; store max PP
ret
-GetSelectedMoveOffset: ; e627 (3:6627)
+GetSelectedMoveOffset:
ld a, [wWhichPokemon]
call AddNTimes
-GetSelectedMoveOffset2: ; e62d (3:662d)
+GetSelectedMoveOffset2:
ld a, [wCurrentMenuItem]
ld c, a
ld b, 0
@@ -2870,7 +2870,7 @@ GetSelectedMoveOffset2: ; e62d (3:662d)
; [wItemQuantity] = quantity to toss
; OUTPUT:
; clears carry flag if the item is tossed, sets carry flag if not
-TossItem_: ; e635 (3:6635)
+TossItem_:
push hl
ld a, [wcf91]
call IsItemHM
@@ -2921,15 +2921,15 @@ TossItem_: ; e635 (3:6635)
scf
ret
-ThrewAwayItemText: ; e699 (3:6699)
+ThrewAwayItemText:
TX_FAR _ThrewAwayItemText
db "@"
-IsItOKToTossItemText: ; e69e (3:669e)
+IsItOKToTossItemText:
TX_FAR _IsItOKToTossItemText
db "@"
-TooImportantToTossText: ; e6a3 (3:66a3)
+TooImportantToTossText:
TX_FAR _TooImportantToTossText
db "@"
@@ -2940,7 +2940,7 @@ TooImportantToTossText: ; e6a3 (3:66a3)
; [wIsKeyItem] = result
; 00: item is not key item
; 01: item is key item
-IsKeyItem_: ; e6a8 (3:66a8)
+IsKeyItem_:
ld a, $01
ld [wIsKeyItem], a
ld a, [wcf91]
@@ -2971,7 +2971,7 @@ IsKeyItem_: ; e6a8 (3:66a8)
INCLUDE "data/key_items.asm"
-SendNewMonToBox: ; e6e8 (3:66e8)
+SendNewMonToBox:
ld de, wNumInBox
ld a, [de]
inc a
@@ -3146,7 +3146,7 @@ SendNewMonToBox: ; e6e8 (3:66e8)
; checks if the tile in front of the player is a shore or water tile
; used for surfing and fishing
; unsets carry if it is, sets carry if not
-IsNextTileShoreOrWater: ; e808 (3:6808)
+IsNextTileShoreOrWater:
ld a, [wCurMapTileset]
ld hl, WaterTilesets
ld de, 1
@@ -3168,26 +3168,26 @@ IsNextTileShoreOrWater: ; e808 (3:6808)
ret
; tilesets with water
-WaterTilesets: ; e834 (3:6834)
+WaterTilesets:
db OVERWORLD, FOREST, DOJO, GYM, SHIP, SHIP_PORT, CAVERN, FACILITY, PLATEAU
db $ff ; terminator
; shore tiles
-ShoreTiles: ; e83e (3:683e)
+ShoreTiles:
db $48, $32
-WaterTile: ; e840 (3:6840)
+WaterTile:
db $14
db $ff ; terminator
; reloads map view and processes sprite data
; for items that cause the overworld to be displayed
-ItemUseReloadOverworldData: ; e842 (3:6842)
+ItemUseReloadOverworldData:
call LoadCurrentMapView
jp UpdateSprites
; creates a list at wBuffer of maps where the mon in [wd11e] can be found.
; this is used by the pokedex to display locations the mon can be found on the map.
-FindWildLocationsOfMon: ; e848 (3:6848)
+FindWildLocationsOfMon:
ld hl, WildDataPointers
ld de, wBuffer
ld c, $0
@@ -3217,7 +3217,7 @@ FindWildLocationsOfMon: ; e848 (3:6848)
ld [de], a
ret
-CheckMapForMon: ; e86d (3:686d)
+CheckMapForMon:
inc hl
ld b, $a
.loop
diff --git a/engine/items/tm_prices.asm b/engine/items/tm_prices.asm
index a3a8c608..80e6bf3c 100755
--- a/engine/items/tm_prices.asm
+++ b/engine/items/tm_prices.asm
@@ -1,4 +1,4 @@
-GetMachinePrice: ; f65d4 (3d:65d4)
+GetMachinePrice:
; Input: [wcf91] = Item Id of a TM
; Output: Stores the TM price at hItemPrice
ld a, [wcf91] ; a contains TM item id
diff --git a/engine/items/tmhm.asm b/engine/items/tmhm.asm
index be93fc0e..7ccaa232 100755
--- a/engine/items/tmhm.asm
+++ b/engine/items/tmhm.asm
@@ -1,5 +1,5 @@
; checks if the mon in [wWhichPokemon] already knows the move in [wMoveNum]
-CheckIfMoveIsKnown: ; 2fd42 (b:7d42)
+CheckIfMoveIsKnown:
ld a, [wWhichPokemon]
ld hl, wPartyMon1Moves
ld bc, wPartyMon2 - wPartyMon1
@@ -21,6 +21,6 @@ CheckIfMoveIsKnown: ; 2fd42 (b:7d42)
scf
ret
-AlreadyKnowsText: ; 2fd65 (b:7d65)
+AlreadyKnowsText:
TX_FAR _AlreadyKnowsText
db "@"
diff --git a/engine/items/tms.asm b/engine/items/tms.asm
index ff10d134..84770747 100755
--- a/engine/items/tms.asm
+++ b/engine/items/tms.asm
@@ -1,5 +1,5 @@
; tests if mon [wcf91] can learn move [wMoveNum]
-CanLearnTM: ; 122f0 (4:62f0)
+CanLearnTM:
ld a, [wcf91]
ld [wd0b5], a
call GetMonHeader
@@ -28,7 +28,7 @@ CanLearnTM: ; 122f0 (4:62f0)
; converts TM/HM number in wd11e into move number
; HMs start at 51
-TMToMove: ; 1231d (4:631d)
+TMToMove:
ld a, [wd11e]
dec a
ld hl, TechnicalMachines
diff --git a/engine/joypad.asm b/engine/joypad.asm
index 2b85cb61..4126568c 100644
--- a/engine/joypad.asm
+++ b/engine/joypad.asm
@@ -1,4 +1,4 @@
-ReadJoypad_:: ; c000 (3:4000)
+ReadJoypad_::
; Poll joypad input.
; Unlike the hardware register, button
; presses are indicated by a set bit.
@@ -33,7 +33,7 @@ ReadJoypad_:: ; c000 (3:4000)
ret
-_Joypad:: ; c02d (3:402d)
+_Joypad::
; hJoyReleased: (hJoyLast ^ hJoyInput) & hJoyLast
; hJoyPressed: (hJoyLast ^ hJoyInput) & hJoyInput
diff --git a/engine/learn_move.asm b/engine/learn_move.asm
index 7022e3ea..dcaf4235 100755
--- a/engine/learn_move.asm
+++ b/engine/learn_move.asm
@@ -1,4 +1,4 @@
-LearnMove: ; 6bc8 (1:6bc8)
+LearnMove:
call SaveScreenTilesToBuffer1
ld a, [wWhichPokemon]
ld hl, wPartyMonNicks
@@ -8,7 +8,7 @@ LearnMove: ; 6bc8 (1:6bc8)
ld bc, NAME_LENGTH
call CopyData
-DontAbandonLearning: ; 6be0 (1:6be0)
+DontAbandonLearning:
ld hl, wPartyMon1Moves
ld bc, wPartyMon2Moves - wPartyMon1Moves
ld a, [wWhichPokemon]
@@ -73,7 +73,7 @@ DontAbandonLearning: ; 6be0 (1:6be0)
call CopyData
jp PrintLearnedMove
-AbandonLearning: ; 6c5f (1:6c5f)
+AbandonLearning:
ld hl, AbandonLearningText
call PrintText
coord hl, 14, 7
@@ -89,13 +89,13 @@ AbandonLearning: ; 6c5f (1:6c5f)
ld b, 0
ret
-PrintLearnedMove: ; 6c83 (1:6c83)
+PrintLearnedMove:
ld hl, LearnedMove1Text
call PrintText
ld b, 1
ret
-TryingToLearn: ; 6c8c (1:6c8c)
+TryingToLearn:
push hl
ld hl, TryingToLearnText
call PrintText
@@ -182,27 +182,27 @@ TryingToLearn: ; 6c8c (1:6c8c)
scf
ret
-LearnedMove1Text: ; 6d31 (1:6d31)
+LearnedMove1Text:
TX_FAR _LearnedMove1Text
db $b,6,"@"
-WhichMoveToForgetText: ; 6d38 (1:6d38)
+WhichMoveToForgetText:
TX_FAR _WhichMoveToForgetText
db "@"
-AbandonLearningText: ; 6d3d (1:6d3d)
+AbandonLearningText:
TX_FAR _AbandonLearningText
db "@"
-DidNotLearnText: ; 6d42 (1:6d42)
+DidNotLearnText:
TX_FAR _DidNotLearnText
db "@"
-TryingToLearnText: ; 6d47 (1:6d47)
+TryingToLearnText:
TX_FAR _TryingToLearnText
db "@"
-OneTwoAndText: ; 6d4c (1:6d4c)
+OneTwoAndText:
; bugfix: In Red/Blue, the SFX_SWAP sound was played in the wrong bank, which played an incorrect sound
; Yellow has fixed this by swapping to the correct bank
TX_FAR _OneTwoAndText
@@ -236,13 +236,13 @@ OneTwoAndText: ; 6d4c (1:6d4c)
ld hl, PoofText
ret
-PoofText: ; 6d88 (1:6d88)
+PoofText:
TX_FAR _PoofText
db $a
-ForgotAndText: ; 6d8d (1:6d8d)
+ForgotAndText:
TX_FAR _ForgotAndText
db "@"
-HMCantDeleteText: ; 6d92 (1:6d92)
+HMCantDeleteText:
TX_FAR _HMCantDeleteText
db "@"
diff --git a/engine/load_mon_data.asm b/engine/load_mon_data.asm
index 4a1e3097..e708113f 100644
--- a/engine/load_mon_data.asm
+++ b/engine/load_mon_data.asm
@@ -1,4 +1,4 @@
-LoadMonData_: ; 442b (1:442b)
+LoadMonData_:
; Load monster [wWhichPokemon] from list [wMonDataLocation]:
; 0: partymon
; 1: enemymon
@@ -49,7 +49,7 @@ LoadMonData_: ; 442b (1:442b)
jp CopyData
; get species of mon e in list [wMonDataLocation] for LoadMonData
-GetMonSpecies: ; 4478 (1:4478)
+GetMonSpecies:
ld hl, wPartySpecies
ld a, [wMonDataLocation]
and a
@@ -65,4 +65,4 @@ GetMonSpecies: ; 4478 (1:4478)
add hl, de
ld a, [hl]
ld [wcf91], a
- ret \ No newline at end of file
+ ret
diff --git a/engine/load_pokedex_tiles.asm b/engine/load_pokedex_tiles.asm
index de9dce37..637b7a24 100755
--- a/engine/load_pokedex_tiles.asm
+++ b/engine/load_pokedex_tiles.asm
@@ -1,5 +1,5 @@
; Loads tile patterns for tiles used in the pokedex.
-LoadPokedexTilePatterns: ; 14000 (5:4000)
+LoadPokedexTilePatterns:
call LoadHpBarAndStatusTilePatterns
ld de,PokedexTileGraphics
ld hl,vChars2 + $600
diff --git a/engine/menu/bills_pc.asm b/engine/menu/bills_pc.asm
index e104f693..57699b8f 100644
--- a/engine/menu/bills_pc.asm
+++ b/engine/menu/bills_pc.asm
@@ -1,4 +1,4 @@
-DisplayPCMainMenu:: ; 213c8 (8:5378)
+DisplayPCMainMenu::
xor a
ld [H_AUTOBGTRANSFERENABLED], a
call SaveScreenTilesToBuffer2
@@ -89,7 +89,7 @@ OaksPCText: db "PROF.OAK's PC@"
PKMNLeaguePCText: db $4a, "LEAGUE@"
LogOffPCText: db "LOG OFF@"
-BillsPC_:: ; 2146f (8:546f)
+BillsPC_::
ld hl, wd730
set 6, [hl]
xor a
@@ -108,7 +108,7 @@ BillsPC_:: ; 2146f (8:546f)
ld hl, SwitchOnText
call PrintText
-BillsPCMenu: ; 21495 (8:5495)
+BillsPCMenu:
ld a, [wParentMenuItem]
ld [wCurrentMenuItem], a
ld hl, vChars2 + $780
@@ -184,7 +184,7 @@ BillsPCMenu: ; 21495 (8:5495)
cp $4
jp z, BillsPCPrintBox
-ExitBillsPC: ; 2153e (8:553e)
+ExitBillsPC:
ld a, [wFlags_0xcd60]
bit 3, a ; accessing Bill's PC through another PC?
jr nz, .next
@@ -203,11 +203,11 @@ ExitBillsPC: ; 2153e (8:553e)
res 6, [hl]
ret
-BillsPCPrintBox: ; 21562 (8:5562)
+BillsPCPrintBox:
callab PrintPCBox
jp BillsPCMenu
-BillsPCDeposit: ; 2156d (8:556d)
+BillsPCDeposit:
ld a, [wPartyCount]
dec a
jr nz, .partyLargeEnough
@@ -271,11 +271,11 @@ BillsPCDeposit: ; 2156d (8:556d)
call PrintText
jp BillsPCMenu
-SleepingPikachuText2: ; 2160e (8:560e)
+SleepingPikachuText2:
TX_FAR _SleepingPikachuText2
db "@"
-BillsPCWithdraw: ; 21613 (8:5613)
+BillsPCWithdraw:
ld a, [wNumInBox]
and a
jr nz, .boxNotEmpty
@@ -318,7 +318,7 @@ BillsPCWithdraw: ; 21613 (8:5613)
call PrintText
jp BillsPCMenu
-BillsPCRelease: ; 21690 (8:5690)
+BillsPCRelease:
ld a, [wNumInBox]
and a
jr nz, .loop
@@ -357,11 +357,11 @@ BillsPCRelease: ; 21690 (8:5690)
call PrintText
jp BillsPCMenu
-BillsPCChangeBox: ; 216e7 (8:56e7)
+BillsPCChangeBox:
callba ChangeBox
jp BillsPCMenu
-DisplayMonListMenu: ; 216f2 (8:56f2)
+DisplayMonListMenu:
ld a, l
ld [wListPointer], a
ld a, h
@@ -378,7 +378,7 @@ DisplayMonListMenu: ; 216f2 (8:56f2)
ld [wPartyAndBillsPCSavedMenuItem], a
ret
-BillsPCMenuText: ; 21715 (8:5715)
+BillsPCMenuText:
db "WITHDRAW ", $4a
next "DEPOSIT ", $4a
next "RELEASE ", $4a
@@ -387,10 +387,10 @@ BillsPCMenuText: ; 21715 (8:5715)
next "SEE YA!"
db "@"
-BoxNoPCText: ; 21751 (8:5751)
+BoxNoPCText:
db "BOX No.@"
-KnowsHMMove:: ; 21759 (8:5759)
+KnowsHMMove::
; returns whether mon with party index [wWhichPokemon] knows an HM move
ld hl, wPartyMon1Moves
ld bc, wPartyMon2 - wPartyMon1
@@ -417,7 +417,7 @@ KnowsHMMove:: ; 21759 (8:5759)
and a
ret
-HMMoveArray: ; 21783 (8:5783)
+HMMoveArray:
db CUT
db FLY
db SURF
@@ -425,7 +425,7 @@ HMMoveArray: ; 21783 (8:5783)
db FLASH
db $ff
-DisplayDepositWithdrawMenu: ; 21789 (8:5789)
+DisplayDepositWithdrawMenu:
coord hl, 9, 10
lb bc, 6, 9
call TextBoxBorder
@@ -497,59 +497,59 @@ StatsCancelPCText:
db "STATS"
next "CANCEL@"
-SwitchOnText: ; 21826 (8:5826)
+SwitchOnText:
TX_FAR _SwitchOnText
db "@"
-WhatText: ; 2182b (8:582b)
+WhatText:
TX_FAR _WhatText
db "@"
-DepositWhichMonText: ; 21830 (8:5830)
+DepositWhichMonText:
TX_FAR _DepositWhichMonText
db "@"
-MonWasStoredText: ; 21835 (8:5835)
+MonWasStoredText:
TX_FAR _MonWasStoredText
db "@"
-CantDepositLastMonText: ; 2183a (8:583a)
+CantDepositLastMonText:
TX_FAR _CantDepositLastMonText
db "@"
-BoxFullText: ; 2183f (8:583f)
+BoxFullText:
TX_FAR _BoxFullText
db "@"
-MonIsTakenOutText: ; 21844 (8:5844)
+MonIsTakenOutText:
TX_FAR _MonIsTakenOutText
db "@"
-NoMonText: ; 21849 (8:5849)
+NoMonText:
TX_FAR _NoMonText
db "@"
-CantTakeMonText: ; 2184e (8:584e)
+CantTakeMonText:
TX_FAR _CantTakeMonText
db "@"
-PikachuUnhappyText: ; 21853 (8:5853)
+PikachuUnhappyText:
TX_FAR _PikachuUnhappyText
db "@"
-ReleaseWhichMonText: ; 21858 (8:5858)
+ReleaseWhichMonText:
TX_FAR _ReleaseWhichMonText
db "@"
-OnceReleasedText: ; 2185d (8:585d)
+OnceReleasedText:
TX_FAR _OnceReleasedText
db "@"
-MonWasReleasedText: ; 21862 (8:5862)
+MonWasReleasedText:
TX_FAR _MonWasReleasedText
db "@"
-CableClubLeftGameboy:: ; 21867 (8:5867)
+CableClubLeftGameboy::
ld a, [hSerialConnectionStatus]
cp USING_EXTERNAL_CLOCK
ret z
@@ -566,7 +566,7 @@ CableClubLeftGameboy:: ; 21867 (8:5867)
call EnableAutoTextBoxDrawing
tx_pre_jump JustAMomentText
-CableClubRightGameboy:: ; 21887 (8:5887)
+CableClubRightGameboy::
ld a, [hSerialConnectionStatus]
cp USING_INTERNAL_CLOCK
ret z
@@ -583,7 +583,7 @@ CableClubRightGameboy:: ; 21887 (8:5887)
call EnableAutoTextBoxDrawing
tx_pre_jump JustAMomentText
-JustAMomentText:: ; 218a7 (8:58a7)
+JustAMomentText::
TX_FAR _JustAMomentText
db "@"
@@ -593,5 +593,5 @@ JustAMomentText:: ; 218a7 (8:58a7)
call EnableAutoTextBoxDrawing
tx_pre_jump OpenBillsPCText
-OpenBillsPCText:: ; 218ba (8:58ba)
- db $FD ; FuncTX_BillsPC \ No newline at end of file
+OpenBillsPCText::
+ db $FD ; FuncTX_BillsPC
diff --git a/engine/menu/diploma_1.asm b/engine/menu/diploma_1.asm
index 97ecb7ae..3f309bd2 100644
--- a/engine/menu/diploma_1.asm
+++ b/engine/menu/diploma_1.asm
@@ -1,4 +1,4 @@
-DisplayDiploma: ; 56714 (15:6714)
+DisplayDiploma:
call SaveScreenTilesToBuffer2
call GBPalWhiteOutWithDelay3
call ClearScreen
diff --git a/engine/menu/league_pc.asm b/engine/menu/league_pc.asm
index 21ee30b0..9946b90d 100755
--- a/engine/menu/league_pc.asm
+++ b/engine/menu/league_pc.asm
@@ -1,4 +1,4 @@
-PKMNLeaguePC: ; 75dfe (1d:5dfe)
+PKMNLeaguePC:
ld hl, AccessedHoFPCText
call PrintText
ld hl, wd730
@@ -50,7 +50,7 @@ PKMNLeaguePC: ; 75dfe (1d:5dfe)
call RunDefaultPaletteCommand
jp GBPalNormal
-LeaguePCShowTeam: ; 75e65 (1d:5e65)
+LeaguePCShowTeam:
ld c, PARTY_LENGTH
.loop
push bc
@@ -77,7 +77,7 @@ LeaguePCShowTeam: ; 75e65 (1d:5e65)
scf
ret
-LeaguePCShowMon: ; 75e90 (1d:5e90)
+LeaguePCShowMon:
call GBPalWhiteOutWithDelay3
call ClearScreen
ld hl, wHallOfFame
@@ -111,9 +111,9 @@ LeaguePCShowMon: ; 75e90 (1d:5e90)
call PrintNumber
jpba Func_7033f
-HallOfFameNoText: ; 75eef (1d:5eef)
+HallOfFameNoText:
db "HALL OF FAME No @"
-AccessedHoFPCText: ; 75f02 (1d:5f02)
+AccessedHoFPCText:
TX_FAR _AccessedHoFPCText
db "@"
diff --git a/engine/menu/link_menu.asm b/engine/menu/link_menu.asm
index 4d0beb7e..458f653b 100644
--- a/engine/menu/link_menu.asm
+++ b/engine/menu/link_menu.asm
@@ -1,4 +1,4 @@
-Func_f531b:: ; f531b (3d:531b)
+Func_f531b::
ld c,$14
call DelayFrames
ld a,$1
@@ -176,25 +176,25 @@ Func_f531b:: ; f531b (3d:531b)
and a
ret
-Func_f5476:: ; f5476 (3d:5476)
+Func_f5476::
ld hl,ColosseumIneligibleText
call PrintText
-asm_f547c:: ; f547c (3d:574c)
+asm_f547c::
jp Func_f531b
-asm_f547f:: ; f547f (3d:547f)
+asm_f547f::
xor a
ld [wUnknownSerialCounter],a
ld [wUnknownSerialCounter+1],a
scf
ret
-PointerTable_f5488:: ; f5488 (3d:5488)
+PointerTable_f5488::
dw PokeCup
dw PikaCup
dw PetitCup
-PokeCup:: ; f548e (3d:548e)
+PokeCup::
ld hl,wPartyCount
ld a,[hli]
cp $3
@@ -240,7 +240,7 @@ PokeCup:: ; f548e (3d:548e)
xor a
ret
-PikaCup:: ; f54e4 (3d:54e4)
+PikaCup::
ld hl,wPartyCount
ld a,[hli]
cp $3
@@ -286,7 +286,7 @@ PikaCup:: ; f54e4 (3d:54e4)
xor a
ret
-PetitCup:: ; f553a (3d:553a)
+PetitCup::
ld hl,wPartyCount
ld a,[hli]
cp $3
@@ -407,79 +407,79 @@ PetitCup:: ; f553a (3d:553a)
xor a
ret
-NotThreeMonsInParty:: ; f561d (3d:516d)
+NotThreeMonsInParty::
ld hl,Colosseum3MonsText
call PrintText
ld a,$1
ret
-MewInParty:: ; f5626 (3d:f5626)
+MewInParty::
ld hl,ColosseumMewText
call PrintText
ld a,$2
ret
-DuplicateSpecies:: ; f562f (3d:f562f)
+DuplicateSpecies::
ld hl,ColosseumDifferentMonsText
call PrintText
ld a,$3
ret
-LevelAbove55:: ; f5638 (3d:5638)
+LevelAbove55::
ld hl,ColosseumMaxL55Text
call PrintText
ld a,$4
ret
-LevelUnder50:: ; f5641 (3d:5641)
+LevelUnder50::
ld hl,ColosseumMinL50Text
call PrintText
ld a,$5
ret
-CombinedLevelsGreaterThan155:: ; f5641 (3d:564a)
+CombinedLevelsGreaterThan155::
ld hl,ColosseumTotalL155Text
call PrintText
ld a,$6
ret
-LevelAbove30:: ; f5653 (3d:5653)
+LevelAbove30::
ld hl,ColosseumMaxL30Text
call PrintText
ld a,$7
ret
-LevelUnder25:: ; f565c (3d:565c)
+LevelUnder25::
ld hl,ColosseumMinL25Text
call PrintText
ld a,$8
ret
-CombinedLevelsAbove80:: ; f5665 (3d:5665)
+CombinedLevelsAbove80::
ld hl,ColosseumTotalL80Text
call PrintText
ld a,$9
ret
-LevelAbove20:: ; f566e (3d:566e)
+LevelAbove20::
ld hl,ColosseumMaxL20Text
call PrintText
ld a,$a
ret
-LevelUnder15:: ; f5677 (3d:5677)
+LevelUnder15::
ld hl,ColosseumMinL15Text
call PrintText
ld a,$b
ret
-CombinedLevelsAbove50:: ; f5680 (3d:5680)
+CombinedLevelsAbove50::
ld hl,ColosseumTotalL50Text
call PrintText
ld a,$c
ret
-asm_f5689:: ; f5689 (3d:5689)
+asm_f5689::
pop af
pop bc
pop hl
@@ -490,7 +490,7 @@ asm_f5689:: ; f5689 (3d:5689)
ld a,$d
ret
-asm_f569b:: ; f569b (3d:569b)
+asm_f569b::
pop af
pop bc
pop hl
@@ -501,7 +501,7 @@ asm_f569b:: ; f569b (3d:569b)
ld a,$e
ret
-asm_f56ad:: ; f56ad (3d:56ad)
+asm_f56ad::
ld a,[hl]
ld [wd11e],a
call GetMonName
@@ -510,7 +510,7 @@ asm_f56ad:: ; f56ad (3d:56ad)
ld a,$f
ret
-Func_f56bd:: ; f56bd (3d:56bd)
+Func_f56bd::
xor a
ld [H_AUTOBGTRANSFERENABLED],a
coord hl, 1,11
@@ -538,101 +538,101 @@ Func_f56bd:: ; f56bd (3d:56bd)
ld [H_AUTOBGTRANSFERENABLED],a
ret
-PointerTable_f56ee:: ; f56ee (3d:56ee)
+PointerTable_f56ee::
dw Text_f56f4
dw Text_f5728
dw Text_f575b
-Text_f56f4:: ; f56f4 (3d:56f4)
+Text_f56f4::
db "LVs of 3<pkmn>:50-55"
next "Sum of LVs:155 MAX"
next "MEW can't attend.@"
-Text_f5728:: ; f5728 (3d:5728)
+Text_f5728::
db "LVs of 3<pkmn>:15-20"
next "Sum of LVs:50 MAX"
next "MEW can't attend.@"
-Text_f575b:: ; f575b (3d:575b)
+Text_f575b::
db "3 Basic <pkmn>.LV25-30"
next "Sum of LVs:80 MAX"
next "6′8″ and 44lb MAX@"
-Text_f5791:: ; f5791 (3d:5791)
+Text_f5791::
db "View"
next "Rules@"
-Text_f579c:: ; f579c (3d:579c)
+Text_f579c::
db "# Cup"
next "Pika Cup"
next "Petit Cup"
next "CANCEL@"
-Colosseum3MonsText:: ; f57bc (3d:57bc)
+Colosseum3MonsText::
TX_FAR _Colosseum3MonsText ; a0a2b
db "@"
-ColosseumMewText:: ; f57c1 (3d:57c1)
+ColosseumMewText::
TX_FAR _ColosseumMewText ; a0a46
db "@"
-ColosseumDifferentMonsText:: ; f57c6 (3d:57c6)
+ColosseumDifferentMonsText::
TX_FAR _ColosseumDifferentMonsText ; a0a5f
db "@"
-ColosseumMaxL55Text:: ; f57cb (3d:57cb)
+ColosseumMaxL55Text::
TX_FAR _ColosseumMaxL55Text ; a0a81
db "@"
-ColosseumMinL50Text:: ; f57d0 (3d:57d0)
+ColosseumMinL50Text::
TX_FAR _ColosseumMinL50Text ; a0a9a
db "@"
-ColosseumTotalL155Text:: ; f57d5 (3d:57d5)
+ColosseumTotalL155Text::
TX_FAR _ColosseumTotalL155Text ; a0aba
db "@"
-ColosseumMaxL30Text:: ; f57da (3d:57da)
+ColosseumMaxL30Text::
TX_FAR _ColosseumMaxL30Text ; a0ad9
db "@"
-ColosseumMinL25Text:: ; f57df (3d:57df)
+ColosseumMinL25Text::
TX_FAR _ColosseumMinL25Text ; a0af2
db "@"
-ColosseumTotalL80Text:: ; f57e4 (3d:57e4)
+ColosseumTotalL80Text::
TX_FAR _ColosseumTotalL80Text ; a0b12
db "@"
-ColosseumMaxL20Text:: ; f57e9 (3d:57e9)
+ColosseumMaxL20Text::
TX_FAR _ColosseumMaxL20Text ; a0b30
db "@"
-ColosseumMinL15Text:: ; f57ee (3d:57ee)
+ColosseumMinL15Text::
TX_FAR _ColosseumMinL15Text ; a0b49
db "@"
-ColosseumTotalL50Text:: ; f57f3 (3d:57f3)
+ColosseumTotalL50Text::
TX_FAR _ColosseumTotalL50Text ; a0b69
db "@"
-ColosseumHeightText:: ; f57f8 (3d:57f8)
+ColosseumHeightText::
TX_FAR _ColosseumHeightText ; a0b87
db "@"
-ColosseumWeightText:: ; f57fd (3d:57fd)
+ColosseumWeightText::
TX_FAR _ColosseumWeightText ; a0b9f
db "@"
-ColosseumEvolvedText:: ; f5802 (3d:5802)
+ColosseumEvolvedText::
TX_FAR _ColosseumEvolvedText ; a0bbb
db "@"
-ColosseumIneligibleText:: ; f5807 (3d:5807)
+ColosseumIneligibleText::
TX_FAR _ColosseumIneligibleText ; a0bd4
db "@"
-LinkMenu: ; f580c (3d:580c)
+LinkMenu:
xor a
ld [wLetterPrintingDelayFlags], a
ld hl, wd72e
@@ -871,7 +871,7 @@ LinkMenu: ; f580c (3d:580c)
ld a,$f0
jp .next
-Func_f59ec:: ; f59ec (3d:59ec)
+Func_f59ec::
ld a, b
Coorda 6, 5
ld a, c
@@ -884,27 +884,27 @@ Func_f59ec:: ; f59ec (3d:59ec)
call DelayFrames
ret
-ColosseumWhereToText: ; f5a02 (3d:5a02)
+ColosseumWhereToText:
TX_FAR _ColosseumWhereToText
db "@"
-ColosseumPleaseWaitText: ; f5a07 (3d:5a07)
+ColosseumPleaseWaitText:
TX_FAR _ColosseumPleaseWaitText
db "@"
-ColosseumCanceledText: ; f5a0c (3d:5a0c)
+ColosseumCanceledText:
TX_FAR _ColosseumCanceledText
db "@"
-ColosseumVersionText: ; f5a11 (3d:5a11)
+ColosseumVersionText:
TX_FAR _ColosseumVersionText ; 28:4c47
db "@"
-TextTerminator_f5a16: ; f5a16 (3d:5a16)
+TextTerminator_f5a16:
db "@"
-TradeCenterText: ; f5a17 (3d:5a17)
+TradeCenterText:
db "TRADE CENTER"
next "COLOSSEUM"
next "COLOSSEUM2"
- next "CANCEL@" \ No newline at end of file
+ next "CANCEL@"
diff --git a/engine/menu/main_menu.asm b/engine/menu/main_menu.asm
index 669b2ba8..cf837a54 100755
--- a/engine/menu/main_menu.asm
+++ b/engine/menu/main_menu.asm
@@ -1,4 +1,4 @@
-MainMenu: ; 5ba6 (1:5ba6)
+MainMenu:
; Check save file
call InitOptions
xor a
@@ -122,7 +122,7 @@ MainMenu: ; 5ba6 (1:5ba6)
call SpecialWarpIn
jp SpecialEnterMap
-InitOptions: ; 5bff (1:5bff)
+InitOptions:
ld a,1 ; no delay
ld [wLetterPrintingDelayFlags],a
ld a,3 ; medium speed
@@ -131,7 +131,7 @@ InitOptions: ; 5bff (1:5bff)
ld [wPrinterSettings], a
ret
-Func_5cc1: ; 5cc1 (1:5cc1)
+Func_5cc1:
; unused?
ld a, $6d
cp $80
@@ -140,11 +140,11 @@ Func_5cc1: ; 5cc1 (1:5cc1)
call PrintText
ret
-NotEnoughMemoryText: ; 5ccd (1:5ccd)
+NotEnoughMemoryText:
TX_FAR _NotEnoughMemoryText
db "@"
-StartNewGame: ; 5cd2 (1:5cd2)
+StartNewGame:
ld hl, wd732
res 1, [hl]
call OakSpeech
@@ -154,7 +154,7 @@ StartNewGame: ; 5cd2 (1:5cd2)
call DelayFrames
; enter map after using a special warp or loading the game from the main menu
-SpecialEnterMap: ; 5ce4 (1:5ce4)
+SpecialEnterMap:
xor a
ld [hJoyPressed], a
ld [hJoyHeld], a
@@ -171,14 +171,14 @@ SpecialEnterMap: ; 5ce4 (1:5ce4)
ret nz
jp EnterMap
-ContinueText: ; 5d06 (1:5d06)
+ContinueText:
db "CONTINUE", $4e
-NewGameText: ; 5d0f (1:5d0f)
+NewGameText:
db "NEW GAME", $4e
db "OPTION@"
-DisplayContinueGameInfo: ; 5d1f (1:5d1f)
+DisplayContinueGameInfo:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
coord hl, 4, 7
@@ -201,7 +201,7 @@ DisplayContinueGameInfo: ; 5d1f (1:5d1f)
ld c, 30
jp DelayFrames
-PrintSaveScreenText: ; 5d58 (1:5d58)
+PrintSaveScreenText:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
coord hl, 4, 0
@@ -226,7 +226,7 @@ PrintSaveScreenText: ; 5d58 (1:5d58)
ld c, 30
jp DelayFrames
-PrintNumBadges: ; 5d97 (1:5d97)
+PrintNumBadges:
push hl
ld hl, wObtainedBadges
ld b, $1
@@ -236,7 +236,7 @@ PrintNumBadges: ; 5d97 (1:5d97)
lb bc, 1, 2
jp PrintNumber
-PrintNumOwnedMons: ; 5daa (1:5daa)
+PrintNumOwnedMons:
push hl
ld hl, wPokedexOwned
ld b, wPokedexOwnedEnd - wPokedexOwned
@@ -246,7 +246,7 @@ PrintNumOwnedMons: ; 5daa (1:5daa)
lb bc, 1, 3
jp PrintNumber
-PrintPlayTime: ; 5dbd (1:5dbd)
+PrintPlayTime:
ld de, wPlayTimeHours
lb bc, 1, 3
call PrintNumber
@@ -256,17 +256,17 @@ PrintPlayTime: ; 5dbd (1:5dbd)
lb bc, LEADING_ZEROES | 1, 2
jp PrintNumber
-SaveScreenInfoText: ; 5dd2 (1:5dd2)
+SaveScreenInfoText:
db "PLAYER"
next "BADGES "
next "#DEX "
next "TIME@"
-DisplayOptionMenu: ; 5df2 (1:5df2)
+DisplayOptionMenu:
callab DisplayOptionMenu_ ; 10:5c70
ret
-CheckForPlayerNameInSRAM: ; 5dfb (1:5dfb)
+CheckForPlayerNameInSRAM:
; Check if the player name data in SRAM has a string terminator character
; (indicating that a name may have been saved there) and return whether it does
; in carry.
@@ -294,4 +294,4 @@ CheckForPlayerNameInSRAM: ; 5dfb (1:5dfb)
ld [MBC1SRamEnable], a
ld [MBC1SRamBankingMode], a
scf
- ret \ No newline at end of file
+ ret
diff --git a/engine/menu/naming_screen.asm b/engine/menu/naming_screen.asm
index 0eacc8f6..911c4e99 100755
--- a/engine/menu/naming_screen.asm
+++ b/engine/menu/naming_screen.asm
@@ -1,4 +1,4 @@
-AskName: ; 625d (1:625d)
+AskName:
call SaveScreenTilesToBuffer1
call GetPredefRegisters
push hl
@@ -48,11 +48,11 @@ AskName: ; 625d (1:625d)
ld bc, NAME_LENGTH
jp CopyData
-DoYouWantToNicknameText: ; 62c8 (1:62c8)
+DoYouWantToNicknameText:
TX_FAR _DoYouWantToNicknameText
db "@"
-DisplayNameRaterScreen: ; 62cd (1:62cd)
+DisplayNameRaterScreen:
ld hl, wBuffer
xor a
ld [wUpdateSpritesEnabled], a
@@ -80,7 +80,7 @@ DisplayNameRaterScreen: ; 62cd (1:62cd)
scf
ret
-DisplayNamingScreen: ; 6307 (1:6307)
+DisplayNamingScreen:
push hl
ld hl, wd730
set 6, [hl]
@@ -321,7 +321,7 @@ DisplayNamingScreen: ; 6307 (1:6307)
ld [wTopMenuItemX], a
jp EraseMenuCursor
-LoadEDTile: ; 675b (1:675b)
+LoadEDTile:
; In Red/Blue, the bank for the ED_tile was defined incorrectly as bank0
; Luckily, the MBC3 treats loading $0 into $2000-$2fff range as loading bank1 into $4000-$7fff range
; Because Yellow uses the MBC5, loading $0 into $2000 - $2fff range will load bank0 instead of bank1 and thus incorrectly load the tile
@@ -345,11 +345,11 @@ LoadEDTile: ; 675b (1:675b)
jr nz, .waitForHBlankLoop
ret
-ED_Tile: ; 64e5 (1:64e5)
+ED_Tile:
INCBIN "gfx/ED_tile.1bpp"
ED_TileEnd:
-PrintAlphabet: ; 676f (1:676f)
+PrintAlphabet:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
ld a, [wAlphabetCase]
@@ -379,13 +379,13 @@ PrintAlphabet: ; 676f (1:676f)
ld [H_AUTOBGTRANSFERENABLED], a
jp Delay3
-LowerCaseAlphabet: ; 651c (1:651c)
+LowerCaseAlphabet:
db "abcdefghijklmnopqrstuvwxyz ×():;[]",$e1,$e2,"-?!♂♀/",$f2,",¥UPPER CASE@"
-UpperCaseAlphabet: ; 6554 (1:6554)
+UpperCaseAlphabet:
db "ABCDEFGHIJKLMNOPQRSTUVWXYZ ×():;[]",$e1,$e2,"-?!♂♀/",$f2,",¥lower case@"
-PrintNicknameAndUnderscores: ; 658c (1:658c)
+PrintNicknameAndUnderscores:
call CalcStringLength
ld a, c
ld [wNamingScreenNameLength], a
@@ -439,7 +439,7 @@ PrintNicknameAndUnderscores: ; 658c (1:658c)
ld [hl], $77 ; raised underscore tile id
ret
-DakutensAndHandakutens: ; 65ef (1:65ef)
+DakutensAndHandakutens:
push de
call CalcStringLength
dec hl
@@ -453,7 +453,7 @@ DakutensAndHandakutens: ; 65ef (1:65ef)
ld [wNamingScreenLetter], a
ret
-Dakutens: ; 6603 (1:6603)
+Dakutens:
db "かが", "きぎ", "くぐ", "けげ", "こご"
db "さざ", "しじ", "すず", "せぜ", "そぞ"
db "ただ", "ちぢ", "つづ", "てで", "とど"
@@ -464,13 +464,13 @@ Dakutens: ; 6603 (1:6603)
db "ハバ", "ヒビ", "フブ", "へべ", "ホボ"
db $ff
-Handakutens: ; 6654 (1:6654)
+Handakutens:
db "はぱ", "ひぴ", "ふぷ", "へぺ", "ほぽ"
db "ハパ", "ヒピ", "フプ", "へぺ", "ホポ"
db $ff
; calculates the length of the string at wcf4b and stores it in c
-CalcStringLength: ; 6669 (1:6669)
+CalcStringLength:
ld hl, wcf4b
ld c, $0
.loop
@@ -481,7 +481,7 @@ CalcStringLength: ; 6669 (1:6669)
inc c
jr .loop
-PrintNamingText: ; 6676 (1:6676)
+PrintNamingText:
coord hl, 0, 1
ld a, [wNamingScreenType]
ld de, YourTextString
@@ -513,14 +513,14 @@ PrintNamingText: ; 6676 (1:6676)
.placeString
jp PlaceString
-YourTextString: ; 66bd (1:66bd)
+YourTextString:
db "YOUR @"
-RivalsTextString: ; 66c3 (1:66c3)
+RivalsTextString:
db "RIVAL's @"
-NameTextString: ; 66cb (1:66cb)
+NameTextString:
db "NAME?@"
-NicknameTextString: ; 66d1 (1:66d1)
+NicknameTextString:
db "NICKNAME?@"
diff --git a/engine/menu/oaks_pc.asm b/engine/menu/oaks_pc.asm
index ce989bf1..e4172ec7 100755
--- a/engine/menu/oaks_pc.asm
+++ b/engine/menu/oaks_pc.asm
@@ -1,4 +1,4 @@
-OpenOaksPC: ; 1e2ae (7:62ae)
+OpenOaksPC:
call SaveScreenTilesToBuffer2
ld hl, AccessedOaksPCText
call PrintText
@@ -14,14 +14,14 @@ OpenOaksPC: ; 1e2ae (7:62ae)
call PrintText
jp LoadScreenTilesFromBuffer2
-GetDexRatedText: ; 1e2d4 (7:62d4)
+GetDexRatedText:
TX_FAR _GetDexRatedText
db "@"
-ClosedOaksPCText: ; 1e2d9 (7:62d9)
+ClosedOaksPCText:
TX_FAR _ClosedOaksPCText
db $0d,"@"
-AccessedOaksPCText: ; 1e2df (7:62df)
+AccessedOaksPCText:
TX_FAR _AccessedOaksPCText
db "@"
diff --git a/engine/menu/options.asm b/engine/menu/options.asm
index 86a55bd2..7bed30ae 100644
--- a/engine/menu/options.asm
+++ b/engine/menu/options.asm
@@ -1,4 +1,4 @@
-DisplayOptionMenu_: ; 41c70 (10:5c70)
+DisplayOptionMenu_:
call Func_41f06
.optionMenuLoop
call JoypadLowSensitivity
@@ -18,7 +18,7 @@ DisplayOptionMenu_: ; 41c70 (10:5c70)
.exitOptionMenu
ret
-Func_41c95: ; 41c95 (10:5c95)
+Func_41c95:
ld a, [wOptionsCursorLocation]
ld e, a
ld d, $0
@@ -30,7 +30,7 @@ Func_41c95: ; 41c95 (10:5c95)
ld l, a
jp hl
-OptionMenuJumpTable: ; 41ca4 (10:5ca4)
+OptionMenuJumpTable:
dw OptionsMenu_TextSpeed
dw OptionsMenu_BattleAnimations
dw OptionsMenu_BattleStyle
@@ -40,7 +40,7 @@ OptionMenuJumpTable: ; 41ca4 (10:5ca4)
dw OptionsMenu_Dummy
dw OptionsMenu_Cancel
-OptionsMenu_TextSpeed: ; 41cb4 (10:5cb4)
+OptionsMenu_TextSpeed:
call Func_41d07
ld a, [hJoy5]
bit 4, a ; right
@@ -84,19 +84,19 @@ OptionsMenu_TextSpeed: ; 41cb4 (10:5cb4)
and a
ret
-TextSpeedStringsPointerTable: ; 41cf2 (10:5cf2)
+TextSpeedStringsPointerTable:
dw FastText
dw MidText
dw SlowText
-FastText: ; 41cf9 (10:5cf9)
+FastText:
db "FAST@"
-MidText: ; 41cfd (10:5cfd)
+MidText:
db "MID @"
-SlowText: ; 41d02 (10:5d02)
+SlowText:
db "SLOW@"
-Func_41d07: ; 41d07 (10:5d07)
+Func_41d07:
ld a, [wOptions]
and $f
cp $5
@@ -116,7 +116,7 @@ Func_41d07: ; 41d07 (10:5d07)
lb de, 5, 3
ret
-OptionsMenu_BattleAnimations: ; 41d26 (10:5d26)
+OptionsMenu_BattleAnimations:
ld a, [hJoy5]
and D_RIGHT | D_LEFT
jr nz, .asm_41d33
@@ -142,16 +142,16 @@ OptionsMenu_BattleAnimations: ; 41d26 (10:5d26)
and a
ret
-AnimationOptionStringsPointerTable: ; 41d52 (10:5d52)
+AnimationOptionStringsPointerTable:
dw AnimationOnText
dw AnimationOffText
-AnimationOnText: ; 41d56 (10:5d56)
+AnimationOnText:
db "ON @"
-AnimationOffText: ; 41d5a (10:5d5a)
+AnimationOffText:
db "OFF@"
-OptionsMenu_BattleStyle: ; 41d5e (10:5d5e)
+OptionsMenu_BattleStyle:
ld a, [hJoy5]
and D_LEFT | D_RIGHT
jr nz, .asm_41d6b
@@ -178,16 +178,16 @@ OptionsMenu_BattleStyle: ; 41d5e (10:5d5e)
and a
ret
-BattleStyleOptionStringsPointerTable: ; 41d8c (10:5d8c)
+BattleStyleOptionStringsPointerTable:
dw BattleStyleShiftText
dw BattleStyleSetText
-BattleStyleShiftText: ; 41d90 (10:5d90)
+BattleStyleShiftText:
db "SHIFT@"
-BattleStyleSetText: ; 41d96 (10:5d96)
+BattleStyleSetText:
db "SET @"
-OptionsMenu_SpeakerSettings: ; 41d9c (10:5d9c)
+OptionsMenu_SpeakerSettings:
ld a, [wOptions]
and $30
swap a
@@ -230,22 +230,22 @@ OptionsMenu_SpeakerSettings: ; 41d9c (10:5d9c)
and a
ret
-SpeakerOptionStringsPointerTable: ; 41ddc (10:5ddc)
+SpeakerOptionStringsPointerTable:
dw MonoSoundText
dw Earphone1SoundText
dw Earphone2SoundText
dw Earphone3SoundText
-MonoSoundText: ; 41de4 (10:5de4)
+MonoSoundText:
db "MONO @"
-Earphone1SoundText: ; 41dee (10:5dee)
+Earphone1SoundText:
db "EARPHONE1@"
-Earphone2SoundText: ; 41df8 (10:5df8)
+Earphone2SoundText:
db "EARPHONE2@"
-Earphone3SoundText: ; 41e02 (10:5e02)
+Earphone3SoundText:
db "EARPHONE3@"
-OptionsMenu_GBPrinterBrightness: ; 41e0c (10:5e0c)
+OptionsMenu_GBPrinterBrightness:
call Func_41e7b
ld a, [hJoy5]
bit 4, a
@@ -286,25 +286,25 @@ OptionsMenu_GBPrinterBrightness: ; 41e0c (10:5e0c)
and a
ret
-GBPrinterOptionStringsPointerTable: ; 41e44 (10:5e44)
+GBPrinterOptionStringsPointerTable:
dw LightestPrintText
dw LighterPrintText
dw NormalPrintText
dw DarkerPrintText
dw DarkestPrintText
-LightestPrintText: ; 41e4e (10:5e4e)
+LightestPrintText:
db "LIGHTEST@"
-LighterPrintText: ; 41e57 (10:5e57)
+LighterPrintText:
db "LIGHTER @"
-NormalPrintText: ; 41e60 (10:5e60)
+NormalPrintText:
db "NORMAL @"
-DarkerPrintText: ; 41e69 (10:5e69)
+DarkerPrintText:
db "DARKER @"
-DarkestPrintText: ; 41e72 (10:5e72)
+DarkestPrintText:
db "DARKEST @"
-Func_41e7b: ; 41e7b (10:5e7b)
+Func_41e7b:
ld a, [wPrinterSettings]
and a
jr z, .asm_41e93
@@ -334,11 +334,11 @@ Func_41e7b: ; 41e7b (10:5e7b)
lb de, $60, $0
ret
-OptionsMenu_Dummy: ; 41eab (10:5eab)
+OptionsMenu_Dummy:
and a
ret
-OptionsMenu_Cancel: ; 41ead (10:5ead)
+OptionsMenu_Cancel:
ld a, [hJoy5]
and A_BUTTON
jr nz, .pressedCancel
@@ -348,7 +348,7 @@ OptionsMenu_Cancel: ; 41ead (10:5ead)
scf
ret
-Func_41eb7: ; 41eb7 (10:5eb7)
+Func_41eb7:
ld hl, wOptionsCursorLocation
ld a, [hJoy5]
cp D_DOWN
@@ -388,7 +388,7 @@ Func_41eb7: ; 41eb7 (10:5eb7)
scf
ret
-Func_41ee9: ; 41ee9 (10:5ee9)
+Func_41ee9:
coord hl, 1, 1
ld de, SCREEN_WIDTH
ld c, 16
@@ -404,7 +404,7 @@ Func_41ee9: ; 41ee9 (10:5ee9)
ld [hl], "▶"
ret
-Func_41f06: ; 41f06 (10:5f06)
+Func_41f06:
coord hl, 0, 0
lb bc, SCREEN_HEIGHT - 2, SCREEN_WIDTH - 2
call TextBoxBorder
@@ -432,12 +432,12 @@ Func_41f06: ; 41f06 (10:5f06)
call Delay3
ret
-AllOptionsText: ; 41f3e (10:5f3e)
+AllOptionsText:
db "TEXT SPEED :"
next "ANIMATION :"
next "BATTLESTYLE:"
next "SOUND:"
next "PRINT:@"
-OptionMenuCancelText: ; 41f73 (10:5f73)
- db "CANCEL@" \ No newline at end of file
+OptionMenuCancelText:
+ db "CANCEL@"
diff --git a/engine/menu/party_menu.asm b/engine/menu/party_menu.asm
index 16bea473..669d49db 100755
--- a/engine/menu/party_menu.asm
+++ b/engine/menu/party_menu.asm
@@ -17,14 +17,14 @@
; f6: health returned
; f7: revitalized
; f8: leveled up
-DrawPartyMenu_: ; 11875 (4:5875)
+DrawPartyMenu_:
xor a
ld [H_AUTOBGTRANSFERENABLED],a
call ClearScreen
call UpdateSprites
callba LoadMonPartySpriteGfxWithLCDDisabled ; load pokemon icon graphics
-RedrawPartyMenu_: ; 11886 (4:5886)
+RedrawPartyMenu_:
ld a,[wPartyMenuTypeOrMessageID]
cp a,SWAP_MONS_PARTY_MENU
jp z,.printMessage
@@ -242,7 +242,7 @@ RedrawPartyMenu_: ; 11886 (4:5886)
call PrintText
jr .done
-PartyMenuItemUseMessagePointers: ; 11a1a (4:5a1a)
+PartyMenuItemUseMessagePointers:
dw AntidoteText
dw BurnHealText
dw IceHealText
@@ -253,7 +253,7 @@ PartyMenuItemUseMessagePointers: ; 11a1a (4:5a1a)
dw ReviveText
dw RareCandyText
-PartyMenuMessagePointers: ; 11a2c (4:5a2c)
+PartyMenuMessagePointers:
dw PartyMenuNormalText
dw PartyMenuItemUseText
dw PartyMenuBattleText
@@ -261,65 +261,65 @@ PartyMenuMessagePointers: ; 11a2c (4:5a2c)
dw PartyMenuSwapMonText
dw PartyMenuItemUseText
-PartyMenuNormalText: ; 11a38 (4:5a38)
+PartyMenuNormalText:
TX_FAR _PartyMenuNormalText
db "@"
-PartyMenuItemUseText: ; 11a3d (4:5a3d)
+PartyMenuItemUseText:
TX_FAR _PartyMenuItemUseText
db "@"
-PartyMenuBattleText: ; 11a42 (4:5a42)
+PartyMenuBattleText:
TX_FAR _PartyMenuBattleText
db "@"
-PartyMenuUseTMText: ; 11a47 (4:5a47)
+PartyMenuUseTMText:
TX_FAR _PartyMenuUseTMText
db "@"
-PartyMenuSwapMonText: ; 11a4c (4:5a4c)
+PartyMenuSwapMonText:
TX_FAR _PartyMenuSwapMonText
db "@"
-PotionText: ; 11a51 (4:5a51)
+PotionText:
TX_FAR _PotionText
db "@"
-AntidoteText: ; 11a56 (4:5a56)
+AntidoteText:
TX_FAR _AntidoteText
db "@"
-ParlyzHealText: ; 11a5b (4:5a5b)
+ParlyzHealText:
TX_FAR _ParlyzHealText
db "@"
-BurnHealText: ; 11a60 (4:5a60)
+BurnHealText:
TX_FAR _BurnHealText
db "@"
-IceHealText: ; 11a65 (4:5a65)
+IceHealText:
TX_FAR _IceHealText
db "@"
-AwakeningText: ; 11a6a (4:5a6a)
+AwakeningText:
TX_FAR _AwakeningText
db "@"
-FullHealText: ; 11a6f (4:5a6f)
+FullHealText:
TX_FAR _FullHealText
db "@"
-ReviveText: ; 11a74 (4:5a74)
+ReviveText:
TX_FAR _ReviveText
db "@"
-RareCandyText: ; 11a79 (4:5a79)
+RareCandyText:
TX_FAR _RareCandyText
db $0B
db $06
db "@"
-SetPartyMenuHPBarColor: ; 11a80 (4:5a80)
+SetPartyMenuHPBarColor:
ld hl, wPartyMenuHPBarColors
ld a, [wWhichPartyMenuHPBar]
ld c, a
diff --git a/engine/menu/pc.asm b/engine/menu/pc.asm
index 373ae580..b31970c8 100755
--- a/engine/menu/pc.asm
+++ b/engine/menu/pc.asm
@@ -1,4 +1,4 @@
-ActivatePC: ; 17cb0 (5:7cb0)
+ActivatePC:
call SaveScreenTilesToBuffer2
ld a, SFX_TURN_ON_PC
call PlaySound
@@ -9,7 +9,7 @@ ActivatePC: ; 17cb0 (5:7cb0)
set 3, [hl]
call LoadScreenTilesFromBuffer2
call Delay3
-PCMainMenu: ; 17ccc (5:7ccc)
+PCMainMenu:
callba DisplayPCMainMenu
ld hl, wFlags_0xcd60
set 5, [hl]
@@ -58,19 +58,19 @@ PCMainMenu: ; 17ccc (5:7ccc)
call PrintText
callba PlayerPC
jr ReloadMainMenu
-OaksPC: ; 17d44 (5:7d44)
+OaksPC:
ld a, SFX_ENTER_PC
call PlaySound
call WaitForSoundToFinish
callba OpenOaksPC
jr ReloadMainMenu
-PKMNLeague: ; 17d56 (5:7d56)
+PKMNLeague:
ld a, SFX_ENTER_PC
call PlaySound
call WaitForSoundToFinish
callba PKMNLeaguePC
jr ReloadMainMenu
-BillsPC: ; 17d68 (5:7d68)
+BillsPC:
ld a, SFX_ENTER_PC
call PlaySound
call WaitForSoundToFinish
@@ -83,13 +83,13 @@ BillsPC: ; 17d68 (5:7d68)
.printText
call PrintText
callba BillsPC_
-ReloadMainMenu: ; 17d8a (5:7d8a)
+ReloadMainMenu:
xor a
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
call ReloadMapData
call UpdateSprites
jp PCMainMenu
-LogOff: ; 17d97 (5:7d97)
+LogOff:
ld a, SFX_TURN_OFF_PC
call PlaySound
call WaitForSoundToFinish
@@ -98,24 +98,24 @@ LogOff: ; 17d97 (5:7d97)
res 5, [hl]
ret
-TurnedOnPC1Text: ; 17da7 (5:7da7)
+TurnedOnPC1Text:
TX_FAR _TurnedOnPC1Text
db "@"
-AccessedBillsPCText: ; 17dac (5:7dac)
+AccessedBillsPCText:
TX_FAR _AccessedBillsPCText
db "@"
-AccessedSomeonesPCText: ; 17db1 (5:7db1)
+AccessedSomeonesPCText:
TX_FAR _AccessedSomeonesPCText
db "@"
-AccessedMyPCText: ; 17db6 (5:7db6)
+AccessedMyPCText:
TX_FAR _AccessedMyPCText
db "@"
; removes one of the specified item ID [hItemToRemoveID] from bag (if existent)
-RemoveItemByID: ; 17dbb (5:7dbb)
+RemoveItemByID:
ld hl, wBagItems
ld a, [hItemToRemoveID]
ld b, a
diff --git a/engine/menu/players_pc.asm b/engine/menu/players_pc.asm
index 38cdf2f6..1cc02cbf 100755
--- a/engine/menu/players_pc.asm
+++ b/engine/menu/players_pc.asm
@@ -1,4 +1,4 @@
-PlayerPC: ; 778e (1:778e)
+PlayerPC:
ld a, ITEM_NAME
ld [wNameListType], a
call SaveScreenTilesToBuffer1
@@ -14,7 +14,7 @@ PlayerPC: ; 778e (1:778e)
ld hl, TurnedOnPC2Text
call PrintText
-PlayerPCMenu: ; 790c (1:790c)
+PlayerPCMenu:
ld hl, wd730
set 6, [hl]
ld a, [wParentMenuItem]
@@ -61,7 +61,7 @@ PlayerPCMenu: ; 790c (1:790c)
dec a
jp z, PlayerPCToss
-ExitPlayerPC: ; 7814 (1:7814)
+ExitPlayerPC:
ld a, [wFlags_0xcd60]
bit 3, a ; accessing player's PC through another PC?
jr nz, .next
@@ -82,7 +82,7 @@ ExitPlayerPC: ; 7814 (1:7814)
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ret
-PlayerPCDeposit: ; 783c (1:783c)
+PlayerPCDeposit:
xor a
ld [wCurrentMenuItem], a
ld [wListScrollOffset], a
@@ -136,7 +136,7 @@ PlayerPCDeposit: ; 783c (1:783c)
call PrintText
jp .loop
-PlayerPCWithdraw: ; 78b9 (1:78b9)
+PlayerPCWithdraw:
xor a
ld [wCurrentMenuItem], a
ld [wListScrollOffset], a
@@ -190,7 +190,7 @@ PlayerPCWithdraw: ; 78b9 (1:78b9)
call PrintText
jp .loop
-PlayerPCToss: ; 7936 (1:7936)
+PlayerPCToss:
xor a
ld [wCurrentMenuItem], a
ld [wListScrollOffset], a
@@ -239,64 +239,64 @@ PlayerPCToss: ; 7936 (1:7936)
call TossItem ; disallows tossing key items
jp .loop
-PlayersPCMenuEntries: ; 799c (1:799c)
+PlayersPCMenuEntries:
db "WITHDRAW ITEM"
next "DEPOSIT ITEM"
next "TOSS ITEM"
next "LOG OFF@"
-TurnedOnPC2Text: ; 79c9 (1:79c9)
+TurnedOnPC2Text:
TX_FAR _TurnedOnPC2Text
db "@"
-WhatDoYouWantText: ; 79ce (1:79ce)
+WhatDoYouWantText:
TX_FAR _WhatDoYouWantText
db "@"
-WhatToDepositText: ; 79d3 (1:79d3)
+WhatToDepositText:
TX_FAR _WhatToDepositText
db "@"
-DepositHowManyText: ; 79d8 (1:79d8)
+DepositHowManyText:
TX_FAR _DepositHowManyText
db "@"
-ItemWasStoredText: ; 79dd (1:79dd)
+ItemWasStoredText:
TX_FAR _ItemWasStoredText
db "@"
-NothingToDepositText: ; 79e2 (1:79e2)
+NothingToDepositText:
TX_FAR _NothingToDepositText
db "@"
-NoRoomToStoreText: ; 79e7 (1:79e7)
+NoRoomToStoreText:
TX_FAR _NoRoomToStoreText
db "@"
-WhatToWithdrawText: ; 79ec (1:79ec)
+WhatToWithdrawText:
TX_FAR _WhatToWithdrawText
db "@"
-WithdrawHowManyText: ; 79f1 (1:79f1)
+WithdrawHowManyText:
TX_FAR _WithdrawHowManyText
db "@"
-WithdrewItemText: ; 79f6 (1:79f6)
+WithdrewItemText:
TX_FAR _WithdrewItemText
db "@"
-NothingStoredText: ; 79fb (1:79fb)
+NothingStoredText:
TX_FAR _NothingStoredText
db "@"
-CantCarryMoreText: ; 7a00 (1:7a00)
+CantCarryMoreText:
TX_FAR _CantCarryMoreText
db "@"
-WhatToTossText: ; 7a05 (1:7a05)
+WhatToTossText:
TX_FAR _WhatToTossText
db "@"
-TossHowManyText: ; 7a0a (1:7a0a)
+TossHowManyText:
TX_FAR _TossHowManyText
db "@"
diff --git a/engine/menu/pokedex.asm b/engine/menu/pokedex.asm
index 7715500b..5bc8f119 100755
--- a/engine/menu/pokedex.asm
+++ b/engine/menu/pokedex.asm
@@ -1,4 +1,4 @@
-ShowPokedexMenu: ; 40000 (10:4000)
+ShowPokedexMenu:
call GBPalWhiteOut
call ClearScreen
call UpdateSprites
@@ -61,7 +61,7 @@ ShowPokedexMenu: ; 40000 (10:4000)
; 00: showed pokemon data or area
; 01: the player chose Quit
; 02: the pokemon has not been seen yet or the player pressed the B button
-HandlePokedexSideMenu: ; 40070 (10:4070)
+HandlePokedexSideMenu:
call PlaceUnfilledArrowMenuCursor
ld a, [wCurrentMenuItem]
push af
@@ -179,7 +179,7 @@ HandlePokedexSideMenu: ; 40070 (10:4070)
; handles the list of pokemon on the left of the pokedex screen
; sets carry flag if player presses A, unsets carry flag if player presses B
-HandlePokedexListMenu: ; 40140 (10:4140)
+HandlePokedexListMenu:
call Pokedex_DrawInterface
.loop
call Pokedex_PlacePokemonList
@@ -255,7 +255,7 @@ HandlePokedexListMenu: ; 40140 (10:4140)
and a
ret
-Pokedex_DrawInterface: ; 401c2 (10:41c2)
+Pokedex_DrawInterface:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
; draw the horizontal line separating the seen and owned amounts from the menu
@@ -317,7 +317,7 @@ Pokedex_DrawInterface: ; 401c2 (10:41c2)
ld [wDexMaxSeenMon], a
ret
-DrawPokedexVerticalLine: ; 40243 (10:4243)
+DrawPokedexVerticalLine:
ld c, 9 ; height of line
ld de, SCREEN_WIDTH ; width of screen
ld a, $71 ; vertical line tile
@@ -329,23 +329,23 @@ DrawPokedexVerticalLine: ; 40243 (10:4243)
jr nz, .loop
ret
-PokedexSeenText: ; 40252 (10:4252)
+PokedexSeenText:
db "SEEN@"
-PokedexOwnText: ; 40257 (10:4257)
+PokedexOwnText:
db "OWN@"
-PokedexContentsText: ; 4025b (10:425b)
+PokedexContentsText:
db "CONTENTS@"
-PokedexMenuItemsText: ; 40264 (10:4264)
+PokedexMenuItemsText:
db "DATA"
next "CRY"
next "AREA"
next "PRNT"
next "QUIT@"
-Pokedex_PlacePokemonList: ; 4027c (10:427c)
+Pokedex_PlacePokemonList:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
coord hl, 4, 2
@@ -420,7 +420,7 @@ Pokedex_PlacePokemonList: ; 4027c (10:427c)
; INPUT:
; [wd11e] = pokedex number
; hl = address of bit field
-IsPokemonBitSet: ; 40303 (10:4303)
+IsPokemonBitSet:
ld a, [wd11e]
dec a
ld c, a
@@ -431,14 +431,14 @@ IsPokemonBitSet: ; 40303 (10:4303)
ret
; function to display pokedex data from outside the pokedex
-ShowPokedexData: ; 40312 (10:4312)
+ShowPokedexData:
call GBPalWhiteOutWithDelay3
call ClearScreen
call UpdateSprites
callab LoadPokedexTilePatterns ; load pokedex tiles
; function to display pokedex data from inside the pokedex
-ShowPokedexDataInternal: ; 40323 (10:4323)
+ShowPokedexDataInternal:
ld hl, wd72c
set 1, [hl]
ld a, $33 ; 3/7 volume
@@ -475,23 +475,23 @@ ShowPokedexDataInternal: ; 40323 (10:4323)
ld [rNR50], a
ret
-HeightWeightText: ; 40370 (10:4370)
+HeightWeightText:
db "HT ?", $60, "??", $61
next "WT ???lb@"
; XXX does anything point to this?
-PokeText: ; 40385 (10:4385)
+PokeText:
db "#@"
; horizontal line that divides the pokedex text description from the rest of the data
-PokedexDataDividerLine: ; 40387 (10:4387)
+PokedexDataDividerLine:
db $68, $69, $6B, $69, $6B
db $69, $6B, $69, $6B, $6B
db $6B, $6B, $69, $6B, $69
db $6B, $69, $6B, $69, $6A
db "@"
-DrawDexEntryOnScreen: ; 4039c (10:439c)
+DrawDexEntryOnScreen:
call ClearScreen
coord hl, 0, 0
@@ -649,9 +649,9 @@ DrawDexEntryOnScreen: ; 4039c (10:439c)
scf
ret
-Pokedex_PrintFlavorTextAtRow11: ; 404ae (10:44ae)
+Pokedex_PrintFlavorTextAtRow11:
coord bc, 1, 11
-Pokedex_PrintFlavorTextAtBC: ; 404b1 (10:44b1)
+Pokedex_PrintFlavorTextAtBC:
ld a, 2
ld [$fff9], a
call TextCommandProcessor ; print pokedex description text
@@ -659,7 +659,7 @@ Pokedex_PrintFlavorTextAtBC: ; 404b1 (10:44b1)
ld [$fff9], a
ret
-Pokedex_PrepareDexEntryForPrinting: ; 404bc (10:44bc)
+Pokedex_PrepareDexEntryForPrinting:
coord hl, 0, 0
ld de, SCREEN_WIDTH
lb bc, $66, $d
@@ -695,7 +695,7 @@ Pokedex_PrepareDexEntryForPrinting: ; 404bc (10:44bc)
; c = number of tile ID's to write
; de = amount to destination address after each tile (1 for horizontal, 20 for vertical)
; hl = destination address
-DrawTileLine: ; 40501 (10:4501)
+DrawTileLine:
push bc
push de
.loop
@@ -709,7 +709,7 @@ DrawTileLine: ; 40501 (10:4501)
INCLUDE "data/pokedex_entries.asm"
-PokedexToIndex: ; 41086 (10:5086)
+PokedexToIndex:
; converts the Pokédex number at wd11e to an index
push bc
push hl
@@ -730,7 +730,7 @@ PokedexToIndex: ; 41086 (10:5086)
pop bc
ret
-IndexToPokedex: ; 4109d (10:509d)
+IndexToPokedex:
; converts the indexédex number at wd11e to a Pokédex number
push bc
push hl
diff --git a/engine/menu/prize_menu.asm b/engine/menu/prize_menu.asm
index 0fedcca4..2a8dcb83 100755
--- a/engine/menu/prize_menu.asm
+++ b/engine/menu/prize_menu.asm
@@ -1,4 +1,4 @@
-CeladonPrizeMenu: ; 5267d (14:667d)
+CeladonPrizeMenu:
ld b,COIN_CASE
call IsItemInBag
jr nz,.havingCoinCase
@@ -41,20 +41,20 @@ CeladonPrizeMenu: ; 5267d (14:667d)
res 6, [hl]
ret
-RequireCoinCaseTextPtr: ; 526df (14:66df)
+RequireCoinCaseTextPtr:
TX_FAR _RequireCoinCaseText
db $0D
db "@"
-ExchangeCoinsForPrizesTextPtr: ; 526e5 (14:66e5)
+ExchangeCoinsForPrizesTextPtr:
TX_FAR _ExchangeCoinsForPrizesText
db "@"
-WhichPrizeTextPtr: ; 526ea (14:66ea)
+WhichPrizeTextPtr:
TX_FAR _WhichPrizeText
db "@"
-GetPrizeMenuId: ; 526ef (14:66ef)
+GetPrizeMenuId:
; determine which one among the three
; prize-texts has been selected
; using the text ID (stored in [hSpriteIndexOrTextID])
@@ -144,12 +144,12 @@ GetPrizeMenuId: ; 526ef (14:66ef)
ld c, (1 << 7 | 2)
jp PrintBCDNumber
-NoThanksText: ; 527a4 (14:67a4)
+NoThanksText:
db "NO THANKS@"
INCLUDE "data/prizes.asm"
-PrintPrizePrice: ; 527db (14:67db)
+PrintPrizePrice:
coord hl, 11, 0
lb bc, 1, 7
call TextBoxBorder
@@ -166,13 +166,13 @@ PrintPrizePrice: ; 527db (14:67db)
call PrintBCDNumber
ret
-CoinString: ; 52805 (14:6805)
+CoinString:
db "COIN@"
-SixSpacesString: ; 5280a (14:680a)
+SixSpacesString:
db " @"
-LoadCoinsToSubtract: ; 52811 (14:6811)
+LoadCoinsToSubtract:
ld a,[wWhichPrize]
add a
ld d, $0
@@ -187,7 +187,7 @@ LoadCoinsToSubtract: ; 52811 (14:6811)
ld [hCoins + 1], a
ret
-HandlePrizeChoice: ; 52826 (14:6826)
+HandlePrizeChoice:
ld a, [wCurrentMenuItem]
ld [wWhichPrize], a
ld d, $0
@@ -261,35 +261,35 @@ HandlePrizeChoice: ; 52826 (14:6826)
ld hl,OhFineThenTextPtr
jp PrintText
-UnknownData528b1: ; 528b1 (14:68b1)
+UnknownData528b1:
; XXX what's this?
db $00,$01,$00,$01,$00,$01,$00,$00,$01
-HereYouGoTextPtr: ; 528ca (14:68ba)
+HereYouGoTextPtr:
TX_FAR _HereYouGoText
db $0D
db "@"
-SoYouWantPrizeTextPtr: ; 528c0 (14:68c0)
+SoYouWantPrizeTextPtr:
TX_FAR _SoYouWantPrizeText
db "@"
-SorryNeedMoreCoinsText: ; 528c5 (14:68c5)
+SorryNeedMoreCoinsText:
TX_FAR _SorryNeedMoreCoinsText
db $0D
db "@"
-PrizeRoomBagIsFullTextPtr: ; 528cb (14:68cb)
+PrizeRoomBagIsFullTextPtr:
TX_FAR _OopsYouDontHaveEnoughRoomText
db $0D
db "@"
-OhFineThenTextPtr: ; 528d1 (14:68d1)
+OhFineThenTextPtr:
TX_FAR _OhFineThenText
db $0D ; wait keypress (A/B) without blink
db "@"
-GetPrizeMonLevel: ; 528d7 (14:68d7)
+GetPrizeMonLevel:
ld a, [wcf91]
ld b, a
ld hl, PrizeMonLevelDictionary
diff --git a/engine/menu/start_menu.asm b/engine/menu/start_menu.asm
index 3eeb1c07..16a9973d 100755
--- a/engine/menu/start_menu.asm
+++ b/engine/menu/start_menu.asm
@@ -1,13 +1,13 @@
-DisplayStartMenu:: ; 29d1 (0:29d1)
+DisplayStartMenu::
switchbank StartMenu_Pokedex ; also bank for other functions
ld a, [wWalkBikeSurfState] ; walking/biking/surfing
ld [wWalkBikeSurfStateCopy], a
ld a, $8f ; (SFX_02_3f - SFX_Headers_02) / 3 ; Start menu sound
call PlaySound
-RedisplayStartMenu:: ; 29e1 (0:29e1)
+RedisplayStartMenu::
callba DrawStartMenu
-RedisplayStartMenu_DoNotDrawStartMenu: ; 29e9 (0:29e9)
+RedisplayStartMenu_DoNotDrawStartMenu:
callba PrintSafariZoneSteps ; print Safari Zone info, if in Safari Zone
call UpdateSprites
.loop
@@ -75,7 +75,7 @@ RedisplayStartMenu_DoNotDrawStartMenu: ; 29e9 (0:29e9)
jp z, StartMenu_Option
; EXIT falls through to here
-CloseStartMenu:: ; 2a72 (0:2a72)
+CloseStartMenu::
call Joypad
ld a, [hJoyPressed]
bit 0, a ; was A button newly pressed?
diff --git a/engine/menu/start_sub_menus.asm b/engine/menu/start_sub_menus.asm
index 792903b7..fc553d93 100755
--- a/engine/menu/start_sub_menus.asm
+++ b/engine/menu/start_sub_menus.asm
@@ -1,4 +1,4 @@
-StartMenu_Pokedex: ; 11c22 (4:5c22)
+StartMenu_Pokedex:
predef ShowPokedexMenu
call LoadScreenTilesFromBuffer2 ; restore saved screen
call Delay3
@@ -6,7 +6,7 @@ StartMenu_Pokedex: ; 11c22 (4:5c22)
call UpdateSprites
jp RedisplayStartMenu
-StartMenu_Pokemon: ; 11c36 (4:5c36)
+StartMenu_Pokemon:
ld a,[wPartyCount]
and a
jp z,RedisplayStartMenu
@@ -301,7 +301,7 @@ StartMenu_Pokemon: ; 11c36 (4:5c36)
db "@"
; writes a blank tile to all possible menu cursor positions on the party menu
-ErasePartyMenuCursors: ; 11e98 (4:5e98)
+ErasePartyMenuCursors:
coord hl, 0, 1
ld bc,2 * 20 ; menu cursor positions are 2 rows apart
ld a,6 ; 6 menu cursor positions
@@ -312,11 +312,11 @@ ErasePartyMenuCursors: ; 11e98 (4:5e98)
jr nz,.loop
ret
-ItemMenuLoop: ; 11ea7 (4:5ea7)
+ItemMenuLoop:
call LoadScreenTilesFromBuffer2DisableBGTransfer ; restore saved screen
call RunDefaultPaletteCommand
-StartMenu_Item: ; 11ead (4:5ead)
+StartMenu_Item:
ld a,[wLinkState]
dec a ; is the player in the Colosseum or Trade Centre?
jr nz,.notInCableClubRoom
@@ -454,16 +454,16 @@ StartMenu_Item: ; 11ead (4:5ead)
.tossZeroItems
jp ItemMenuLoop
-CannotUseItemsHereText: ; 11fd4 (4:5fd4)
+CannotUseItemsHereText:
TX_FAR _CannotUseItemsHereText
db "@"
-CannotGetOffHereText: ; 11fd9 (4:5fd9)
+CannotGetOffHereText:
TX_FAR _CannotGetOffHereText
db "@"
; items which bring up the party menu when used
-UsableItems_PartyMenu: ; 11fde (4:5fde)
+UsableItems_PartyMenu:
db MOON_STONE
db ANTIDOTE
db BURN_HEAL
@@ -503,7 +503,7 @@ UsableItems_PartyMenu: ; 11fde (4:5fde)
db $ff
; items which close the item menu when used
-UsableItems_CloseMenu: ; 12003 (4:6003)
+UsableItems_CloseMenu:
db ESCAPE_ROPE
db ITEMFINDER
db POKE_FLUTE
@@ -512,7 +512,7 @@ UsableItems_CloseMenu: ; 12003 (4:6003)
db SUPER_ROD
db $ff
-StartMenu_TrainerInfo: ; 1200a (4:600a)
+StartMenu_TrainerInfo:
call GBPalWhiteOut
call ClearScreen
call UpdateSprites
@@ -538,7 +538,7 @@ StartMenu_TrainerInfo: ; 1200a (4:600a)
jp RedisplayStartMenu_DoNotDrawStartMenu
; loads tile patterns and draws everything except for gym leader faces / badges
-DrawTrainerInfo: ; 1204c (4:604c)
+DrawTrainerInfo:
ld de,RedPicFront
lb bc, BANK(RedPicFront), $01
predef DisplayPicCenteredOrUpperRight
@@ -627,17 +627,17 @@ DrawTrainerInfo: ; 1204c (4:604c)
lb bc, LEADING_ZEROES | 1, 2
jp PrintNumber
-TrainerInfo_FarCopyData: ; 12131 (4:6131)
+TrainerInfo_FarCopyData:
ld a,BANK(TrainerInfoTextBoxTileGraphics)
jp FarCopyData
-TrainerInfo_NameMoneyTimeText: ; 12136 (4:6136)
+TrainerInfo_NameMoneyTimeText:
db "NAME/"
next "MONEY/"
next "TIME/@"
; $76 is a circle tile
-TrainerInfo_BadgesText: ; 12149 (4:6149)
+TrainerInfo_BadgesText:
db $76,"BADGES",$76,"@"
; draws a text box on the trainer info screen
@@ -647,7 +647,7 @@ TrainerInfo_BadgesText: ; 12149 (4:6149)
; [wTrainerInfoTextBoxWidthPlus1] = width
; [wTrainerInfoTextBoxWidth] = width - 1
; [wTrainerInfoTextBoxNextRowOffset] = distance from the end of a text box row to the start of the next
-TrainerInfo_DrawTextBox: ; 12152 (4:6152)
+TrainerInfo_DrawTextBox:
ld a,$79 ; upper left corner tile ID
lb de, $7a, $7b ; top edge and upper right corner tile ID's
call TrainerInfo_DrawHorizontalEdge ; draw top edge
@@ -666,7 +666,7 @@ TrainerInfo_DrawTextBox: ; 12152 (4:6152)
ld a,$7d ; lower left corner tile ID
lb de,$77, $7e ; bottom edge and lower right corner tile ID's
-TrainerInfo_DrawHorizontalEdge: ; 12175 (4:6175)
+TrainerInfo_DrawHorizontalEdge:
ld [hli],a ; place left corner tile
ld a,[wTrainerInfoTextBoxWidth]
ld c,a
@@ -679,7 +679,7 @@ TrainerInfo_DrawHorizontalEdge: ; 12175 (4:6175)
ld [hl],a ; place right corner tile
ret
-TrainerInfo_NextTextBoxRow: ; 12182 (4:6182)
+TrainerInfo_NextTextBoxRow:
ld a,[wTrainerInfoTextBoxNextRowOffset] ; distance to the start of the next row
.loop
inc hl
@@ -691,7 +691,7 @@ TrainerInfo_NextTextBoxRow: ; 12182 (4:6182)
; INPUT:
; hl = address of top tile in the line
; a = tile ID
-TrainerInfo_DrawVerticalLine: ; 1218a (4:618a)
+TrainerInfo_DrawVerticalLine:
ld de,20
ld c,8
.loop
@@ -701,7 +701,7 @@ TrainerInfo_DrawVerticalLine: ; 1218a (4:618a)
jr nz,.loop
ret
-StartMenu_SaveReset: ; 12195 (4:6195)
+StartMenu_SaveReset:
ld a,[wd72e]
bit 6,a ; is the player using the link feature?
jp nz,Init
@@ -709,7 +709,7 @@ StartMenu_SaveReset: ; 12195 (4:6195)
call LoadScreenTilesFromBuffer2 ; restore saved screen
jp HoldTextDisplayOpen
-StartMenu_Option: ; 121a9 (4:61a9)
+StartMenu_Option:
xor a
ld [H_AUTOBGTRANSFERENABLED],a
call ClearScreen
@@ -720,7 +720,7 @@ StartMenu_Option: ; 121a9 (4:61a9)
call UpdateSprites
jp RedisplayStartMenu
-SwitchPartyMon: ; 121c5 (4:61c5)
+SwitchPartyMon:
call SwitchPartyMon_InitVarOrSwapData ; swap data
ld a, [wSwappedMenuItem]
call SwitchPartyMon_ClearGfx
@@ -728,7 +728,7 @@ SwitchPartyMon: ; 121c5 (4:61c5)
call SwitchPartyMon_ClearGfx
jp RedrawPartyMenu_
-SwitchPartyMon_ClearGfx: ; 121d7 (4:61d7)
+SwitchPartyMon_ClearGfx:
push af
coord hl, 0, 0
ld bc, SCREEN_WIDTH * 2
@@ -754,7 +754,7 @@ SwitchPartyMon_ClearGfx: ; 121d7 (4:61d7)
ld a, SFX_SWAP
jp PlaySound
-SwitchPartyMon_InitVarOrSwapData: ; 12205 (4:6205)
+SwitchPartyMon_InitVarOrSwapData:
; This is used to initialise [wMenuItemToSwap] and to actually swap the data.
ld a, [wMenuItemToSwap]
and a ; has [wMenuItemToSwap] been initialised yet?
diff --git a/engine/menu/status_screen.asm b/engine/menu/status_screen.asm
index 719cacd1..932d206a 100755
--- a/engine/menu/status_screen.asm
+++ b/engine/menu/status_screen.asm
@@ -1,15 +1,15 @@
-DrawHP: ; 11468 (4:5468)
+DrawHP:
; Draws the HP bar in the stats screen
call GetPredefRegisters
ld a, $1
jr DrawHP_
-DrawHP2: ; 1146f (4:546f)
+DrawHP2:
; Draws the HP bar in the party screen
call GetPredefRegisters
ld a, $2
-DrawHP_: ; 11474 (4:5474)
+DrawHP_:
ld [wHPBarType], a
push hl
ld a, [wLoadedMonHP]
@@ -63,7 +63,7 @@ DrawHP_: ; 11474 (4:5474)
; Predef 0x37
-StatusScreen: ; 114cc (4:54cc)
+StatusScreen:
call LoadMonData
ld a, [wMonDataLocation]
cp BOX_DATA
@@ -209,38 +209,38 @@ StatusScreen: ; 114cc (4:54cc)
ld a, [wWhichPokemon]
jp SkipFixedLengthTextEntries
-OTPointers: ; 1163b (4:563b)
+OTPointers:
dw wPartyMonOT
dw wEnemyMonOT
dw wBoxMonOT
dw wDayCareMonOT
-NamePointers2: ; 11643 (4:5643)
+NamePointers2:
dw wPartyMonNicks
dw wEnemyMonNicks
dw wBoxMonNicks
dw wDayCareMonName
-Type1Text: ; 1164b (4:564b)
+Type1Text:
db "TYPE1/", $4e
-Type2Text: ; 11652 (4:5652)
+Type2Text:
db "TYPE2/", $4e
-IDNoText: ; 11659 (4:5659)
+IDNoText:
db $73, "№", "/", $4e
-OTText: ; 1165d (4:565d)
+OTText:
db "OT/", $4e, "@"
-StatusText: ; 11662 (4:5662)
+StatusText:
db "STATUS/@"
-OKText: ; 1166a (4:566a)
+OKText:
db "OK@"
; Draws a line starting from hl high b and wide c
-DrawLineBox: ; 1166d (4:566d)
+DrawLineBox:
ld de, SCREEN_WIDTH ; New line
.PrintVerticalLine
ld [hl], $78 ; │
@@ -261,7 +261,7 @@ PTile: ; 11682 (4:5682) ; This is a single 1bpp "P" tile
INCBIN "gfx/p_tile.1bpp"
PTileEnd:
-PrintStatsBox: ; 1168a (4:568a)
+PrintStatsBox:
ld a, d
and a ; a is 0 from the status screen
jr nz, .DifferentBox
@@ -294,7 +294,7 @@ PrintStatsBox: ; 1168a (4:568a)
call PrintStat
ld de, wLoadedMonSpecial
jp PrintNumber
-PrintStat: ; 116d4 (4:56d4)
+PrintStat:
push hl
call PrintNumber
pop hl
@@ -302,13 +302,13 @@ PrintStat: ; 116d4 (4:56d4)
add hl, de
ret
-StatsText: ; 116de (4:56de)
+StatsText:
db "ATTACK"
next "DEFENSE"
next "SPEED"
next "SPECIAL@"
-StatusScreen2: ; 116fb (4:56fb)
+StatusScreen2:
ld a, [hTilesetType]
push af
xor a
@@ -449,7 +449,7 @@ StatusScreen2: ; 116fb (4:56fb)
call GBPalWhiteOut
jp ClearScreen
-CalcExpToLevelUp: ; 11829 (4:5829)
+CalcExpToLevelUp:
ld a, [wLoadedMonLevel]
cp MAX_LEVEL
jr z, .atMaxLevel
@@ -475,16 +475,16 @@ CalcExpToLevelUp: ; 11829 (4:5829)
ld [hl], a
ret
-StatusScreenExpText: ; 11852 (4:5852)
+StatusScreenExpText:
db "EXP POINTS"
next "LEVEL UP@"
-StatusScreen_ClearName: ; 11866 (4:5866)
+StatusScreen_ClearName:
ld bc, 10
ld a, " "
jp FillMemory
-StatusScreen_PrintPP: ; 1186e (4:586e)
+StatusScreen_PrintPP:
; print PP or -- c times, going down two rows each time
ld [hli], a
ld [hld], a
diff --git a/engine/menu/swap_items.asm b/engine/menu/swap_items.asm
index bcadc453..b1fa78be 100644
--- a/engine/menu/swap_items.asm
+++ b/engine/menu/swap_items.asm
@@ -1,4 +1,4 @@
-HandleItemListSwapping: ; 68c9 (1:68c9)
+HandleItemListSwapping:
ld a,[wListMenuID]
cp a,ITEMLISTMENU
jp nz,DisplayListMenuIDLoop ; only rearrange item list menus
diff --git a/engine/menu/text_ids1.asm b/engine/menu/text_ids1.asm
index e9f2a4d7..e2fd76f4 100644
--- a/engine/menu/text_ids1.asm
+++ b/engine/menu/text_ids1.asm
@@ -1,5 +1,5 @@
; function that performs initialization for DisplayTextID
-DisplayTextIDInit: ; 6f0e (1:6f0e)
+DisplayTextIDInit:
xor a
ld [wListMenuID],a
ld a,[wAutoTextBoxDrawingControl]
@@ -75,7 +75,7 @@ DisplayTextIDInit: ; 6f0e (1:6f0e)
ret
; function that displays the start menu
-DrawStartMenu: ; 6f80 (1:6f80)
+DrawStartMenu:
CheckEvent EVENT_GOT_POKEDEX
; menu with pokedex
coord hl, 10, 0
@@ -133,31 +133,31 @@ DrawStartMenu: ; 6f80 (1:6f80)
res 6,[hl] ; turn pauses between printing letters back on
ret
-StartMenuPokedexText: ; 7002 (1:7002)
+StartMenuPokedexText:
db "POKéDEX@"
-StartMenuPokemonText: ; 700a (1:700a)
+StartMenuPokemonText:
db "#MON@"
-StartMenuItemText: ; 700f (1:700f)
+StartMenuItemText:
db "ITEM@"
-StartMenuSaveText: ; 7014 (1:7014)
+StartMenuSaveText:
db "SAVE@"
-StartMenuResetText: ; 7019 (1:7019)
+StartMenuResetText:
db "RESET@"
-StartMenuExitText: ; 701f (1:701f)
+StartMenuExitText:
db "EXIT@"
-StartMenuOptionText: ; 7024 (1:7024)
+StartMenuOptionText:
db "OPTION@"
-PrintStartMenuItem: ; 702b (1:702b)
+PrintStartMenuItem:
push hl
call PlaceString
pop hl
ld de,SCREEN_WIDTH * 2
add hl,de
- ret \ No newline at end of file
+ ret
diff --git a/engine/menu/text_ids2.asm b/engine/menu/text_ids2.asm
index 15a43d5f..fbac3986 100644
--- a/engine/menu/text_ids2.asm
+++ b/engine/menu/text_ids2.asm
@@ -1,5 +1,5 @@
; function to draw various text boxes
-DisplayTextBoxID_: ; 71bf (1:71bf)
+DisplayTextBoxID_:
ld a,[wTextBoxID]
cp a,TWO_OPTION_MENU
jp z,DisplayTwoOptionMenu
@@ -50,7 +50,7 @@ DisplayTextBoxID_: ; 71bf (1:71bf)
; function to search a table terminated with $ff for a byte matching c in increments of de
; sets carry flag if a match is found and clears carry flag if not
-SearchTextBoxTable: ; 7221 (1:7221)
+SearchTextBoxTable:
dec de
.loop
ld a,[hli]
@@ -73,7 +73,7 @@ SearchTextBoxTable: ; 7221 (1:7221)
; c = width
; d = row of upper left corner
; e = column of upper left corner
-GetTextBoxIDCoords: ; 722f (1:722f)
+GetTextBoxIDCoords:
ld a,[hli] ; column of upper left corner
ld e,a
ld a,[hli] ; row of upper left corner
@@ -89,7 +89,7 @@ GetTextBoxIDCoords: ; 722f (1:722f)
ret
; function to load a text address and text coordinates from the TextBoxTextAndCoordTable
-GetTextBoxIDText: ; 723c (1:723c)
+GetTextBoxIDText:
ld a,[hli]
ld e,a
ld a,[hli]
@@ -109,7 +109,7 @@ GetTextBoxIDText: ; 723c (1:723c)
; e = column
; OUTPUT:
; hl = address of upper left corner of text box
-GetAddressOfScreenCoords: ; 724a (1:724a)
+GetAddressOfScreenCoords:
push bc
coord hl, 0, 0
ld bc,20
@@ -128,7 +128,7 @@ GetAddressOfScreenCoords: ; 724a (1:724a)
; Format:
; 00: text box ID
; 01-02: function address
-TextBoxFunctionTable: ; 725c (1:725c)
+TextBoxFunctionTable:
dbw MONEY_BOX, DisplayMoneyBox
dbw BUY_SELL_QUIT_MENU, DoBuySellQuitMenu
dbw FIELD_MOVE_MON_MENU, DisplayFieldMoveMonMenu
@@ -140,7 +140,7 @@ TextBoxFunctionTable: ; 725c (1:725c)
; 02: row of upper left corner
; 03: column of lower right corner
; 04: row of lower right corner
-TextBoxCoordTable: ; 7266 (1:7266)
+TextBoxCoordTable:
db MESSAGE_BOX, 0, 12, 19, 17
db $03, 0, 0, 19, 14
db $07, 0, 0, 11, 6
@@ -159,7 +159,7 @@ TextBoxCoordTable: ; 7266 (1:7266)
; 07: column of beginning of text
; 08: row of beginning of text
; table of window positions and corresponding text [key, start column, start row, end column, end row, text pointer [2 bytes], text column, text row]
-TextBoxTextAndCoordTable: ; 7285 (1:7285)
+TextBoxTextAndCoordTable:
db JP_MOCHIMONO_MENU_TEMPLATE
db 0,0,14,17 ; text box coordinates
dw JapaneseMochimonoText
@@ -217,56 +217,56 @@ TextBoxTextAndCoordTable: ; 7285 (1:7285)
; note that there is no terminator
-BuySellQuitText: ; 72e8 (1:72e8)
+BuySellQuitText:
db "BUY"
next "SELL"
next "QUIT@@"
-UseTossText: ; 72f7 (1:72f7)
+UseTossText:
db "USE"
next "TOSS@"
-JapaneseSaveMessageText: ; 7300 (1:7300)
+JapaneseSaveMessageText:
db "きろく"
next "メッセージ@"
-JapaneseSpeedOptionsText: ; 7309 (1:7309)
+JapaneseSpeedOptionsText:
db "はやい"
next "おそい@"
-MoneyText: ; 7312 (1:7312)
+MoneyText:
db "MONEY@"
-JapaneseMochimonoText: ; 7318 (1:7318)
+JapaneseMochimonoText:
db "もちもの@"
-JapaneseMainMenuText: ; 731d (1:731d)
+JapaneseMainMenuText:
db "つづきから"
next "さいしょから@"
-BattleMenuText: ; 732a (1:732a)
+BattleMenuText:
db "FIGHT ",$E1,$E2
next "ITEM RUN@"
-SafariZoneBattleMenuText: ; 733d (1:733d)
+SafariZoneBattleMenuText:
db "BALL× BAIT"
next "THROW ROCK RUN@"
-SwitchStatsCancelText: ; 735e (1:735e)
+SwitchStatsCancelText:
db "SWITCH"
next "STATS"
next "CANCEL@"
-JapaneseAhText: ; 7372 (1:7372)
+JapaneseAhText:
db "アッ!@"
-JapanesePokedexMenu: ; 7376 (1:7376)
+JapanesePokedexMenu:
db "データをみる"
next "なきごえ"
next "ぶんぷをみる"
next "キャンセル@"
-DisplayMoneyBox: ; 738f (1:738f)
+DisplayMoneyBox:
ld hl, wd730
set 6, [hl]
ld a, MONEY_BOX_TEMPLATE
@@ -283,10 +283,10 @@ DisplayMoneyBox: ; 738f (1:738f)
res 6, [hl]
ret
-CurrencyString: ; 73b6 (1:73b6)
+CurrencyString:
db " ¥@"
-DoBuySellQuitMenu: ; 73be (1:73be)
+DoBuySellQuitMenu:
ld a, [wd730]
set 6, a ; no printing delay
ld [wd730], a
@@ -341,7 +341,7 @@ DoBuySellQuitMenu: ; 73be (1:73be)
; b = Y of upper left corner of text region
; c = X of upper left corner of text region
; hl = address where the text box border should be drawn
-DisplayTwoOptionMenu: ; 742d (1:742d)
+DisplayTwoOptionMenu:
push hl
ld a, [wd730]
set 6, a ; no printing delay
@@ -452,7 +452,7 @@ DisplayTwoOptionMenu: ; 742d (1:742d)
; they cover be fully saved/restored by the two functions below.
; The bottom and right edges of the menu may remain after the function returns.
-TwoOptionMenu_SaveScreenTiles: ; 74e7 (1:74e7)
+TwoOptionMenu_SaveScreenTiles:
ld de, wBuffer
lb bc, 5, 6
.loop
@@ -470,7 +470,7 @@ TwoOptionMenu_SaveScreenTiles: ; 74e7 (1:74e7)
jr nz, .loop
ret
-TwoOptionMenu_RestoreScreenTiles: ; 74ff (1:74ff)
+TwoOptionMenu_RestoreScreenTiles:
ld de, wBuffer
lb bc, 5, 6
.loop
@@ -494,7 +494,7 @@ TwoOptionMenu_RestoreScreenTiles: ; 74ff (1:74ff)
; 01: byte height
; 02: byte put blank line before first menu item
; 03: word text pointer
-TwoOptionMenuStrings: ; 751a (1:751a)
+TwoOptionMenuStrings:
db 4,3,0
dw .YesNoMenu
db 6,3,0
@@ -527,7 +527,7 @@ TwoOptionMenuStrings: ; 751a (1:751a)
.HealCancelMenu ; 757e (1:757e)
db "HEAL",$4E,"CANCEL@"
-DisplayFieldMoveMonMenu: ; 758a (1:758a)
+DisplayFieldMoveMonMenu:
xor a
ld hl, wFieldMoves
ld [hli], a ; wFieldMoves
@@ -646,7 +646,7 @@ DisplayFieldMoveMonMenu: ; 758a (1:758a)
ld de, PokemonMenuEntries
jp PlaceString
-FieldMoveNames: ; 7635 (1:7635)
+FieldMoveNames:
db "CUT@"
db "FLY@"
db "@"
@@ -657,12 +657,12 @@ FieldMoveNames: ; 7635 (1:7635)
db "TELEPORT@"
db "SOFTBOILED@"
-PokemonMenuEntries: ; 766a (1:766a)
+PokemonMenuEntries:
db "STATS"
next "SWITCH"
next "CANCEL@"
-GetMonFieldMoves: ; 767e (1:767e)
+GetMonFieldMoves:
ld a, [wWhichPokemon]
ld hl, wPartyMon1Moves
ld bc, wPartyMon2 - wPartyMon1
@@ -719,7 +719,7 @@ GetMonFieldMoves: ; 767e (1:767e)
; Name index = index of name in FieldMoveNames
; Leftmost tile = -1 + tile column in which the first letter of the move's name should be displayed
; "SOFTBOILED" is $08 because it has 4 more letters than "SURF", for example, whose value is $0C
-FieldMoveDisplayData: ; 76cb (1:76cb)
+FieldMoveDisplayData:
db CUT, $01, $0C
db FLY, $02, $0C
db $B4, $03, $0C ; unused field move
@@ -730,4 +730,4 @@ FieldMoveDisplayData: ; 76cb (1:76cb)
db TELEPORT, $08, $0A
db SOFTBOILED, $09, $08
db $ff ; list terminator
- \ No newline at end of file
+
diff --git a/engine/menu/vending_machine.asm b/engine/menu/vending_machine.asm
index 74a6aadb..d864141d 100755
--- a/engine/menu/vending_machine.asm
+++ b/engine/menu/vending_machine.asm
@@ -1,4 +1,4 @@
-VendingMachineMenu: ; 74726 (1d:4726)
+VendingMachineMenu:
ld hl, VendingMachineText1
call PrintText
ld a, MONEY_BOX
@@ -79,38 +79,38 @@ VendingMachineMenu: ; 74726 (1d:4726)
ld hl, VendingMachineText7
jp PrintText
-VendingMachineText1: ; 747de (1d:47de)
+VendingMachineText1:
TX_FAR _VendingMachineText1
db "@"
-DrinkText: ; 747e3 (1d:47e3)
+DrinkText:
db "FRESH WATER"
next "SODA POP"
next "LEMONADE"
next "CANCEL@"
-DrinkPriceText: ; 74808 (1d:4808)
+DrinkPriceText:
db "¥200"
next "¥300"
next "¥350",$4E,"@"
-VendingMachineText4: ; 74818 (1d:4818)
+VendingMachineText4:
TX_FAR _VendingMachineText4
db "@"
-VendingMachineText5: ; 7481d (1d:481d)
+VendingMachineText5:
TX_FAR _VendingMachineText5
db "@"
-VendingMachineText6: ; 74822 (1d:4822)
+VendingMachineText6:
TX_FAR _VendingMachineText6
db "@"
-VendingMachineText7: ; 74827 (1d:4827)
+VendingMachineText7:
TX_FAR _VendingMachineText7
db "@"
-LoadVendingMachineItem: ; 7482c (1d:482c)
+LoadVendingMachineItem:
ld hl, VendingPrices
ld a, [wCurrentMenuItem]
add a
@@ -128,7 +128,7 @@ LoadVendingMachineItem: ; 7482c (1d:482c)
ld [hVendingMachinePrice + 2], a
ret
-VendingPrices: ; 74845 (1d:4845)
+VendingPrices:
db FRESH_WATER
money 200
db SODA_POP
diff --git a/engine/mon_party_sprites.asm b/engine/mon_party_sprites.asm
index b4091d9c..2e588aa4 100755
--- a/engine/mon_party_sprites.asm
+++ b/engine/mon_party_sprites.asm
@@ -1,4 +1,4 @@
-AnimatePartyMon_ForceSpeed1: ; 71784 (1c:5784)
+AnimatePartyMon_ForceSpeed1:
xor a
ld [wCurrentMenuItem], a
ld b, a
@@ -9,7 +9,7 @@ AnimatePartyMon_ForceSpeed1: ; 71784 (1c:5784)
; 0: green
; 1: yellow
; 2: red
-AnimatePartyMon: ; 7178c (1c:578c)
+AnimatePartyMon:
ld hl, wPartyMenuHPBarColors
ld a, [wCurrentMenuItem]
ld c, a
@@ -17,7 +17,7 @@ AnimatePartyMon: ; 7178c (1c:578c)
add hl, bc
ld a, [hl]
-GetAnimationSpeed: ; 71797 (1c:5797)
+GetAnimationSpeed:
ld c, a
ld hl, PartyMonSpeeds
add hl, bc
@@ -85,15 +85,15 @@ GetAnimationSpeed: ; 71797 (1c:5797)
; The members of the PartyMonSpeeds array specify the number of V-blanks
; that each frame lasts for green HP, yellow HP, and red HP in order.
; On the naming screen, the yellow HP speed is always used.
-PartyMonSpeeds: ; 717f6 (1c:57f6)
+PartyMonSpeeds:
db 5, 16, 32
-LoadMonPartySpriteGfx: ; 717f9 (1c:57f9)
+LoadMonPartySpriteGfx:
; Load mon party sprite tile patterns into VRAM during V-blank.
ld hl, MonPartySpritePointers
ld a, $1e
-LoadAnimSpriteGfx: ; 717fe (1c:57fe)
+LoadAnimSpriteGfx:
; Load animated sprite tile patterns into VRAM during V-blank. hl is the address
; of an array of structures that contain arguments for CopyVideoData and a is
; the number of structures in the array.
@@ -125,7 +125,7 @@ LoadAnimSpriteGfx: ; 717fe (1c:57fe)
jr nz, .loop
ret
-LoadMonPartySpriteGfxWithLCDDisabled: ; 7181e (1c:581e)
+LoadMonPartySpriteGfxWithLCDDisabled:
; Load mon party sprite tile patterns into VRAM immediately by disabling the
; LCD.
call DisableLCD
@@ -162,7 +162,7 @@ LoadMonPartySpriteGfxWithLCDDisabled: ; 7181e (1c:581e)
jr nz, .loop
jp EnableLCD
-MonPartySpritePointers: ; 7184d (1c:584d)
+MonPartySpritePointers:
dw SlowbroSprite + $c0
db $40 / $10 ; 40 bytes
db BANK(SlowbroSprite)
@@ -313,7 +313,7 @@ MonPartySpritePointers: ; 7184d (1c:584d)
db BANK(MonPartySprites)
dw vSprites + $780
-WriteMonPartySpriteOAMByPartyIndex: ; 71901 (1c:5901)
+WriteMonPartySpriteOAMByPartyIndex:
; Write OAM blocks for the party mon in [hPartyMonIndex].
push hl
push de
@@ -344,7 +344,7 @@ WriteMonPartySpriteOAMByPartyIndex: ; 71901 (1c:5901)
pop hl
ret
-WriteMonPartySpriteOAMBySpecies: ; 7192f (1c:592f)
+WriteMonPartySpriteOAMBySpecies:
; Write OAM blocks for the party sprite of the species in
; [wMonPartySpriteSpecies].
xor a
@@ -354,7 +354,7 @@ WriteMonPartySpriteOAMBySpecies: ; 7192f (1c:592f)
ld [wOAMBaseTile], a
jr WriteMonPartySpriteOAM
-UnusedPartyMonSpriteFunction: ; 7193d (1c:593d)
+UnusedPartyMonSpriteFunction:
; This function is unused and doesn't appear to do anything useful. It looks
; like it may have been intended to load the tile patterns and OAM data for
; the mon party sprite associated with the species in [wcf91].
@@ -392,7 +392,7 @@ UnusedPartyMonSpriteFunction: ; 7193d (1c:593d)
pop hl
jp CopyVideoData
-WriteMonPartySpriteOAM: ; 71970 (1c:5970)
+WriteMonPartySpriteOAM:
; Write the OAM blocks for the first animation frame into the OAM buffer and
; make a copy at wMonPartySpritesSavedOAM.
push af
@@ -418,7 +418,7 @@ WriteMonPartySpriteOAM: ; 71970 (1c:5970)
ld bc, $60
jp CopyData
-GetPartyMonSpriteID: ; 71996 (1c:5996)
+GetPartyMonSpriteID:
ld [wd11e], a
predef IndexToPokedex
ld a, [wd11e]
@@ -441,5 +441,5 @@ GetPartyMonSpriteID: ; 71996 (1c:5996)
INCLUDE "data/mon_party_sprites.asm"
-MonPartySprites: ; 71a06 (1c:5a06)
+MonPartySprites:
INCBIN "gfx/mon_ow_sprites.2bpp"
diff --git a/engine/move_mon.asm b/engine/move_mon.asm
index 718e9b16..3471875e 100644
--- a/engine/move_mon.asm
+++ b/engine/move_mon.asm
@@ -1,4 +1,4 @@
-_MoveMon: ; f3a4 (3:73a4)
+_MoveMon:
ld a, [wMoveMonType]
and a
jr z, .checkPartyMonSlots
diff --git a/engine/multiply_divide.asm b/engine/multiply_divide.asm
index 6ff427c6..2bc26de2 100755
--- a/engine/multiply_divide.asm
+++ b/engine/multiply_divide.asm
@@ -1,4 +1,4 @@
-_Multiply: ; f660e (3d:660e)
+_Multiply:
ld a, $8
ld b, a
xor a
@@ -60,7 +60,7 @@ _Multiply: ; f660e (3d:660e)
ld [H_PRODUCT], a ; $ff95
ret
-_Divide: ; f6672 (3d:6672)
+_Divide:
xor a
ld [H_DIVIDEBUFFER], a ; ff9a
ld [H_DIVIDEBUFFER+1], a ; ff9b
diff --git a/engine/oak_speech.asm b/engine/oak_speech.asm
index 2726c651..38fe66f9 100755
--- a/engine/oak_speech.asm
+++ b/engine/oak_speech.asm
@@ -1,4 +1,4 @@
-SetDefaultNames: ; 5e27 (1:5e27)
+SetDefaultNames:
ld a, [wLetterPrintingDelayFlags]
push af
ld a, [wOptions]
@@ -40,7 +40,7 @@ SetDefaultNames: ; 5e27 (1:5e27)
call CopyData ; rip optimizations
ret
-OakSpeech: ; 5e85 (1:5e85)
+OakSpeech:
call StopAllMusic ; stop music
ld a, BANK(Music_Routes2)
ld c,a
@@ -158,25 +158,25 @@ OakSpeech: ; 5e85 (1:5e85)
call ClearScreen ; rip more tail-end optimizations
ret
-OakSpeechText1: ; 5fb9 (1:5fb9)
+OakSpeechText1:
TX_FAR _OakSpeechText1
db "@"
-OakSpeechText2: ; 5fbe (1:5fbe)
+OakSpeechText2:
TX_FAR _OakSpeechText2A
db $14 ; play NIDORINA cry from TextCommandSounds
TX_FAR _OakSpeechText2B
db "@"
-IntroducePlayerText: ; 5fc8 (1:5fc8)
+IntroducePlayerText:
TX_FAR _IntroducePlayerText
db "@"
-IntroduceRivalText: ; 5fcd (1:5fcd)
+IntroduceRivalText:
TX_FAR _IntroduceRivalText
db "@"
-OakSpeechText3: ; 5fd2 (1:5fd2)
+OakSpeechText3:
TX_FAR _OakSpeechText3
db "@"
-FadeInIntroPic: ; 5fd7 (1:5fd7)
+FadeInIntroPic:
ld hl,IntroFadePalettes
ld b,6
.next
@@ -189,7 +189,7 @@ FadeInIntroPic: ; 5fd7 (1:5fd7)
jr nz,.next
ret
-IntroFadePalettes: ; 5feb (1:5feb)
+IntroFadePalettes:
db %01010100
db %10101000
db %11111100
@@ -197,7 +197,7 @@ IntroFadePalettes: ; 5feb (1:5feb)
db %11110100
db %11100100
-MovePicLeft: ; 5ff1 (1:5ff1)
+MovePicLeft:
ld a,119
ld [rWX],a
call DelayFrame
@@ -214,9 +214,9 @@ MovePicLeft: ; 5ff1 (1:5ff1)
ld [rWX],a
jr .next
-DisplayPicCenteredOrUpperRight: ; 600d (1:600d)
+DisplayPicCenteredOrUpperRight:
call GetPredefRegisters
-IntroDisplayPicCenteredOrUpperRight: ; 6010 (1:6010)
+IntroDisplayPicCenteredOrUpperRight:
; b = bank
; de = address of compressed pic
; c: 0 = centred, non-zero = upper-right
@@ -241,4 +241,4 @@ IntroDisplayPicCenteredOrUpperRight: ; 6010 (1:6010)
.next
xor a
ld [hStartTileID],a
- predef_jump CopyUncompressedPicToTilemap \ No newline at end of file
+ predef_jump CopyUncompressedPicToTilemap
diff --git a/engine/oak_speech2.asm b/engine/oak_speech2.asm
index 5eeb5ea9..122803fa 100755
--- a/engine/oak_speech2.asm
+++ b/engine/oak_speech2.asm
@@ -1,4 +1,4 @@
-ChoosePlayerName: ; 66db (1:66db)
+ChoosePlayerName:
call OakSpeechSlidePicRight
ld de, DefaultNamesPlayer
call DisplayIntroNameTextBox
@@ -27,11 +27,11 @@ ChoosePlayerName: ; 66db (1:66db)
ld hl, YourNameIsText
jp PrintText
-YourNameIsText: ; 671d (1:671d)
+YourNameIsText:
TX_FAR _YourNameIsText
db "@"
-ChooseRivalName: ; 6722 (1:6722)
+ChooseRivalName:
call OakSpeechSlidePicRight
ld de, DefaultNamesRival
call DisplayIntroNameTextBox
@@ -60,11 +60,11 @@ ChooseRivalName: ; 6722 (1:6722)
ld hl, HisNameIsText
jp PrintText
-HisNameIsText: ; 6765 (1:6765)
+HisNameIsText:
TX_FAR _HisNameIsText
db "@"
-OakSpeechSlidePicLeft: ; 676a (1:676a)
+OakSpeechSlidePicLeft:
push de
coord hl, 0, 0
lb bc, 12, 11
@@ -81,12 +81,12 @@ OakSpeechSlidePicLeft: ; 676a (1:676a)
ld a, $ff
jr OakSpeechSlidePicCommon
-OakSpeechSlidePicRight: ; 6790 (1:6790)
+OakSpeechSlidePicRight:
coord hl, 5, 4
lb de, 6, 6 * SCREEN_WIDTH + 5
xor a
-OakSpeechSlidePicCommon: ; 6797 (1:6797)
+OakSpeechSlidePicCommon:
push hl
push de
push bc
@@ -160,7 +160,7 @@ OakSpeechSlidePicCommon: ; 6797 (1:6797)
pop hl
ret
-DisplayIntroNameTextBox: ; 67ec (1:67ec)
+DisplayIntroNameTextBox:
push de
coord hl, 0, 0
lb bc, 10, 9
@@ -187,21 +187,21 @@ DisplayIntroNameTextBox: ; 67ec (1:67ec)
.namestring ; 6822 (1:6822)
db "NAME@"
-DefaultNamesPlayer: ; 6827 (1:6827)
+DefaultNamesPlayer:
db "NEW NAME"
next "YELLOW"
next "ASH"
next "JACK"
db "@"
-DefaultNamesRival: ; 6840 (1:6840)
+DefaultNamesRival:
db "NEW NAME"
next "BLUE"
next "GARY"
next "JOHN"
db "@"
-GetDefaultName: ; 6858 (1:6858)
+GetDefaultName:
; a = name index
; hl = name list
ld b, a
@@ -225,17 +225,17 @@ GetDefaultName: ; 6858 (1:6858)
ld bc, $14
jp CopyData
-DefaultNamesPlayerList: ; 687d (1:687d)
+DefaultNamesPlayerList:
db "NEW NAME@"
db "YELLOW@"
db "ASH@"
db "JACK@"
-DefaultNamesRivalList: ; 688d (1:688d)
+DefaultNamesRivalList:
db "NEW NAME@"
db "BLUE@"
db "GARY@"
db "JOHN@"
-TextTerminator_6b20: ; 68a5 (1:68a5)
+TextTerminator_6b20:
db "@"
diff --git a/engine/overworld/advance_player_sprite.asm b/engine/overworld/advance_player_sprite.asm
index 758dd558..6b4a0cbb 100644
--- a/engine/overworld/advance_player_sprite.asm
+++ b/engine/overworld/advance_player_sprite.asm
@@ -1,4 +1,4 @@
-_AdvancePlayerSprite:: ; f010c (3c:410c)
+_AdvancePlayerSprite::
ld a,[wSpriteStateData1 + 3] ; delta Y
ld b,a
ld a,[wSpriteStateData1 + 5] ; delta X
@@ -192,7 +192,7 @@ _AdvancePlayerSprite:: ; f010c (3c:410c)
ld [hSCX],a ; update background scroll X
ret
-MoveTileBlockMapPointerEast:: ; f0248 (3c:4248)
+MoveTileBlockMapPointerEast::
ld a,[de]
add $1
ld [de],a
@@ -203,7 +203,7 @@ MoveTileBlockMapPointerEast:: ; f0248 (3c:4248)
ld [de],a
ret
-MoveTileBlockMapPointerWest:: ; f0252 (3c:4252)
+MoveTileBlockMapPointerWest::
ld a,[de]
sub $1
ld [de],a
@@ -214,7 +214,7 @@ MoveTileBlockMapPointerWest:: ; f0252 (3c:4252)
ld [de],a
ret
-MoveTileBlockMapPointerSouth:: ; f025c (3c:425c)
+MoveTileBlockMapPointerSouth::
add $6
ld b,a
ld a,[de]
@@ -227,7 +227,7 @@ MoveTileBlockMapPointerSouth:: ; f025c (3c:425c)
ld [de],a
ret
-MoveTileBlockMapPointerNorth:: ; f0268 (3c:4268)
+MoveTileBlockMapPointerNorth::
add $6
ld b,a
ld a,[de]
@@ -238,4 +238,4 @@ MoveTileBlockMapPointerNorth:: ; f0268 (3c:4268)
ld a,[de]
dec a
ld [de],a
- ret \ No newline at end of file
+ ret
diff --git a/engine/overworld/boulders.asm b/engine/overworld/boulders.asm
index edfda2d3..669b7b83 100644
--- a/engine/overworld/boulders.asm
+++ b/engine/overworld/boulders.asm
@@ -1,4 +1,4 @@
-CheckForCollisionWhenPushingBoulder: ; c356 (3:4356)
+CheckForCollisionWhenPushingBoulder:
call GetTileTwoStepsInFrontOfPlayer
call IsTilePassable
jr c, .done
@@ -16,7 +16,7 @@ CheckForCollisionWhenPushingBoulder: ; c356 (3:4356)
ret
; sets a to $ff if there is a collision and $00 if there is no collision
-CheckForBoulderCollisionWithSprites: ; c378 (3:4378)
+CheckForBoulderCollisionWithSprites:
ld a, [wBoulderSpriteIndex]
dec a
swap a
@@ -91,4 +91,4 @@ CheckForBoulderCollisionWithSprites: ; c378 (3:4378)
ret
.success
xor a
- ret \ No newline at end of file
+ ret
diff --git a/engine/overworld/cable_club_npc.asm b/engine/overworld/cable_club_npc.asm
index bc1a553a..e3ce8e8d 100755
--- a/engine/overworld/cable_club_npc.asm
+++ b/engine/overworld/cable_club_npc.asm
@@ -1,4 +1,4 @@
-CableClubNPC: ; 7035 (1:7035)
+CableClubNPC:
ld hl, CableClubNPCWelcomeText
call PrintText
call CheckPikachuFollowingPlayer
@@ -118,7 +118,7 @@ CableClubNPC: ; 7035 (1:7035)
ret
; seems to be similar of Serial_SyncAndExchangeNybble
-Serial_SyncAndExchangeNybbleDouble: ; 7131 (1:7131)
+Serial_SyncAndExchangeNybbleDouble:
ld a, $ff
ld [wSerialExchangeNybbleReceiveData], a
.loop
@@ -166,35 +166,35 @@ Serial_SyncAndExchangeNybbleDouble: ; 7131 (1:7131)
ld [wUnknownSerialCounter + 1], a
ret
-CableClubNPCAreaReservedFor2FriendsLinkedByCableText: ; 7188 (1:7188)
+CableClubNPCAreaReservedFor2FriendsLinkedByCableText:
TX_FAR _CableClubNPCAreaReservedFor2FriendsLinkedByCableText
db "@"
-CableClubNPCWelcomeText: ; 718d (1:718d)
+CableClubNPCWelcomeText:
TX_FAR _CableClubNPCWelcomeText
db "@"
-CableClubNPCPleaseApplyHereHaveToSaveText: ; 7192 (1:7192)
+CableClubNPCPleaseApplyHereHaveToSaveText:
TX_FAR _CableClubNPCPleaseApplyHereHaveToSaveText
db "@"
-CableClubNPCPleaseWaitText: ; 7197 (1:7197)
+CableClubNPCPleaseWaitText:
TX_FAR _CableClubNPCPleaseWaitText
db $a, "@"
-CableClubNPCLinkClosedBecauseOfInactivityText: ; 719d (1:719d)
+CableClubNPCLinkClosedBecauseOfInactivityText:
TX_FAR _CableClubNPCLinkClosedBecauseOfInactivityText
db "@"
-CableClubNPCPleaseComeAgainText: ; 71a2 (1:71a2)
+CableClubNPCPleaseComeAgainText:
TX_FAR _CableClubNPCPleaseComeAgainText
db "@"
-CableClubNPCMakingPreparationsText: ; 71a7 (1:71a7)
+CableClubNPCMakingPreparationsText:
TX_FAR _CableClubNPCMakingPreparationsText
db "@"
-CloseLinkConnection: ; 71ac (1:71ac)
+CloseLinkConnection:
call Delay3
ld a, CONNECTION_NOT_ESTABLISHED
ld [hSerialConnectionStatus], a
diff --git a/engine/overworld/card_key.asm b/engine/overworld/card_key.asm
index 3560c8e8..e1fc9160 100755
--- a/engine/overworld/card_key.asm
+++ b/engine/overworld/card_key.asm
@@ -1,4 +1,4 @@
-PrintCardKeyText: ; 525d8 (14:65d8)
+PrintCardKeyText:
ld hl, SilphCoMapList
ld a, [wCurMap]
ld b, a
@@ -59,7 +59,7 @@ PrintCardKeyText: ; 525d8 (14:65d8)
ld [hSpriteIndexOrTextID], a
jp PrintPredefTextID
-SilphCoMapList: ; 52645 (14:6645)
+SilphCoMapList:
db SILPH_CO_2F
db SILPH_CO_3F
db SILPH_CO_4F
@@ -72,19 +72,19 @@ SilphCoMapList: ; 52645 (14:6645)
db SILPH_CO_11F
db $FF
-CardKeySuccessText: ; 52650 (14:6650)
+CardKeySuccessText:
TX_FAR _CardKeySuccessText1
TX_SFX_ITEM
TX_FAR _CardKeySuccessText2
db "@"
-CardKeyFailText: ; 5265a (14:665a)
+CardKeyFailText:
TX_FAR _CardKeyFailText
db "@"
; d = Y
; e = X
-GetCoordsInFrontOfPlayer: ; 5265f (14:665f)
+GetCoordsInFrontOfPlayer:
ld a, [wYCoord]
ld d, a
ld a, [wXCoord]
diff --git a/engine/overworld/check_player_state.asm b/engine/overworld/check_player_state.asm
index 5dd91c4c..5fad4fc5 100644
--- a/engine/overworld/check_player_state.asm
+++ b/engine/overworld/check_player_state.asm
@@ -1,5 +1,5 @@
; only used for setting bit 2 of wd736 upon entering a new map
-IsPlayerStandingOnWarp: ; c0a6 (3:40a6)
+IsPlayerStandingOnWarp:
ld a, [wNumberOfWarps]
and a
ret z
@@ -31,7 +31,7 @@ IsPlayerStandingOnWarp: ; c0a6 (3:40a6)
jr nz, .loop
ret
-CheckForceBikeOrSurf: ; c0d2 (3:40d2)
+CheckForceBikeOrSurf:
ld hl, wd732
bit 5, [hl]
ret nz
@@ -86,7 +86,7 @@ CheckForceBikeOrSurf: ; c0d2 (3:40d2)
INCLUDE "data/force_bike_surf.asm"
-IsPlayerFacingEdgeOfMap: ; c148 (3:4148)
+IsPlayerFacingEdgeOfMap:
push hl
push de
push bc
@@ -152,7 +152,7 @@ IsPlayerFacingEdgeOfMap: ; c148 (3:4148)
scf
ret
-IsWarpTileInFrontOfPlayer: ; c197 (3:4197)
+IsWarpTileInFrontOfPlayer:
push hl
push de
push bc
@@ -178,7 +178,7 @@ IsWarpTileInFrontOfPlayer: ; c197 (3:4197)
pop hl
ret
-.warpTileListPointers: ; c1c0 (3:41c0)
+.warpTileListPointers:
dw .facingDownWarpTiles
dw .facingUpWarpTiles
dw .facingLeftWarpTiles
@@ -206,7 +206,7 @@ IsWarpTileInFrontOfPlayer: ; c197 (3:4197)
and a
jr .done
-IsPlayerStandingOnDoorTileOrWarpTile: ; c1e6 (3:41e6)
+IsPlayerStandingOnDoorTileOrWarpTile:
push hl
push de
push bc
@@ -233,4 +233,4 @@ IsPlayerStandingOnDoorTileOrWarpTile: ; c1e6 (3:41e6)
pop hl
ret
-INCLUDE "data/warp_tile_ids.asm" \ No newline at end of file
+INCLUDE "data/warp_tile_ids.asm"
diff --git a/engine/overworld/cinnabar_lab.asm b/engine/overworld/cinnabar_lab.asm
index f7c5e326..13313746 100755
--- a/engine/overworld/cinnabar_lab.asm
+++ b/engine/overworld/cinnabar_lab.asm
@@ -1,4 +1,4 @@
-GiveFossilToCinnabarLab: ; 61006 (18:5006)
+GiveFossilToCinnabarLab:
ld hl, wd730
set 6, [hl]
xor a
@@ -72,23 +72,23 @@ GiveFossilToCinnabarLab: ; 61006 (18:5006)
call PrintText
ret
-LabFossil_610ae: ; 610ae (18:50ae)
+LabFossil_610ae:
TX_FAR _Lab4Text_610ae
db "@"
-LabFossil_610b3: ; 610b3 (18:50b3)
+LabFossil_610b3:
TX_FAR _Lab4Text_610b3
db "@"
-LabFossil_610b8: ; 610b8 (18:50b8)
+LabFossil_610b8:
TX_FAR _Lab4Text_610b8
db "@"
-LabFossil_610bd: ; 610bd (18:50bd)
+LabFossil_610bd:
TX_FAR _Lab4Text_610bd
db "@"
-PrintFossilsInBag: ; 610c2 (18:50c2)
+PrintFossilsInBag:
; Prints each fossil in the player's bag on a separate line in the menu.
ld hl, wFilteredBagItems
xor a
@@ -112,7 +112,7 @@ PrintFossilsInBag: ; 610c2 (18:50c2)
jr .loop
; loads the names of the fossil item and the resulting mon
-LoadFossilItemAndMonName: ; 610eb (18:50eb)
+LoadFossilItemAndMonName:
ld a, [wFossilMon]
ld [wd11e], a
call GetMonName
diff --git a/engine/overworld/clear_loadmapdata_vars.asm b/engine/overworld/clear_loadmapdata_vars.asm
index 5ef2076c..c5dc21fa 100644
--- a/engine/overworld/clear_loadmapdata_vars.asm
+++ b/engine/overworld/clear_loadmapdata_vars.asm
@@ -1,4 +1,4 @@
-ClearVariablesAfterLoadingMapData: ; c07c (3:407c)
+ClearVariablesAfterLoadingMapData:
ld a, $90
ld [hWY], a
ld [rWY], a
diff --git a/engine/overworld/cut.asm b/engine/overworld/cut.asm
index 488bc4de..462e3e8e 100755
--- a/engine/overworld/cut.asm
+++ b/engine/overworld/cut.asm
@@ -1,4 +1,4 @@
-UsedCut: ; edd1 (3:6dd1)
+UsedCut:
xor a
ld [wActionResultOrTookBattleTurn], a ; initialise to failure value
ld a, [wCurMapTileset]
@@ -67,11 +67,11 @@ UsedCut: ; edd1 (3:6dd1)
call UpdateSprites
jp RedrawMapView
-UsedCutText: ; ee6f (3:6e6f)
+UsedCutText:
TX_FAR _UsedCutText
db "@"
-InitCutAnimOAM: ; ee74 (3:6e74)
+InitCutAnimOAM:
xor a
ld [wWhichAnimationOffsets], a
ld a, %11100100
@@ -112,22 +112,22 @@ InitCutAnimOAM: ; ee74 (3:6e74)
jr nz, .loop
ret
-LoadCutGrassAnimationTilePattern: ; eecc (3:6ecc)
+LoadCutGrassAnimationTilePattern:
ld de, AnimationTileset2 + $60 ; tile depicting a leaf
lb bc, BANK(AnimationTileset2), $01
jp CopyVideoData
-WriteCutOrBoulderDustAnimationOAMBlock: ; eed5 (3:6ed5)
+WriteCutOrBoulderDustAnimationOAMBlock:
call GetCutOrBoulderDustAnimationOffsets
ld a, $9
ld de, CutOrBoulderDustAnimationTilesAndAttributes
jp WriteOAMBlock
-CutOrBoulderDustAnimationTilesAndAttributes: ; eee0 (3:6ee0)
+CutOrBoulderDustAnimationTilesAndAttributes:
db $FC,$14,$FD,$14
db $FE,$14,$FF,$14
-GetCutOrBoulderDustAnimationOffsets: ; eee8 (3:6ee8)
+GetCutOrBoulderDustAnimationOffsets:
ld hl, wSpriteStateData1 + 4
ld a, [hli] ; player's sprite screen Y position
ld b, a
@@ -158,14 +158,14 @@ GetCutOrBoulderDustAnimationOffsets: ; eee8 (3:6ee8)
ld c, a
ret
-CutAnimationOffsets: ; ef0f (3:6f0f)
+CutAnimationOffsets:
; Each pair represents the x and y pixels offsets from the player of where the cut tree animation should be drawn
db 8, 36 ; player is facing down
db 8, 4 ; player is facing up
db -8, 20 ; player is facing left
db 24, 20 ; player is facing right
-BoulderDustAnimationOffsets: ; ef17 (3:6f17)
+BoulderDustAnimationOffsets:
; Each pair represents the x and y pixels offsets from the player of where the cut tree animation should be drawn
; These offsets represent 2 blocks away from the player
db 8, 52 ; player is facing down
@@ -173,7 +173,7 @@ BoulderDustAnimationOffsets: ; ef17 (3:6f17)
db -24, 20 ; player is facing left
db 40, 20 ; player is facing right
-ReplaceTreeTileBlock: ; ef1f (3:6f1f)
+ReplaceTreeTileBlock:
; Determine the address of the tile block that contains the tile in front of the
; player (i.e. where the tree is) and replace it with the corresponding tile
; block that doesn't have the tree.
@@ -249,7 +249,7 @@ ReplaceTreeTileBlock: ; ef1f (3:6f1f)
ld [hl], a
ret
-CutTreeBlockSwaps: ; ef80 (3:6f80)
+CutTreeBlockSwaps:
; first byte = tileset block containing the cut tree
; second byte = corresponding tileset block after the cut animation happens
db $32, $6D
diff --git a/engine/overworld/cut2.asm b/engine/overworld/cut2.asm
index 9bb4ee2c..37490f95 100755
--- a/engine/overworld/cut2.asm
+++ b/engine/overworld/cut2.asm
@@ -1,4 +1,4 @@
-AnimCut: ; 7a037 (1e:6037)
+AnimCut:
ld a, [wCutTile]
cp $52
jr z, .grass
@@ -44,7 +44,7 @@ AnimCut: ; 7a037 (1e:6037)
jr nz, .cutGrassLoop
ret
-AnimCutGrass_UpdateOAMEntries: ; 7a091 (1e:6091)
+AnimCutGrass_UpdateOAMEntries:
push bc
ld hl, wOAMBuffer + $91
ld a, 1
@@ -76,7 +76,7 @@ AnimCutGrass_UpdateOAMEntries: ; 7a091 (1e:6091)
jr nz, AnimCutGrass_UpdateOAMEntries
ret
-AnimCutGrass_SwapOAMEntries: ; 7a0d7 (1e:60d7)
+AnimCutGrass_SwapOAMEntries:
ld hl, wOAMBuffer + $90
ld de, wBuffer
ld bc, $8
diff --git a/engine/overworld/daycare_exp.asm b/engine/overworld/daycare_exp.asm
index e7bf8dff..dbe4023a 100644
--- a/engine/overworld/daycare_exp.asm
+++ b/engine/overworld/daycare_exp.asm
@@ -1,4 +1,4 @@
-IncrementDayCareMonExp: ; c684 (3:4684)
+IncrementDayCareMonExp:
ld a, [wDayCareInUse]
and a
ret z
diff --git a/engine/overworld/doors.asm b/engine/overworld/doors.asm
index 3f7b5f0f..8bde8600 100755
--- a/engine/overworld/doors.asm
+++ b/engine/overworld/doors.asm
@@ -1,5 +1,5 @@
; returns whether the player is standing on a door tile in carry
-IsPlayerStandingOnDoorTile: ; 1a785 (6:6785)
+IsPlayerStandingOnDoorTile:
push de
ld hl, DoorTileIDPointers
ld a, [wCurMapTileset]
@@ -25,7 +25,7 @@ IsPlayerStandingOnDoorTile: ; 1a785 (6:6785)
and a
ret
-DoorTileIDPointers: ; 1a7a8 (6:67a8)
+DoorTileIDPointers:
dbw OVERWORLD, OverworldDoorTileIDs
dbw FOREST, ForestDoorTileIDs
dbw MART, MartDoorTileIDs
@@ -42,38 +42,38 @@ DoorTileIDPointers: ; 1a7a8 (6:67a8)
dbw INTERIOR, InteriorDoorTileIDs
db $ff
-OverworldDoorTileIDs: ; 1a7d3 (6:67d3)
+OverworldDoorTileIDs:
db $1B,$58,$00
-ForestDoorTileIDs: ; 1a7d6 (6:67d6)
+ForestDoorTileIDs:
db $3a,$00
-MartDoorTileIDs: ; 1a7d8 (6:67d8)
+MartDoorTileIDs:
db $5e,$00
-HouseDoorTileIDs: ; 1a7da (6:67da)
+HouseDoorTileIDs:
db $54,$00
-TilesetMuseumDoorTileIDs: ; 1a7dc (6:67dc)
+TilesetMuseumDoorTileIDs:
db $3b,$00
-ShipDoorTileIDs: ; 1a7de (6:67de)
+ShipDoorTileIDs:
db $1e,$00
-LobbyDoorTileIDs: ; 1a7e0 (6:67e0)
+LobbyDoorTileIDs:
db $1c,$38,$1a,$00
-MansionDoorTileIDs: ; 1a7e4 (6:67e4)
+MansionDoorTileIDs:
db $1a,$1c,$53,$00
-LabDoorTileIDs: ; 1a7e8 (6:67e8)
+LabDoorTileIDs:
db $34,$00
-FacilityDoorTileIDs: ; 1a7ea (6:67ea)
+FacilityDoorTileIDs:
db $43,$58,$1b,$00
-PlateauDoorTileIDs: ; 1a7ee (6:67ee)
+PlateauDoorTileIDs:
db $3b,$1b,$00
-InteriorDoorTileIDs: ; 1a7f1 (6:67f1)
+InteriorDoorTileIDs:
db $04,$15,$00
diff --git a/engine/overworld/dungeon_warps.asm b/engine/overworld/dungeon_warps.asm
index d9bbe7d7..f47dfb01 100644
--- a/engine/overworld/dungeon_warps.asm
+++ b/engine/overworld/dungeon_warps.asm
@@ -1,4 +1,4 @@
-IsPlayerOnDungeonWarp: ; 46bf3 (11:6bf3)
+IsPlayerOnDungeonWarp:
xor a
ld [wWhichDungeonWarp], a
ld a, [wd72d]
diff --git a/engine/overworld/elevator.asm b/engine/overworld/elevator.asm
index b355102f..cd7bf5ba 100755
--- a/engine/overworld/elevator.asm
+++ b/engine/overworld/elevator.asm
@@ -1,4 +1,4 @@
-ShakeElevator: ; 75f07 (1d:5f07)
+ShakeElevator:
ld de, -$20
call ShakeElevatorRedrawRow
ld de, SCREEN_HEIGHT * $20
@@ -37,7 +37,7 @@ ShakeElevator: ; 75f07 (1d:5f07)
call UpdateSprites
jp PlayDefaultMusic
-ShakeElevatorRedrawRow: ; 75f52 (1d:5f52)
+ShakeElevatorRedrawRow:
; This function is used to redraw certain portions of the screen, but it does
; not appear to ever result in any visible effect, so this function seems to
; be pointless.
diff --git a/engine/overworld/emotion_bubbles.asm b/engine/overworld/emotion_bubbles.asm
index f002deed..7c7f5e7d 100755
--- a/engine/overworld/emotion_bubbles.asm
+++ b/engine/overworld/emotion_bubbles.asm
@@ -1,4 +1,4 @@
-EmotionBubble: ; 4116f (10:516f)
+EmotionBubble:
ld a, [wWhichEmotionBubble]
and $f
swap a
@@ -66,9 +66,9 @@ EmotionBubble: ; 4116f (10:516f)
ret
; jp UpdateSprites
-EmotionBubblesOAM: ; 411dd (5:51dd)
+EmotionBubblesOAM:
db $F8,$00,$F9,$00
db $FA,$00,$FB,$00
-EmotionBubbles: ; 411e5 (10:51e5)
+EmotionBubbles:
INCBIN "gfx/emotion_bubbles.2bpp"
diff --git a/engine/overworld/get_coords_tile_in_front_of_player.asm b/engine/overworld/get_coords_tile_in_front_of_player.asm
index 1003570b..e8bbc660 100644
--- a/engine/overworld/get_coords_tile_in_front_of_player.asm
+++ b/engine/overworld/get_coords_tile_in_front_of_player.asm
@@ -1,7 +1,7 @@
-GetTileAndCoordsInFrontOfPlayer: ; c2d4 (3:42d1)
+GetTileAndCoordsInFrontOfPlayer:
call GetPredefRegisters
-_GetTileAndCoordsInFrontOfPlayer: ; c2d4 (3:42d4)
+_GetTileAndCoordsInFrontOfPlayer:
ld a, [wYCoord]
ld d, a
ld a, [wXCoord]
@@ -38,7 +38,7 @@ _GetTileAndCoordsInFrontOfPlayer: ; c2d4 (3:42d4)
ld [wTileInFrontOfPlayer], a
ret
-GetTileTwoStepsInFrontOfPlayer: ; c309 (3:4309)
+GetTileTwoStepsInFrontOfPlayer:
xor a
ld [$ffdb], a
ld hl, wYCoord
@@ -84,4 +84,4 @@ GetTileTwoStepsInFrontOfPlayer: ; c309 (3:4309)
ld c, a
ld [wTileInFrontOfBoulderAndBoulderCollisionResult], a
ld [wTileInFrontOfPlayer], a
- ret \ No newline at end of file
+ ret
diff --git a/engine/overworld/healing_machine.asm b/engine/overworld/healing_machine.asm
index daaf33b2..1dc74e2d 100755
--- a/engine/overworld/healing_machine.asm
+++ b/engine/overworld/healing_machine.asm
@@ -1,4 +1,4 @@
-AnimateHealingMachine: ; 7048b (1c:448b)
+AnimateHealingMachine:
ld de, PokeCenterFlashingMonitorAndHealBall ; $44b7
ld hl, vChars0 + $7c0
lb bc, BANK(PokeCenterFlashingMonitorAndHealBall), $03 ; loads one too many tiles
@@ -60,10 +60,10 @@ AnimateHealingMachine: ; 7048b (1c:448b)
ld [hl], a
jp UpdateSprites
-PokeCenterFlashingMonitorAndHealBall: ; 7050b (1c:450b)
+PokeCenterFlashingMonitorAndHealBall:
INCBIN "gfx/pokecenter_ball.2bpp"
-PokeCenterOAMData: ; 7042b (1c:442b)
+PokeCenterOAMData:
db $24,$34,$7C,$14 ; heal machine monitor
db $2B,$30,$7D,$14 ; pokeballs 1-6
db $2B,$38,$7D,$34
@@ -73,7 +73,7 @@ PokeCenterOAMData: ; 7042b (1c:442b)
db $35,$38,$7D,$34
; d = value to xor with palette
-FlashSprite8Times: ; 70547 (1c:4547)
+FlashSprite8Times:
ld b, 8
.loop
ld a, [rOBP1]
@@ -86,7 +86,7 @@ FlashSprite8Times: ; 70547 (1c:4547)
jr nz, .loop
ret
-CopyHealingMachineOAM: ; 7055a (1c:455a)
+CopyHealingMachineOAM:
; copy one OAM entry and advance the pointers
ld a, [de]
inc de
diff --git a/engine/overworld/hidden_items.asm b/engine/overworld/hidden_items.asm
index 43a56658..15082847 100755
--- a/engine/overworld/hidden_items.asm
+++ b/engine/overworld/hidden_items.asm
@@ -1,4 +1,4 @@
-HiddenItems: ; 75f74 (1d:5f74)
+HiddenItems:
ld hl, HiddenItemCoords
call FindHiddenItemOrCoinsIndex
ld [wHiddenItemOrCoinsIndex], a
@@ -25,7 +25,7 @@ HiddenItems: ; 75f74 (1d:5f74)
INCLUDE "data/hidden_item_coords.asm"
-FoundHiddenItemText: ; 76050 (1d:6050)
+FoundHiddenItemText:
TX_FAR _FoundHiddenItemText
TX_ASM
ld a, [wHiddenObjectFunctionArgument] ; item ID
@@ -50,11 +50,11 @@ FoundHiddenItemText: ; 76050 (1d:6050)
call PrintText
jp TextScriptEnd
-HiddenItemBagFullText: ; 76089 (1d:6089)
+HiddenItemBagFullText:
TX_FAR _HiddenItemBagFullText
db "@"
-HiddenCoins: ; 7608e (1d:608e)
+HiddenCoins:
ld b, COIN_CASE
predef GetQuantityOfItemInBag
ld a, b
@@ -131,17 +131,17 @@ HiddenCoins: ; 7608e (1d:608e)
INCLUDE "data/hidden_coins.asm"
-FoundHiddenCoinsText: ; 76143 (1d:6143)
+FoundHiddenCoinsText:
TX_FAR _FoundHiddenCoinsText
db $10,"@"
-DroppedHiddenCoinsText: ; 76149 (1d:6149)
+DroppedHiddenCoinsText:
TX_FAR _FoundHiddenCoins2Text
db $10
TX_FAR _DroppedHiddenCoinsText
db "@"
-FindHiddenItemOrCoinsIndex: ; 76153 (1d:6153)
+FindHiddenItemOrCoinsIndex:
ld a, [wHiddenObjectY]
ld d, a
ld a, [wHiddenObjectX]
diff --git a/engine/overworld/hidden_objects.asm b/engine/overworld/hidden_objects.asm
index 6e515b5a..9a81dcfc 100755
--- a/engine/overworld/hidden_objects.asm
+++ b/engine/overworld/hidden_objects.asm
@@ -1,5 +1,5 @@
; if a hidden object was found, stores $00 in [hDidntFindAnyHiddenObject], else stores $ff
-CheckForHiddenObject: ; f25f8 (3c:65f8)
+CheckForHiddenObject:
ld hl, hItemAlreadyFound
xor a
ld [hli], a
@@ -60,7 +60,7 @@ CheckForHiddenObject: ; f25f8 (3c:65f8)
; checks if the coordinates in front of the player's sprite match Y in b and X in c
; [hCoordsInFrontOfPlayerMatch] = $00 if they match, $ff if they don't match
-CheckIfCoordsInFrontOfPlayerMatch: ; 46a01 (11:6a01)
+CheckIfCoordsInFrontOfPlayerMatch:
ld a, [wPlayerFacingDirection] ; player's sprite facing direction
cp SPRITE_FACING_UP
jr z, .facingUp
diff --git a/engine/overworld/is_player_just_outside_map.asm b/engine/overworld/is_player_just_outside_map.asm
index 19823c53..44690db0 100644
--- a/engine/overworld/is_player_just_outside_map.asm
+++ b/engine/overworld/is_player_just_outside_map.asm
@@ -1,5 +1,5 @@
; returns whether the player is one tile outside the map in Z
-IsPlayerJustOutsideMap: ; e876c (3a:476c)
+IsPlayerJustOutsideMap:
ld a, [wYCoord]
ld b, a
ld a, [wCurMapHeight]
diff --git a/engine/overworld/item.asm b/engine/overworld/item.asm
index e421a946..63eecef9 100644
--- a/engine/overworld/item.asm
+++ b/engine/overworld/item.asm
@@ -1,4 +1,4 @@
-PickUpItem: ; 4d55 (1:4d55)
+PickUpItem:
call EnableAutoTextBoxDrawing
ld a, [hSpriteIndexOrTextID]
@@ -44,11 +44,11 @@ PickUpItem: ; 4d55 (1:4d55)
call PrintText
ret
-FoundItemText: ; 4d9a (1:4d9a)
+FoundItemText:
TX_FAR _FoundItemText
db $0B
db "@"
-NoMoreRoomForItemText: ; 4da0 (1:4da0)
+NoMoreRoomForItemText:
TX_FAR _NoMoreRoomForItemText
db "@"
diff --git a/engine/overworld/ledges.asm b/engine/overworld/ledges.asm
index 5d95cb18..e7874637 100755
--- a/engine/overworld/ledges.asm
+++ b/engine/overworld/ledges.asm
@@ -1,4 +1,4 @@
-HandleLedges: ; 1a7f4 (6:67f4)
+HandleLedges:
ld a, [wd736]
bit 6, a ; already jumping down ledge
ret nz
@@ -55,7 +55,7 @@ HandleLedges: ; 1a7f4 (6:67f4)
ret
; (player direction) (tile player standing on) (ledge tile) (input required)
-LedgeTiles: ; 1a851 (6:6851)
+LedgeTiles:
db SPRITE_FACING_DOWN, $2C,$37,D_DOWN
db SPRITE_FACING_DOWN, $39,$36,D_DOWN
db SPRITE_FACING_DOWN, $39,$37,D_DOWN
@@ -66,7 +66,7 @@ LedgeTiles: ; 1a851 (6:6851)
db SPRITE_FACING_RIGHT,$39,$0D,D_RIGHT
db $FF
-LoadHoppingShadowOAM: ; 1a872 (6:6872)
+LoadHoppingShadowOAM:
ld hl, vChars1 + $7f0
ld de, LedgeHoppingShadow
lb bc, BANK(LedgeHoppingShadow), (LedgeHoppingShadowEnd - LedgeHoppingShadow) / $8
@@ -80,11 +80,11 @@ LoadHoppingShadowOAM: ; 1a872 (6:6872)
ld [wOAMBuffer + 39 * 4], a
ret
-LedgeHoppingShadow: ; 1a893 (6:6893)
+LedgeHoppingShadow:
INCBIN "gfx/ledge_hopping_shadow.1bpp"
LedgeHoppingShadowEnd:
-LedgeHoppingShadowOAM: ; 1a89b (6:689b)
+LedgeHoppingShadowOAM:
db $58,$48,$FF,$00
db $58,$50,$FF,$20
-LedgeHoppingShadowOAMEnd: ; 1a8a3 (6:68a3)
+LedgeHoppingShadowOAMEnd:
diff --git a/engine/overworld/load_tileset_header.asm b/engine/overworld/load_tileset_header.asm
index aeab3e24..05061651 100644
--- a/engine/overworld/load_tileset_header.asm
+++ b/engine/overworld/load_tileset_header.asm
@@ -1,4 +1,4 @@
-LoadTilesetHeader: ; c4f4 (3:44f4)
+LoadTilesetHeader:
call GetPredefRegisters
push hl
ld d, 0
@@ -48,4 +48,4 @@ LoadTilesetHeader: ; c4f4 (3:44f4)
INCLUDE "data/dungeon_tilesets.asm"
-INCLUDE "data/tileset_headers.asm" \ No newline at end of file
+INCLUDE "data/tileset_headers.asm"
diff --git a/engine/overworld/load_wild_data.asm b/engine/overworld/load_wild_data.asm
index 71e3fe2a..6444ab7e 100644
--- a/engine/overworld/load_wild_data.asm
+++ b/engine/overworld/load_wild_data.asm
@@ -1,4 +1,4 @@
-LoadWildData: ; cb62 (3:4b62)
+LoadWildData:
ld hl,WildDataPointers
ld a,[wCurMap]
@@ -30,4 +30,4 @@ LoadWildData: ; cb62 (3:4b62)
ld bc,$0014
jp CopyData
-INCLUDE "data/wild_mons.asm" \ No newline at end of file
+INCLUDE "data/wild_mons.asm"
diff --git a/engine/overworld/map_sprite_functions1.asm b/engine/overworld/map_sprite_functions1.asm
index 722fc14e..f0a718bd 100644
--- a/engine/overworld/map_sprite_functions1.asm
+++ b/engine/overworld/map_sprite_functions1.asm
@@ -1,4 +1,4 @@
-_UpdateSprites: ; 4bb7 (1:4bb7)
+_UpdateSprites:
ld h, wSpriteStateData1 / $100
inc h
ld a, $e ; (wSpriteStateData2 + $0e) & $ff
@@ -31,7 +31,7 @@ _UpdateSprites: ; 4bb7 (1:4bb7)
jp z, SpawnPikachu
ld a, [hl]
-UpdateNonPlayerSprite: ; 4be3 (1:4be3)
+UpdateNonPlayerSprite:
dec a
swap a
ld [$ff93], a ; $10 * sprite#
@@ -53,7 +53,7 @@ UpdateNonPlayerSprite: ; 4be3 (1:4be3)
; 9 values when the sprite is aligned with the grid: $fc, $0c, $1c, $2c, ..., $7c.
; The reason that 4 is added below to the coordinate is to make it align with a
; multiple of $10 to make comparisons easier.
-DetectCollisionBetweenSprites: ; 4bf7 (1:4bf7)
+DetectCollisionBetweenSprites:
; nop
ld h, wSpriteStateData1 / $100
@@ -336,7 +336,7 @@ DetectCollisionBetweenSprites: ; 4bf7 (1:4bf7)
; c = 0 if delta X/Y is 0
; c = 7 if delta X/Y is 1
; c = 9 if delta X/Y is -1
-Func_4d0a: ; 4d0a (1:4d0a)
+Func_4d0a:
ld a, [$ff91]
ld b, a
ld a, [$ff90]
@@ -356,7 +356,7 @@ Func_4d0a: ; 4d0a (1:4d0a)
inc l
ret
-SetSpriteCollisionValues: ; 4d22 (1:4d22)
+SetSpriteCollisionValues:
and a
ld b, 0
ld c, 0
@@ -371,7 +371,7 @@ SetSpriteCollisionValues: ; 4d22 (1:4d22)
.done
ret
-SpriteCollisionBitTable: ; 4d35 (1:4d35)
+SpriteCollisionBitTable:
db %00000000,%00000001
db %00000000,%00000010
db %00000000,%00000100
diff --git a/engine/overworld/map_sprites.asm b/engine/overworld/map_sprites.asm
index 10f0362e..43b44946 100755
--- a/engine/overworld/map_sprites.asm
+++ b/engine/overworld/map_sprites.asm
@@ -8,7 +8,7 @@
; fields, respectively, within loops. The X is the loop index.
; If there is an inner loop, Y is the inner loop index, i.e. $C1Y* and $C2Y*
; denote fields of the sprite slots interated over in the inner loop.
-_InitMapSprites: ; 1401b (5:401b)
+_InitMapSprites:
call InitOutsideMapSprites
ret c ; return if the map is an outside map (already handled by above call)
; if the map is an inside map (i.e. mapID >= $25)
@@ -19,7 +19,7 @@ _InitMapSprites: ; 1401b (5:401b)
; Loads sprite set for outside maps (cities and routes) and sets VRAM slots.
; sets carry if the map is a city or route, unsets carry if not
-InitOutsideMapSprites: ; 14029 (5:4029)
+InitOutsideMapSprites:
ld a, [wCurMap]
cp a, REDS_HOUSE_1F ; is the map a city or a route (map ID less than $25)?
ret nc ; if not, return
@@ -50,7 +50,7 @@ InitOutsideMapSprites: ; 14029 (5:4029)
scf
ret
-LoadSpriteSetFromMapHeader: ; 14061 (5:4061)
+LoadSpriteSetFromMapHeader:
; This loop stores the correct VRAM tile pattern slots according the sprite
; data from the map's header. Since the VRAM tile pattern slots are filled in
; the order of the sprite set, in order to find the VRAM tile pattern slot
@@ -93,7 +93,7 @@ LoadSpriteSetFromMapHeader: ; 14061 (5:4061)
jr nz, .storeVRAMSlotsLoop
ret
-CheckIfPictureIDAlreadyLoaded: ; 1409b (5:409b)
+CheckIfPictureIDAlreadyLoaded:
; Check if the current picture ID has already had its tile patterns loaded.
; This done by looping through the previous sprite slots and seeing if any of
; their picture ID's match that of the current sprite slot.
@@ -118,7 +118,7 @@ CheckIfPictureIDAlreadyLoaded: ; 1409b (5:409b)
scf
ret
-CheckForFourTileSprite: ; 140ac (5:40ac)
+CheckForFourTileSprite:
; Checks for a sprite added in yellow
; Returns no carry if the sprite is Pikachu, as its sprite is handled separately
; Else, returns carry if the sprite uses 4 tiles
@@ -135,7 +135,7 @@ CheckForFourTileSprite: ; 140ac (5:40ac)
scf
ret
-LoadMapSpriteTilePatterns: ; 140b7 (5:40b7)
+LoadMapSpriteTilePatterns:
ld a, 0
.loop
ld [hVRAMSlot], a
@@ -154,7 +154,7 @@ LoadMapSpriteTilePatterns: ; 140b7 (5:40b7)
jr nz, .loop
ret
-ReloadWalkingTilePatterns: ; 140d2 (5:40d2)
+ReloadWalkingTilePatterns:
xor a
.loop
ld [hVRAMSlot], a
@@ -168,7 +168,7 @@ ReloadWalkingTilePatterns: ; 140d2 (5:40d2)
jr nz, .loop
ret
-LoadStillTilePattern: ; 140e4 (5:40e4)
+LoadStillTilePattern:
ld a, [wFontLoaded]
bit 0, a ; reloading upper half of tile patterns after displaying text?
ret nz ; if so, skip loading data into the lower half
@@ -178,7 +178,7 @@ LoadStillTilePattern: ; 140e4 (5:40e4)
call CopyVideoDataAlternate ; new yellow function
ret
-LoadWalkingTilePattern: ; 140f5 (5:40f5)
+LoadWalkingTilePattern:
call ReadSpriteSheetData
ret nc
ld hl, $c0
@@ -190,7 +190,7 @@ LoadWalkingTilePattern: ; 140f5 (5:40f5)
call CopyVideoDataAlternate
ret
-GetSpriteVRAMAddress: ; 14018 (5:4108)
+GetSpriteVRAMAddress:
push bc
ld a, [hVRAMSlot]
ld c, a
@@ -204,7 +204,7 @@ GetSpriteVRAMAddress: ; 14018 (5:4108)
pop bc
ret
-SpriteVRAMAddresses: ; 14118 (5:4118)
+SpriteVRAMAddresses:
; Equivalent to multiplying $C0 (number of bytes in 12 tiles) times the VRAM
; slot and adding the result to $8000 (the VRAM base address).
dw vChars0 + $0c0
@@ -219,7 +219,7 @@ SpriteVRAMAddresses: ; 14118 (5:4118)
dw vChars0 + $780 ; 4-tile sprites
dw vChars0 + $7c0 ; 4-tile sprites
-ReadSpriteSheetData: ; 1412e (5:412e)
+ReadSpriteSheetData:
ld a, [hVRAMSlot]
ld e, a
ld d, 0
@@ -249,7 +249,7 @@ ReadSpriteSheetData: ; 1412e (5:412e)
scf
ret
-Func_14150: ; 14150 (5:4150)
+Func_14150:
ld a, $1
ld [wPlayerSpriteImageBaseOffset], a ; vram slot for player
ld a, $2
@@ -275,7 +275,7 @@ Func_14150: ; 14150 (5:4150)
jr nz, .loop
ret
-Func_14179: ; 14179 (5:4179)
+Func_14179:
push de
push bc
ld c, a ; c = picture ID
@@ -298,7 +298,7 @@ Func_14179: ; 14179 (5:4179)
pop de
ret
-GetSplitMapSpriteSetID: ; 14193 (5:4193)
+GetSplitMapSpriteSetID:
ld e, a
ld d, 0
ld hl, MapSpriteSets
diff --git a/engine/overworld/missable_objects.asm b/engine/overworld/missable_objects.asm
index 1cc15be5..dd601451 100644
--- a/engine/overworld/missable_objects.asm
+++ b/engine/overworld/missable_objects.asm
@@ -1,4 +1,4 @@
-MarkTownVisitedAndLoadMissableObjects: ; ef93 (3:6f93)
+MarkTownVisitedAndLoadMissableObjects:
ld a, [wCurMap]
cp ROUTE_1
jr nc, .notInTown
@@ -17,7 +17,7 @@ MarkTownVisitedAndLoadMissableObjects: ; ef93 (3:6f93)
ld h, [hl]
; fall through
-; LoadMissableObjects: ; efb2 (3:6fb2)
+; LoadMissableObjects:
; seems to not exist in yellow (predef replaced with something near TryPushingBoulder)
ld l, a
push hl
@@ -64,7 +64,7 @@ MarkTownVisitedAndLoadMissableObjects: ; ef93 (3:6f93)
ld [de], a ; write sentinel
ret
-InitializeMissableObjectsFlags: ; eff1 (3:6ff1)
+InitializeMissableObjectsFlags:
ld hl, wMissableObjectFlags
ld bc, wMissableObjectFlagsEnd - wMissableObjectFlags
xor a
@@ -95,7 +95,7 @@ InitializeMissableObjectsFlags: ; eff1 (3:6ff1)
jr .missableObjectsLoop
; tests if current sprite is a missable object that is hidden/has been removed
-IsObjectHidden: ; f022 (3:7022)
+IsObjectHidden:
ld a, [H_CURRENTSPRITEOFFSET]
swap a
ld b, a
@@ -122,7 +122,7 @@ IsObjectHidden: ; f022 (3:7022)
; adds missable object (items, leg. pokemon, etc.) to the map
; [wMissableObjectIndex]: index of the missable object to be added (global index)
-ShowObject: ; f044 (3:7044)
+ShowObject:
ShowObject2:
ld hl, wMissableObjectFlags
ld a, [wMissableObjectIndex]
@@ -133,7 +133,7 @@ ShowObject2:
; removes missable object (items, leg. pokemon, etc.) from the map
; [wMissableObjectIndex]: index of the missable object to be removed (global index)
-HideObject: ; f053 (3:7053)
+HideObject:
ld hl, wMissableObjectFlags
ld a, [wMissableObjectIndex]
ld c, a
@@ -141,7 +141,7 @@ HideObject: ; f053 (3:7053)
call MissableObjectFlagAction ; set "removed" flag
jp UpdateSprites
-MissableObjectFlagAction: ; f062 (3:7062)
+MissableObjectFlagAction:
; identical to FlagAction
push hl
diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm
index d69e2fbc..ad4515ff 100644
--- a/engine/overworld/movement.asm
+++ b/engine/overworld/movement.asm
@@ -1,4 +1,4 @@
-UpdatePlayerSprite: ; 4da5 (1:4da5)
+UpdatePlayerSprite:
ld a, [wSpriteStateData2]
and a
jr z, .checkIfTextBoxInFrontOfSprite
@@ -86,7 +86,7 @@ UpdatePlayerSprite: ; 4da5 (1:4da5)
ld [wSpriteStateData2 + $07], a
ret
-Func_4e32: ; 4e32 (1:4e32)
+Func_4e32:
ld a, [wSpriteStateData1 + 8]
ld b, a
ld a, [wPlayerFacingDirection]
@@ -94,7 +94,7 @@ Func_4e32: ; 4e32 (1:4e32)
ld [wSpriteStateData1 + 2], a
ret
-UpdateNPCSprite: ; 4e3e (1:4e3e)
+UpdateNPCSprite:
ld a, [H_CURRENTSPRITEOFFSET]
swap a
dec a
@@ -242,7 +242,7 @@ UpdateNPCSprite: ; 4e3e (1:4e3e)
jr TryWalking
; changes facing direction by zeroing the movement delta and calling TryWalking
-ChangeFacingDirection: ; 4f43 (1:4f43)
+ChangeFacingDirection:
ld de, $0
; fall through
@@ -252,7 +252,7 @@ ChangeFacingDirection: ; 4f43 (1:4f43)
; e: X movement delta (-1, 0 or 1)
; hl: pointer to tile the sprite would walk onto
; set carry on failure, clears carry on success
-TryWalking: ; 4f46 (1:4f46)
+TryWalking:
push hl
call Func_5337
pop hl
@@ -271,7 +271,7 @@ TryWalking: ; 4f46 (1:4f46)
jp UpdateSpriteImage
; update the walking animation parameters for a sprite that is currently walking
-UpdateSpriteInWalkingAnimation: ; 4f61 (1:4f61)
+UpdateSpriteInWalkingAnimation:
call Func_5274
.noNextAnimationFrame
ld a, [H_CURRENTSPRITEOFFSET]
@@ -330,7 +330,7 @@ UpdateSpriteInWalkingAnimation: ; 4f61 (1:4f61)
ret
; update delay value (c2x8) for sprites in the delayed state (c1x1)
-UpdateSpriteMovementDelay: ; 4fa9 (1:4fa9)
+UpdateSpriteMovementDelay:
ld h, $c2
ld a, [H_CURRENTSPRITEOFFSET]
add $6
@@ -351,7 +351,7 @@ UpdateSpriteMovementDelay: ; 4fa9 (1:4fa9)
inc a
ld l, a
ld [hl], $1 ; c1x1 = 1 (mark as ready to move)
-notYetMoving: ; 4fc5 (1:4fc5)
+notYetMoving:
ld h, wSpriteStateData1 / $100
ld a, [H_CURRENTSPRITEOFFSET]
add $8
@@ -359,7 +359,7 @@ notYetMoving: ; 4fc5 (1:4fc5)
ld [hl], $0 ; c1x8 = 0 (walk animation frame)
jp UpdateSpriteImage
-MakeNPCFacePlayer: ; 507f (1:507f)
+MakeNPCFacePlayer:
; Make an NPC face the player if the player has spoken to him or her.
; Check if the behaviour of the NPC facing the player when spoken to is
@@ -392,7 +392,7 @@ MakeNPCFacePlayer: ; 507f (1:507f)
ld [hl], c ; c1x9: set facing direction
jr notYetMoving
-InitializeSpriteStatus: ; 4fff (1:4fff)
+InitializeSpriteStatus:
ld [hl], $1 ; $c1x1: set movement status to ready
inc l
ld [hl], $ff ; $c1x2: set sprite image to $ff (invisible/off screen)
@@ -407,7 +407,7 @@ InitializeSpriteStatus: ; 4fff (1:4fff)
ret
; calculates the spprite's scrren position form its map position and the player position
-InitializeSpriteScreenPosition: ; 5012 (1:5012)
+InitializeSpriteScreenPosition:
ld h, wSpriteStateData2 / $100
ld a, [H_CURRENTSPRITEOFFSET]
add $4
@@ -430,7 +430,7 @@ InitializeSpriteScreenPosition: ; 5012 (1:5012)
ld [hl], a ; c1x6 (screen X position)
ret
-Func_5033: ; 5033 (1:5033)
+Func_5033:
jr nc, .asm_503c
cpl
inc a
@@ -443,7 +443,7 @@ Func_5033: ; 5033 (1:5033)
ret
; tests if sprite is off screen or otherwise unable to do anything
-CheckSpriteAvailability: ; 503f (1:503f)
+CheckSpriteAvailability:
predef IsObjectHidden
ld a, [$ffe5]
and a
@@ -524,7 +524,7 @@ CheckSpriteAvailability: ; 503f (1:503f)
.done
ret
-UpdateSpriteImage: ; 50ba (1:50ba)
+UpdateSpriteImage:
ld h, $c1
ld a, [H_CURRENTSPRITEOFFSET]
add $8
@@ -549,7 +549,7 @@ UpdateSpriteImage: ; 50ba (1:50ba)
; d: Y movement delta (-1, 0 or 1)
; e: X movement delta (-1, 0 or 1)
; set carry on failure, clears carry on success
-CanWalkOntoTile: ; 50d1 (1:50d1)
+CanWalkOntoTile:
ld h, wSpriteStateData2 / $100
ld a, [H_CURRENTSPRITEOFFSET]
add $6
@@ -658,7 +658,7 @@ CanWalkOntoTile: ; 50d1 (1:50d1)
; calculates the tile pointer pointing to the tile the current sprite stancs on
; this is always the lower left tile of the 2x2 tile blocks all sprites are snapped to
; hl: output pointer
-GetTileSpriteStandsOn: ; 516a (1:516a)
+GetTileSpriteStandsOn:
ld h, wSpriteStateData1 / $100
ld a, [H_CURRENTSPRITEOFFSET]
add $4
@@ -687,7 +687,7 @@ GetTileSpriteStandsOn: ; 516a (1:516a)
ret
; loads [de+a] into a
-LoadDEPlusA: ; 5192 (1:5192)
+LoadDEPlusA:
add e
ld e, a
jr nc, .noCarry
@@ -696,7 +696,7 @@ LoadDEPlusA: ; 5192 (1:5192)
ld a, [de]
ret
-DoScriptedNPCMovement: ; 5199 (1:5199)
+DoScriptedNPCMovement:
; This is an alternative method of scripting an NPC's movement and is only used
; a few times in the game. It is used when the NPC and player must walk together
; in sync, such as when the player is following the NPC somewhere. An NPC can't
@@ -767,23 +767,23 @@ DoScriptedNPCMovement: ; 5199 (1:5199)
inc [hl]
ret
-InitScriptedNPCMovement: ; 5209 (1:5209)
+InitScriptedNPCMovement:
xor a
ld [wNPCMovementDirections2Index], a
ld a, 8
ld [wScriptedNPCWalkCounter], a
jp AnimScriptedNPCMovement
-GetSpriteScreenYPointer: ; 5215 (1:5215)
+GetSpriteScreenYPointer:
ld a, $4
ld b, a
jr GetSpriteScreenXYPointerCommon
-GetSpriteScreenXPointer: ; 521a (1:521a)
+GetSpriteScreenXPointer:
ld a, $6
ld b, a
-GetSpriteScreenXYPointerCommon: ; 521d (1:521d)
+GetSpriteScreenXYPointerCommon:
ld hl, wSpriteStateData1
ld a, [H_CURRENTSPRITEOFFSET]
add l
@@ -791,7 +791,7 @@ GetSpriteScreenXYPointerCommon: ; 521d (1:521d)
ld l, a
ret
-AnimScriptedNPCMovement: ; 5226 (1:5226)
+AnimScriptedNPCMovement:
ld hl, wSpriteStateData2
ld a, [H_CURRENTSPRITEOFFSET]
add $e
@@ -830,7 +830,7 @@ AnimScriptedNPCMovement: ; 5226 (1:5226)
ld [hl], a
ret
-AdvanceScriptedNPCAnimFrameCounter: ; 5264 (1:5264)
+AdvanceScriptedNPCAnimFrameCounter:
call Func_5274
ld h, wSpriteStateData1 / $100
ld a, [H_CURRENTSPRITEOFFSET]
@@ -841,7 +841,7 @@ AdvanceScriptedNPCAnimFrameCounter: ; 5264 (1:5264)
ld [hSpriteAnimFrameCounter], a
ret
-Func_5274: ; 5274 (1:5274)
+Func_5274:
ld a, [H_CURRENTSPRITEOFFSET]
add $7
ld l, a
@@ -858,7 +858,7 @@ Func_5274: ; 5274 (1:5274)
ld [hl], a ; advance to next animation frame every 4 ticks (16 ticks total for one step)
ret
-Func_5288: ; 5288 (1:5288)
+Func_5288:
; nice lookup table
; a is supposedly [wNPCMovementDirections + $fe]
cp $5
@@ -957,27 +957,27 @@ Func_5288: ; 5288 (1:5288)
scf
ret
-Func_531f: ; 531f (1:531f)
+Func_531f:
lb de, 1, 0
ld c, SPRITE_FACING_DOWN
ret
-Func_5325: ; 5325 (1:5325)
+Func_5325:
lb de, -1, 0
ld c, SPRITE_FACING_UP
ret
-Func_532b: ; 532b (1:532b)
+Func_532b:
lb de, 0, 1
ld c, SPRITE_FACING_RIGHT
ret
-Func_5331: ; 5331 (1:5331)
+Func_5331:
lb de, 0, -1
ld c, SPRITE_FACING_LEFT
ret
-Func_5337: ; 5337 (1:5337)
+Func_5337:
ld a, [H_CURRENTSPRITEOFFSET]
add $9
ld l, a
@@ -992,7 +992,7 @@ Func_5337: ; 5337 (1:5337)
ld [hl], e ; c1x5 (update X movement delta)
ret
-Func_5349: ; 5349 (1:5349)
+Func_5349:
ld h, wSpriteStateData2 / $100
ld a, [H_CURRENTSPRITEOFFSET]
add $4
@@ -1005,7 +1005,7 @@ Func_5349: ; 5349 (1:5349)
ld [hl], a ; update X position
ret
-Func_5357: ; 5357 (1:5357)
+Func_5357:
call Func_5274
ld a, [H_CURRENTSPRITEOFFSET]
add $3
@@ -1062,4 +1062,4 @@ Func_5357: ; 5357 (1:5357)
inc l
ld c, [hl]
ld [hl], a
- ret \ No newline at end of file
+ ret
diff --git a/engine/overworld/npc_movement.asm b/engine/overworld/npc_movement.asm
index 07abd44f..333779fa 100755
--- a/engine/overworld/npc_movement.asm
+++ b/engine/overworld/npc_movement.asm
@@ -1,4 +1,4 @@
-PlayerStepOutFromDoor: ; 1a4ea (6:64ea)
+PlayerStepOutFromDoor:
ld hl, wd730
res 1, [hl]
call IsPlayerStandingOnDoorTile
@@ -27,7 +27,7 @@ PlayerStepOutFromDoor: ; 1a4ea (6:64ea)
res 7, [hl]
ret
-_EndNPCMovementScript: ; 1a527 (6:6527)
+_EndNPCMovementScript:
ld hl, wd730
res 7, [hl]
ld hl, wd72e
@@ -44,14 +44,14 @@ _EndNPCMovementScript: ; 1a527 (6:6527)
ld [wSimulatedJoypadStatesEnd], a
ret
-PalletMovementScriptPointerTable: ; 1a54c (6:654c)
+PalletMovementScriptPointerTable:
dw PalletMovementScript_OakMoveLeft
dw PalletMovementScript_PlayerMoveLeft
dw PalletMovementScript_WaitAndWalkToLab
dw PalletMovementScript_WalkToLab
dw PalletMovementScript_Done
-PalletMovementScript_OakMoveLeft: ; 1a556 (6:6556)
+PalletMovementScript_OakMoveLeft:
ld a, [wXCoord]
sub $a
ld [wNumStepsToTake], a
@@ -89,7 +89,7 @@ PalletMovementScript_OakMoveLeft: ; 1a556 (6:6556)
ld [wJoyIgnore], a
ret
-PalletMovementScript_PlayerMoveLeft: ; 1a597 (6:6597)
+PalletMovementScript_PlayerMoveLeft:
ld a, [wd730]
bit 0, a ; is an NPC being moved by a script?
ret nz ; return if Oak is still moving
@@ -102,12 +102,12 @@ PalletMovementScript_PlayerMoveLeft: ; 1a597 (6:6597)
ld [wNPCMovementScriptFunctionNum], a
ret
-PalletMovementScript_WaitAndWalkToLab: ; 1a5b3 (6:65b3)
+PalletMovementScript_WaitAndWalkToLab:
ld a, [wSimulatedJoypadStatesIndex]
and a ; is the player done moving left yet?
ret nz
-PalletMovementScript_WalkToLab: ; 1a5b8 (6:65b8)
+PalletMovementScript_WalkToLab:
xor a
ld [wOverrideSimulatedJoypadStatesMask], a
ld a, [wSpriteIndex]
@@ -132,7 +132,7 @@ PalletMovementScript_WalkToLab: ; 1a5b8 (6:65b8)
ret
-RLEList_ProfOakWalkToLab: ; 1a5ee (6:65ee)
+RLEList_ProfOakWalkToLab:
db NPC_MOVEMENT_DOWN, $06 ; differs from red
db NPC_MOVEMENT_LEFT, $01
db NPC_MOVEMENT_DOWN, $05
@@ -141,7 +141,7 @@ RLEList_ProfOakWalkToLab: ; 1a5ee (6:65ee)
db $E0, $01 ; stand still
db $FF
-RLEList_PlayerWalkToLab: ; 1a5fb (6:65fb)
+RLEList_PlayerWalkToLab:
db D_UP, $02
db D_RIGHT, $03
db D_DOWN, $05
@@ -149,7 +149,7 @@ RLEList_PlayerWalkToLab: ; 1a5fb (6:65fb)
db D_DOWN, $07 ; differs from red
db $FF
-PalletMovementScript_Done: ; 1a606 (6:6606)
+PalletMovementScript_Done:
ld a, [wSimulatedJoypadStatesIndex]
and a
ret nz
@@ -162,11 +162,11 @@ PalletMovementScript_Done: ; 1a606 (6:6606)
res 7, [hl]
jp EndNPCMovementScript
-PewterMuseumGuyMovementScriptPointerTable: ; 1a622 (6:6622)
+PewterMuseumGuyMovementScriptPointerTable:
dw PewterMovementScript_WalkToMuseum
dw PewterMovementScript_Done
-PewterMovementScript_WalkToMuseum: ; 1a626 (6:6626)
+PewterMovementScript_WalkToMuseum:
ld a, BANK(Music_MuseumGuy)
ld c, a
ld a, MUSIC_MUSEUM_GUY
@@ -192,21 +192,21 @@ PewterMovementScript_WalkToMuseum: ; 1a626 (6:6626)
ld [wNPCMovementScriptFunctionNum], a
ret
-RLEList_PewterMuseumPlayer: ; 1a661 (6:6661)
+RLEList_PewterMuseumPlayer:
db 0, $01
db D_UP, $03
db D_LEFT, $0D
db D_UP, $06
db $FF
-RLEList_PewterMuseumGuy: ; 1a66a (6:666a)
+RLEList_PewterMuseumGuy:
db NPC_MOVEMENT_UP, $06
db NPC_MOVEMENT_LEFT, $0D
db NPC_MOVEMENT_UP, $03
db NPC_MOVEMENT_LEFT, $01
db $FF
-PewterMovementScript_Done: ; 1a673 (6:6673)
+PewterMovementScript_Done:
ld a, [wSimulatedJoypadStatesIndex]
and a
ret nz
@@ -216,11 +216,11 @@ PewterMovementScript_Done: ; 1a673 (6:6673)
res 7, [hl]
jp EndNPCMovementScript
-PewterGymGuyMovementScriptPointerTable: ; 1a685 (6:6685)
+PewterGymGuyMovementScriptPointerTable:
dw PewterMovementScript_WalkToGym
dw PewterMovementScript_Done
-PewterMovementScript_WalkToGym: ; 1a689 (6:6689)
+PewterMovementScript_WalkToGym:
ld a, BANK(Music_MuseumGuy)
ld c, a
ld a, MUSIC_MUSEUM_GUY
@@ -249,7 +249,7 @@ PewterMovementScript_WalkToGym: ; 1a689 (6:6689)
ld [wNPCMovementScriptFunctionNum], a
ret
-RLEList_PewterGymPlayer: ; 1a6cb (6:66cb)
+RLEList_PewterGymPlayer:
db 0, $01
db D_RIGHT, $02
db D_DOWN, $05
@@ -258,7 +258,7 @@ RLEList_PewterGymPlayer: ; 1a6cb (6:66cb)
db D_LEFT, $0F
db $FF
-RLEList_PewterGymGuy: ; 1a6cd8 (6:66d8)
+RLEList_PewterGymGuy:
db NPC_MOVEMENT_DOWN, $02
db NPC_MOVEMENT_LEFT, $0F
db NPC_MOVEMENT_UP, $05
diff --git a/engine/overworld/npc_movement_2.asm b/engine/overworld/npc_movement_2.asm
index c5e11aa0..06ee9319 100755
--- a/engine/overworld/npc_movement_2.asm
+++ b/engine/overworld/npc_movement_2.asm
@@ -1,4 +1,4 @@
-FreezeEnemyTrainerSprite: ; eaa02 (3a:6a02)
+FreezeEnemyTrainerSprite:
ld a, [wCurMap]
cp POKEMONTOWER_7
ret z ; the Rockets on Pokemon Tower 7F leave after battling, so don't freeze them
@@ -17,7 +17,7 @@ FreezeEnemyTrainerSprite: ; eaa02 (3a:6a02)
ld [H_SPRITEINDEX], a
jp SetSpriteMovementBytesToFF
-RivalIDs: ; eaa20 (3a:6a20)
+RivalIDs:
db OPP_SONY1
db OPP_SONY2
db OPP_SONY3
diff --git a/engine/overworld/npc_pathfinding.asm b/engine/overworld/npc_pathfinding.asm
index ed7db530..f3d23b7c 100644
--- a/engine/overworld/npc_pathfinding.asm
+++ b/engine/overworld/npc_pathfinding.asm
@@ -1,4 +1,4 @@
-FindPathToPlayer: ; f74a (3:774a)
+FindPathToPlayer:
xor a
ld hl, hFindPathNumSteps
ld [hli], a ; hFindPathNumSteps
@@ -74,7 +74,7 @@ FindPathToPlayer: ; f74a (3:774a)
ld [hl], $ff
ret
-CalcPositionOfPlayerRelativeToNPC: ; f7b9 (3:77b9)
+CalcPositionOfPlayerRelativeToNPC:
xor a
ld [hNPCPlayerRelativePosFlags], a
ld a, [wSpriteStateData1 + 4] ; player's sprite screen Y position in pixels
@@ -151,7 +151,7 @@ CalcPositionOfPlayerRelativeToNPC: ; f7b9 (3:77b9)
ld [hNPCPlayerRelativePosFlags], a
ret
-ConvertNPCMovementDirectionsToJoypadMasks: ; f830 (3:7830)
+ConvertNPCMovementDirectionsToJoypadMasks:
ld a, [hNPCMovementDirections2Index]
ld [wNPCMovementDirections2Index], a
dec a
@@ -172,7 +172,7 @@ ConvertNPCMovementDirectionsToJoypadMasks: ; f830 (3:7830)
jr nz, .loop
ret
-ConvertNPCMovementDirectionToJoypadMask: ; f84f (3:784f)
+ConvertNPCMovementDirectionToJoypadMask:
push hl
ld b, a
ld hl, NPCMovementDirectionsToJoypadMasksTable
@@ -190,7 +190,7 @@ ConvertNPCMovementDirectionToJoypadMask: ; f84f (3:784f)
pop hl
ret
-NPCMovementDirectionsToJoypadMasksTable: ; f862 (3:7862)
+NPCMovementDirectionsToJoypadMasksTable:
db NPC_MOVEMENT_UP, D_UP
db NPC_MOVEMENT_DOWN, D_DOWN
db NPC_MOVEMENT_LEFT, D_LEFT
@@ -198,4 +198,4 @@ NPCMovementDirectionsToJoypadMasksTable: ; f862 (3:7862)
db $ff
; unreferenced
- ret \ No newline at end of file
+ ret
diff --git a/engine/overworld/oaks_aide.asm b/engine/overworld/oaks_aide.asm
index d412d8ec..54ba6b7a 100755
--- a/engine/overworld/oaks_aide.asm
+++ b/engine/overworld/oaks_aide.asm
@@ -1,4 +1,4 @@
-OaksAideScript: ; 58ecc (16:4ecc)
+OaksAideScript:
ld hl, OaksAideHiText
call PrintText
call YesNoChoice
@@ -45,27 +45,27 @@ OaksAideScript: ; 58ecc (16:4ecc)
ld [hOaksAideResult], a
ret
-OaksAideHiText: ; 58f28 (16:4f28)
+OaksAideHiText:
TX_FAR _OaksAideHiText
db "@"
-OaksAideUhOhText: ; 58f2d (16:4f2d)
+OaksAideUhOhText:
TX_FAR _OaksAideUhOhText
db "@"
-OaksAideComeBackText: ; 58f32 (16:4f32)
+OaksAideComeBackText:
TX_FAR _OaksAideComeBackText
db "@"
-OaksAideHereYouGoText: ; 58f37 (16:4f37)
+OaksAideHereYouGoText:
TX_FAR _OaksAideHereYouGoText
db "@"
-OaksAideGotItemText: ; 58f3c (16:4f3c)
+OaksAideGotItemText:
TX_FAR _OaksAideGotItemText
db $0b
db "@"
-OaksAideNoRoomText: ; 58f41 (16:4f41)
+OaksAideNoRoomText:
TX_FAR _OaksAideNoRoomText
db "@"
diff --git a/engine/overworld/oam.asm b/engine/overworld/oam.asm
index ede025cd..5b9831b0 100644
--- a/engine/overworld/oam.asm
+++ b/engine/overworld/oam.asm
@@ -1,4 +1,4 @@
-PrepareOAMData: ; 499b (1:499b)
+PrepareOAMData:
; Determine OAM data for currently visible
; sprites and write it to wOAMBuffer.
; Yellow code has been changed to use registers more efficiently
@@ -164,7 +164,7 @@ PrepareOAMData: ; 499b (1:499b)
jr nz, .clearLoop
ret
-GetSpriteScreenXY: ; 4a5f (1:4a5f)
+GetSpriteScreenXY:
inc e
inc e
ld a, [de] ; c1x4
@@ -186,7 +186,7 @@ GetSpriteScreenXY: ; 4a5f (1:4a5f)
ld [de], a ; c1xb (x)
ret
-Func_4a7b: ; 4a7b (1:4a7b)
+Func_4a7b:
push bc
ld a, [wd5cd] ; temp copy of c1x2
swap a ; high nybble determines sprite used (0 is always player sprite, next are some npcs)
@@ -212,7 +212,7 @@ Func_4a7b: ; 4a7b (1:4a7b)
INCLUDE "engine/oam_dma.asm"
-_IsTilePassable:: ; 4aaa (1:4aaa)
+_IsTilePassable::
ld hl,wTilesetCollisionPtr ; pointer to list of passable tiles
ld a,[hli]
ld h,[hl]
@@ -229,4 +229,4 @@ _IsTilePassable:: ; 4aaa (1:4aaa)
scf
ret
-INCLUDE "data/collision.asm" ; probably \ No newline at end of file
+INCLUDE "data/collision.asm" ; probably
diff --git a/engine/overworld/pewter_guys.asm b/engine/overworld/pewter_guys.asm
index ff3c6152..532fa4bf 100755
--- a/engine/overworld/pewter_guys.asm
+++ b/engine/overworld/pewter_guys.asm
@@ -1,4 +1,4 @@
-PewterGuys: ; 1a6e5 (6:66e5)
+PewterGuys:
ld hl, wSimulatedJoypadStatesEnd
ld a, [wSimulatedJoypadStatesIndex]
dec a ; this decrement causes it to overwrite the last byte before $FF in the list
@@ -48,14 +48,14 @@ PewterGuys: ; 1a6e5 (6:66e5)
inc hl
jr .findMatchingCoordsLoop
-PointerTable_37ce6: ; 1a72a (6:672a)
+PointerTable_37ce6:
dw PewterMuseumGuyCoords
dw PewterGymGuyCoords
; these are the four coordinates of the spaces below, above, to the left and
; to the right of the museum guy, and pointers to different movements for
; the player to make to get positioned before the main movement.
-PewterMuseumGuyCoords: ; 1a72e (6:672e)
+PewterMuseumGuyCoords:
db 18, 27
dw .down
db 16, 27
@@ -78,7 +78,7 @@ PewterMuseumGuyCoords: ; 1a72e (6:672e)
; different movements for the player to make to get positioned before the
; main movement
; $00 is a pause
-PewterGymGuyCoords: ; 1a74a (6:674a)
+PewterGymGuyCoords:
db 16, 34
dw .one
db 17, 35
diff --git a/engine/overworld/player_animations.asm b/engine/overworld/player_animations.asm
index bea43308..eea1b375 100755
--- a/engine/overworld/player_animations.asm
+++ b/engine/overworld/player_animations.asm
@@ -1,4 +1,4 @@
-EnterMapAnim: ; 70567 (1c:4567)
+EnterMapAnim:
call InitFacingDirectionList
ld a, $ec
ld [wSpriteStateData1 + 4], a ; player's sprite Y screen position
@@ -66,7 +66,7 @@ EnterMapAnim: ; 70567 (1c:4567)
ld [wPikachuSpawnState], a
jr .restoreDefaultMusic
-FlyAnimationEnterScreenCoords: ; 705ed (1c:45ed)
+FlyAnimationEnterScreenCoords:
; y, x pairs
; This is the sequence of screen coordinates used by the overworld
; Fly animation when the player is entering a map.
@@ -83,7 +83,7 @@ FlyAnimationEnterScreenCoords: ; 705ed (1c:45ed)
db $3C, $48
db $3C, $40
-PlayerSpinWhileMovingDown: ; 70605 (1c:4605)
+PlayerSpinWhileMovingDown:
ld hl, wPlayerSpinWhileMovingUpOrDownAnimDeltaY
ld a, $10
ld [hli], a ; wPlayerSpinWhileMovingUpOrDownAnimDeltaY
@@ -94,7 +94,7 @@ PlayerSpinWhileMovingDown: ; 70605 (1c:4605)
jp PlayerSpinWhileMovingUpOrDown
-_LeaveMapAnim: ; 70615 (1c:4615)
+_LeaveMapAnim:
call Func_1510
call InitFacingDirectionList
call IsPlayerStandingOnWarpPadOrHole
@@ -172,7 +172,7 @@ _LeaveMapAnim: ; 70615 (1c:4615)
call GBFadeOutToWhite
jp RestoreFacingDirectionAndYScreenPos
-FlyAnimationScreenCoords1: ; 706ad (1c:46ad)
+FlyAnimationScreenCoords1:
; y, x pairs
; This is the sequence of screen coordinates used by the first part
; of the Fly overworld animation.
@@ -189,7 +189,7 @@ FlyAnimationScreenCoords1: ; 706ad (1c:46ad)
db $2A, $98
db $27, $A0
-FlyAnimationScreenCoords2: ; 706c5 (1c:46c5)
+FlyAnimationScreenCoords2:
; y, x pairs
; This is the sequence of screen coordinates used by the second part
; of the Fly overworld animation.
@@ -206,7 +206,7 @@ FlyAnimationScreenCoords2: ; 706c5 (1c:46c5)
db $F0, $00
-LeaveMapThroughHoleAnim: ; 706db (1c:46db)
+LeaveMapThroughHoleAnim:
ld a, $ff
ld [wUpdateSpritesEnabled], a ; disable UpdateSprites
; shift upper half of player's sprite down 8 pixels and hide lower half
@@ -228,7 +228,7 @@ LeaveMapThroughHoleAnim: ; 706db (1c:46db)
ld [wUpdateSpritesEnabled], a ; enable UpdateSprites
jp RestoreFacingDirectionAndYScreenPos
-DoFlyAnimation: ; 7070c (1c:470c)
+DoFlyAnimation:
ld a, [wFlyAnimBirdSpriteImageIndex]
xor $1 ; make the bird flap its wings
ld [wFlyAnimBirdSpriteImageIndex], a
@@ -252,7 +252,7 @@ DoFlyAnimation: ; 7070c (1c:470c)
jr nz, DoFlyAnimation
ret
-LoadBirdSpriteGraphics: ; 70735 (1c:4735)
+LoadBirdSpriteGraphics:
ld de, BirdSprite ; $4d80
ld b, BANK(BirdSprite)
ld c, $c
@@ -264,7 +264,7 @@ LoadBirdSpriteGraphics: ; 70735 (1c:4735)
ld hl, vNPCSprites2
jp CopyVideoData
-InitFacingDirectionList: ; 7074f (1c:474f)
+InitFacingDirectionList:
ld a, [wSpriteStateData1 + 2] ; player's sprite facing direction (image index is locked to standing images)
ld [wSavedPlayerFacingDirection], a
ld a, [wSpriteStateData1 + 4] ; player's sprite Y screen position
@@ -283,12 +283,12 @@ InitFacingDirectionList: ; 7074f (1c:474f)
dec hl
ret
-PlayerSpinningFacingOrder: ; 70773 (1c:4773)
+PlayerSpinningFacingOrder:
; The order of the direction the player's sprite is facing when teleporting
; away. Creates a spinning effect.
db SPRITE_FACING_DOWN, SPRITE_FACING_LEFT, SPRITE_FACING_UP, SPRITE_FACING_RIGHT
-SpinPlayerSprite: ; 70777 (1c:4777)
+SpinPlayerSprite:
; copy the current value from the list into the sprite data and rotate the list
ld a, [hl]
ld [wSpriteStateData1 + 2], a ; player's sprite facing direction (image index is locked to standing images)
@@ -302,7 +302,7 @@ SpinPlayerSprite: ; 70777 (1c:4777)
pop hl
ret
-PlayerSpinInPlace: ; 70790 (1c:4790)
+PlayerSpinInPlace:
call SpinPlayerSprite
ld a, [wPlayerSpinInPlaceAnimFrameDelay]
ld c, a
@@ -323,7 +323,7 @@ PlayerSpinInPlace: ; 70790 (1c:4790)
call DelayFrames
jr PlayerSpinInPlace
-PlayerSpinWhileMovingUpOrDown: ; 707b5 (1c:47b5)
+PlayerSpinWhileMovingUpOrDown:
call SpinPlayerSprite
ld a, [wPlayerSpinWhileMovingUpOrDownAnimDeltaY]
ld c, a
@@ -339,7 +339,7 @@ PlayerSpinWhileMovingUpOrDown: ; 707b5 (1c:47b5)
call DelayFrames
jr PlayerSpinWhileMovingUpOrDown
-RestoreFacingDirectionAndYScreenPos: ; 707d2 (1c:47d2)
+RestoreFacingDirectionAndYScreenPos:
ld a, [wSavedPlayerScreenY]
ld [wSpriteStateData1 + 4], a
ld a, [wSavedPlayerFacingDirection]
@@ -347,14 +347,14 @@ RestoreFacingDirectionAndYScreenPos: ; 707d2 (1c:47d2)
ret
; if SGB, 2 frames, else 3 frames
-GetPlayerTeleportAnimFrameDelay: ; 707df (1c:47df)
+GetPlayerTeleportAnimFrameDelay:
ld a, [wOnSGB]
xor $1
inc a
inc a
ret
-IsPlayerStandingOnWarpPadOrHole: ; 707e7 (1c:47e7)
+IsPlayerStandingOnWarpPadOrHole:
ld b, 0
ld hl, .warpPadAndHoleData
ld a, [wCurMapTileset]
@@ -381,14 +381,14 @@ IsPlayerStandingOnWarpPadOrHole: ; 707e7 (1c:47e7)
ret
; format: db tileset id, tile id, value to be put in [wStandingOnWarpPadOrHole]
-.warpPadAndHoleData: ; 70809 (1c:4809)
+.warpPadAndHoleData:
db FACILITY, $20, 1 ; warp pad
db FACILITY, $11, 2 ; hole
db CAVERN, $22, 2 ; hole
db INTERIOR, $55, 1 ; warp pad
db $FF
-FishingAnim: ; 70816 (1c:4816)
+FishingAnim:
ld c, 10
call DelayFrames
ld hl, wd736
@@ -469,19 +469,19 @@ FishingAnim: ; 70816 (1c:4816)
ld [hl], a
ret
-NoNibbleText: ; 708a8 (1c:48a8)
+NoNibbleText:
TX_FAR _NoNibbleText
db "@"
-NothingHereText: ; 708ad (1c:48ad)
+NothingHereText:
TX_FAR _NothingHereText
db "@"
-ItsABiteText: ; 708b2 (1c:48b2)
+ItsABiteText:
TX_FAR _ItsABiteText
db "@"
-FishingRodOAM: ; 708b7 (1c:48b7)
+FishingRodOAM:
; specifies how the fishing rod should be drawn on the screen
; first byte = screen y coordinate
; second byte = screen x coordinate
@@ -492,7 +492,7 @@ FishingRodOAM: ; 708b7 (1c:48b7)
db $50, $40, $FE, $00 ; player facing left
db $50, $58, $FE, $20 ; player facing right ($20 means "horizontally flip the tile")
-RedFishingTiles: ; 708c7 (1c:48c7)
+RedFishingTiles:
dw RedFishingTilesFront
db 2, BANK(RedFishingTilesFront)
dw vNPCSprites + $20
@@ -509,7 +509,7 @@ RedFishingTiles: ; 708c7 (1c:48c7)
db 3, BANK(RedFishingRodTiles)
dw vNPCSprites2 + $7d0
-_HandleMidJump: ; 708df (1c:48df)
+_HandleMidJump:
ld a, [wPlayerJumpingYScreenCoordsIndex]
ld c, a
inc a
@@ -541,6 +541,6 @@ _HandleMidJump: ; 708df (1c:48df)
ld [wJoyIgnore], a
ret
-PlayerJumpingYScreenCoords: ; 7091b (1c:491b)
+PlayerJumpingYScreenCoords:
; Sequence of y screen coordinates for player's sprite when jumping over a ledge.
db $38, $36, $34, $32, $31, $30, $30, $30, $31, $32, $33, $34, $36, $38, $3C, $3C
diff --git a/engine/overworld/pokecenter.asm b/engine/overworld/pokecenter.asm
index 0f355889..1801d9e9 100755
--- a/engine/overworld/pokecenter.asm
+++ b/engine/overworld/pokecenter.asm
@@ -1,4 +1,4 @@
-DisplayPokemonCenterDialogue_: ; 6d97 (1:6d97)
+DisplayPokemonCenterDialogue_:
ld a, [wCurMap]
cp PEWTER_POKECENTER
jr nz, .regularCenter
@@ -97,7 +97,7 @@ DisplayPokemonCenterDialogue_: ; 6d97 (1:6d97)
call UpdateSprites
ret
-Func_6eaa: ; 6eaa (1:6eaa)
+Func_6eaa:
ld a, $1
ld [H_SPRITEINDEX], a
ld a, $4
@@ -107,7 +107,7 @@ Func_6eaa: ; 6eaa (1:6eaa)
call DelayFrames
ret
-Func_6ebb: ; 6ebb (1:6ebb)
+Func_6ebb:
ld a, b
ld [H_SPRITEINDEX], a
ld a, c
@@ -122,28 +122,28 @@ Func_6ebb: ; 6ebb (1:6ebb)
call SpriteFunc_34a1
ret
-PokemonCenterWelcomeText: ; 6de0 (1:6de0)
+PokemonCenterWelcomeText:
TX_FAR _PokemonCenterWelcomeText
db "@"
-ShallWeHealYourPokemonText: ; 6de5 (1:6de5)
+ShallWeHealYourPokemonText:
db $a
TX_FAR _ShallWeHealYourPokemonText
db "@"
-NeedYourPokemonText: ; 6deb (1:6deb)
+NeedYourPokemonText:
TX_FAR _NeedYourPokemonText
db "@"
-PokemonFightingFitText: ; 6ee0 (1:6ee0)
+PokemonFightingFitText:
TX_FAR _PokemonFightingFitText
db "@"
-PokemonCenterFarewellText: ; 6ee5 (1:6ee5)
+PokemonCenterFarewellText:
db $a
TX_FAR _PokemonCenterFarewellText
db "@"
-LooksContentText: ; 6eeb (1:6eeb)
+LooksContentText:
TX_FAR _LooksContentText
- db "@" \ No newline at end of file
+ db "@"
diff --git a/engine/overworld/pokemart.asm b/engine/overworld/pokemart.asm
index ca3f8991..823939b1 100755
--- a/engine/overworld/pokemart.asm
+++ b/engine/overworld/pokemart.asm
@@ -1,4 +1,4 @@
-DisplayPokemartDialogue_: ; 69a5 (1:69a5)
+DisplayPokemartDialogue_:
ld a,[wListScrollOffset]
ld [wSavedListScrollOffset],a
call UpdateSprites
@@ -227,46 +227,46 @@ DisplayPokemartDialogue_: ; 69a5 (1:69a5)
ld [wListScrollOffset],a
ret
-PokemartBuyingGreetingText: ; 6b91 (1:6b91)
+PokemartBuyingGreetingText:
TX_FAR _PokemartBuyingGreetingText
db "@"
-PokemartTellBuyPriceText: ; 6b96 (1:6b96)
+PokemartTellBuyPriceText:
TX_FAR _PokemartTellBuyPriceText
db "@"
-PokemartBoughtItemText: ; 6b9b (1:6b9b)
+PokemartBoughtItemText:
TX_FAR _PokemartBoughtItemText
db "@"
-PokemartNotEnoughMoneyText: ; 6ba0 (1:6ba0)
+PokemartNotEnoughMoneyText:
TX_FAR _PokemartNotEnoughMoneyText
db "@"
-PokemartItemBagFullText: ; 6ba5 (1:6ba5)
+PokemartItemBagFullText:
TX_FAR _PokemartItemBagFullText
db "@"
-PokemonSellingGreetingText: ; 6baa (1:6baa)
+PokemonSellingGreetingText:
TX_FAR _PokemonSellingGreetingText
db "@"
-PokemartTellSellPriceText: ; 6baf (1:6baf)
+PokemartTellSellPriceText:
TX_FAR _PokemartTellSellPriceText
db "@"
-PokemartItemBagEmptyText: ; 6bb4 (1:6bb4)
+PokemartItemBagEmptyText:
TX_FAR _PokemartItemBagEmptyText
db "@"
-PokemartUnsellableItemText: ; 6bb9 (1:6bb9)
+PokemartUnsellableItemText:
TX_FAR _PokemartUnsellableItemText
db "@"
-PokemartThankYouText: ; 6bbe (1:6bbe)
+PokemartThankYouText:
TX_FAR _PokemartThankYouText
db "@"
-PokemartAnythingElseText: ; 6bc3 (1:6bc3)
+PokemartAnythingElseText:
TX_FAR _PokemartAnythingElseText
db "@"
diff --git a/engine/overworld/print_safari_steps.asm b/engine/overworld/print_safari_steps.asm
index 3f2ada03..01dd34e0 100644
--- a/engine/overworld/print_safari_steps.asm
+++ b/engine/overworld/print_safari_steps.asm
@@ -1,4 +1,4 @@
-PrintSafariZoneSteps: ; c27b (3:427b)
+PrintSafariZoneSteps:
ld a, [wCurMap]
cp SAFARI_ZONE_EAST
ret c
@@ -29,8 +29,8 @@ PrintSafariZoneSteps: ; c27b (3:427b)
lb bc, 1, 2
jp PrintNumber
-SafariSteps: ; c2c4 (3:42c4)
+SafariSteps:
db "/500@"
-SafariBallText: ; c5c9 (3:42c9)
- db "BALL×× @" \ No newline at end of file
+SafariBallText:
+ db "BALL×× @"
diff --git a/engine/overworld/replace_tile_block.asm b/engine/overworld/replace_tile_block.asm
index 32c652ea..8577b9e7 100644
--- a/engine/overworld/replace_tile_block.asm
+++ b/engine/overworld/replace_tile_block.asm
@@ -2,7 +2,7 @@
; and redraws the map view if necessary
; b = Y
; c = X
-ReplaceTileBlock: ; ed1b (3:6d1b)
+ReplaceTileBlock:
call GetPredefRegisters
ld hl, wOverworldMap
ld a, [wCurMapWidth]
@@ -46,7 +46,7 @@ ReplaceTileBlock: ; ed1b (3:6d1b)
call CompareHLWithBC
ret c ; return if the replaced tile block is above the map view in memory
-RedrawMapView: ; ed59 (3:6d59)
+RedrawMapView:
ld a, [wIsInBattle]
inc a
ret z
@@ -117,10 +117,10 @@ RedrawMapView: ; ed59 (3:6d59)
ld [H_AUTOBGTRANSFERENABLED], a
ret
-CompareHLWithBC: ; edcb (3:6dcb)
+CompareHLWithBC:
ld a, h
sub b
ret nz
ld a, l
sub c
- ret \ No newline at end of file
+ ret
diff --git a/engine/overworld/saffron_guards.asm b/engine/overworld/saffron_guards.asm
index 83d73d02..3b26b6f8 100755
--- a/engine/overworld/saffron_guards.asm
+++ b/engine/overworld/saffron_guards.asm
@@ -1,4 +1,4 @@
-RemoveGuardDrink: ; 5a53a (16:653a)
+RemoveGuardDrink:
ld hl, GuardDrinksList
.drinkLoop
ld a, [hli]
@@ -12,5 +12,5 @@ RemoveGuardDrink: ; 5a53a (16:653a)
jr z, .drinkLoop
jpba RemoveItemByID
-GuardDrinksList: ; 5a552 (16:6552)
+GuardDrinksList:
db FRESH_WATER, SODA_POP, LEMONADE, $00
diff --git a/engine/overworld/set_blackout_map.asm b/engine/overworld/set_blackout_map.asm
index 5faef173..9bfe82bd 100644
--- a/engine/overworld/set_blackout_map.asm
+++ b/engine/overworld/set_blackout_map.asm
@@ -1,4 +1,4 @@
-SetLastBlackoutMap: ; 6ef0 (1:6ef0)
+SetLastBlackoutMap:
; Set the map to return to when
; blacking out or using Teleport or Dig.
; Safari rest houses don't count.
@@ -22,8 +22,8 @@ SetLastBlackoutMap: ; 6ef0 (1:6ef0)
pop hl
ret
-SafariZoneRestHouses: ; 6f0a (1:6f0a)
+SafariZoneRestHouses:
db SAFARI_ZONE_REST_HOUSE_2
db SAFARI_ZONE_REST_HOUSE_3
db SAFARI_ZONE_REST_HOUSE_4
- db -1 \ No newline at end of file
+ db -1
diff --git a/engine/overworld/special_warps.asm b/engine/overworld/special_warps.asm
index 8c1b4159..4814e668 100644
--- a/engine/overworld/special_warps.asm
+++ b/engine/overworld/special_warps.asm
@@ -1,4 +1,4 @@
-SpecialWarpIn: ; 6042 (1:6042)
+SpecialWarpIn:
call LoadSpecialWarpData
predef LoadTilesetHeader
ld hl,wd732
@@ -29,7 +29,7 @@ SpecialWarpIn: ; 6042 (1:6042)
ret
; gets the map ID, tile block map view pointer, tileset, and coordinates
-LoadSpecialWarpData: ; 6073 (1:6073)
+LoadSpecialWarpData:
ld a, [wd72d]
cp TRADE_CENTER
jr nz, .notTradeCenter
@@ -144,4 +144,4 @@ LoadSpecialWarpData: ; 6073 (1:6073)
ld [wXOffsetSinceLastSpecialWarp], a
ld a, $ff ; the player's coordinates have already been updated using a special warp, so don't use any of the normal warps
ld [wDestinationWarpID], a
- ret \ No newline at end of file
+ ret
diff --git a/engine/overworld/ssanne.asm b/engine/overworld/ssanne.asm
index d0d957be..347dc459 100755
--- a/engine/overworld/ssanne.asm
+++ b/engine/overworld/ssanne.asm
@@ -1,4 +1,4 @@
-AnimateBoulderDust: ; 7a0fb (1e:60fb)
+AnimateBoulderDust:
ld a, $1
ld [wWhichAnimationOffsets], a ; select the boulder dust offsets
ld a, [wUpdateSpritesEnabled]
@@ -31,7 +31,7 @@ AnimateBoulderDust: ; 7a0fb (1e:60fb)
ld [wUpdateSpritesEnabled], a
jp LoadPlayerSpriteGraphics
-GetMoveBoulderDustFunctionPointer: ; 7913f (1e:613f)
+GetMoveBoulderDustFunctionPointer:
ld a, [wPlayerFacingDirection] ; player's sprite facing direction
ld hl, MoveBoulderDustFunctionPointerTable
ld c, a
@@ -53,7 +53,7 @@ GetMoveBoulderDustFunctionPointer: ; 7913f (1e:613f)
pop hl
ret
-MoveBoulderDustFunctionPointerTable: ; 7a15d (1e:615d)
+MoveBoulderDustFunctionPointerTable:
; facing down
db $FF,$00
dw AdjustOAMBlockYPos
@@ -70,7 +70,7 @@ MoveBoulderDustFunctionPointerTable: ; 7a15d (1e:615d)
db $FF,$01
dw AdjustOAMBlockXPos
-LoadSmokeTileFourTimes: ; 7916d (1e:616d)
+LoadSmokeTileFourTimes:
ld hl, vChars1 + $7c0
ld c, $4
.loop
@@ -85,11 +85,11 @@ LoadSmokeTileFourTimes: ; 7916d (1e:616d)
jr nz, .loop
ret
-LoadSmokeTile: ; 7a181 (1e:6181)
+LoadSmokeTile:
ld de, SSAnneSmokePuffTile
lb bc, BANK(SSAnneSmokePuffTile), (SSAnneSmokePuffTileEnd - SSAnneSmokePuffTile) / $10
jp CopyVideoData
-SSAnneSmokePuffTile: ; 7a18a (1e:618a)
+SSAnneSmokePuffTile:
INCBIN "gfx/ss_anne_smoke_puff.2bpp"
SSAnneSmokePuffTileEnd:
diff --git a/engine/overworld/step_functions.asm b/engine/overworld/step_functions.asm
index bc1a74aa..84b09291 100644
--- a/engine/overworld/step_functions.asm
+++ b/engine/overworld/step_functions.asm
@@ -1,4 +1,4 @@
-ApplyOutOfBattlePoisonDamage: ; c3de (3:43de)
+ApplyOutOfBattlePoisonDamage:
ld a, [wd730]
add a
jp c, .noBlackOut ; no black out if joypad states are being simulated
@@ -124,7 +124,7 @@ ApplyOutOfBattlePoisonDamage: ; c3de (3:43de)
ld [wOutOfBattleBlackout], a
ret
-Func_c4c7: ; c4c7 (3:44c7)
+Func_c4c7:
ld a, [wStepCounter]
and a
jr nz, .asm_c4de
@@ -148,4 +148,4 @@ Func_c4c7: ; c4c7 (3:44c7)
.asm_c4ef
xor a
ld [wd49c], a
- ret \ No newline at end of file
+ ret
diff --git a/engine/overworld/trainers.asm b/engine/overworld/trainers.asm
index 9dee81bd..3ee19e8a 100755
--- a/engine/overworld/trainers.asm
+++ b/engine/overworld/trainers.asm
@@ -1,4 +1,4 @@
-_GetSpritePosition1: ; 56745 (15:6745)
+_GetSpritePosition1:
ld hl, wSpriteStateData1
ld de, $4
ld a, [wSpriteIndex]
@@ -17,7 +17,7 @@ _GetSpritePosition1: ; 56745 (15:6745)
ld [$ffee], a
ret
-_GetSpritePosition2: ; 56765 (15:6765)
+_GetSpritePosition2:
ld hl, wSpriteStateData1
ld de, $4
ld a, [wSpriteIndex]
@@ -36,7 +36,7 @@ _GetSpritePosition2: ; 56765 (15:6765)
ld [wSavedSpriteMapX], a
ret
-_SetSpritePosition1: ; 56789 (15:6789)
+_SetSpritePosition1:
ld hl, wSpriteStateData1
ld de, $4
ld a, [wSpriteIndex]
@@ -55,7 +55,7 @@ _SetSpritePosition1: ; 56789 (15:6789)
ld [hl], a
ret
-_SetSpritePosition2: ; 567a9 (15:67a9)
+_SetSpritePosition2:
ld hl, wSpriteStateData1
ld de, $4
ld a, [wSpriteIndex]
@@ -74,7 +74,7 @@ _SetSpritePosition2: ; 567a9 (15:67a9)
ld [hl], a ; c2x5 (map X pos)
ret
-TrainerWalkUpToPlayer: ; 567cd (15:67cd)
+TrainerWalkUpToPlayer:
ld a, [wSpriteIndex]
swap a
ld [wTrainerSpriteOffset], a
@@ -149,7 +149,7 @@ TrainerWalkUpToPlayer: ; 567cd (15:67cd)
; input: de = offset within sprite entry
; output: hl = pointer to sprite data
-GetSpriteDataPointer: ; 5684f (15:684f)
+GetSpriteDataPointer:
push de
add hl, de
ld a, [H_SPRITEINDEX]
@@ -161,7 +161,7 @@ GetSpriteDataPointer: ; 5684f (15:684f)
ret
; tests if this trainer is in the right position to engage the player and do so if she is.
-TrainerEngage: ; 5685b (15:685b)
+TrainerEngage:
push hl
push de
ld a, [wTrainerSpriteOffset]
@@ -232,7 +232,7 @@ TrainerEngage: ; 5685b (15:685b)
ret
; reads trainer's Y position to wTrainerScreenY and X position to wTrainerScreenX
-ReadTrainerScreenPosition: ; 568da (15:68da)
+ReadTrainerScreenPosition:
ld a, [wTrainerSpriteOffset]
add $4
ld d, $0
@@ -254,7 +254,7 @@ ReadTrainerScreenPosition: ; 568da (15:68da)
; checks if the sprite is properly lined up with the player with respect to the direction it's looking. Also checks the distance between player and sprite
; note that this does not necessarily mean the sprite is seeing the player, he could be behind it's back
; a: distance player to sprite
-CheckSpriteCanSeePlayer: ; 569af (15:69af)
+CheckSpriteCanSeePlayer:
ld b, a
ld a, [wTrainerEngageDistance] ; how far the trainer can see
cp b
@@ -290,7 +290,7 @@ CheckSpriteCanSeePlayer: ; 569af (15:69af)
ret
; tests if the player is in front of the sprite (rather than behind it)
-CheckPlayerIsInFrontOfSprite: ; 5692f (15:692f)
+CheckPlayerIsInFrontOfSprite:
ld a, [wCurMap]
cp POWER_PLANT
jp z, .engage ; bypass this for power plant to get voltorb fake items to work
diff --git a/engine/overworld/try_pushing_boulder.asm b/engine/overworld/try_pushing_boulder.asm
index b7e04092..a00790b9 100644
--- a/engine/overworld/try_pushing_boulder.asm
+++ b/engine/overworld/try_pushing_boulder.asm
@@ -1,8 +1,8 @@
-TryPushingBoulder: ; f0a1 (3:70a1)
+TryPushingBoulder:
ld a, [wd728]
bit 0, a ; using Strength?
ret z
-Func_f0a7: ; f0a7 (3:70a7)
+Func_f0a7:
; where LoadMissableObjects predef points to now
ld a, [wFlags_0xcd60]
bit 1, a ; has boulder dust animation from previous push played yet?
@@ -72,19 +72,19 @@ Func_f0a7: ; f0a7 (3:70a7)
set 1, [hl]
ret
-PushBoulderUpMovementData: ; f129 (3:7129)
+PushBoulderUpMovementData:
db NPC_MOVEMENT_UP,$FF
-PushBoulderDownMovementData: ; f12b (3:712b)
+PushBoulderDownMovementData:
db NPC_MOVEMENT_DOWN,$FF
-PushBoulderLeftMovementData: ; f12d (3:712d)
+PushBoulderLeftMovementData:
db NPC_MOVEMENT_LEFT,$FF
-PushBoulderRightMovementData: ; f12f (3:712f)
+PushBoulderRightMovementData:
db NPC_MOVEMENT_RIGHT,$FF
-DoBoulderDustAnimation: ; f131 (3:7131)
+DoBoulderDustAnimation:
ld a, [wd730]
bit 0, a
ret nz
@@ -100,8 +100,8 @@ DoBoulderDustAnimation: ; f131 (3:7131)
ld a, SFX_CUT
jp PlaySound
-ResetBoulderPushFlags: ; f159 (3:7159)
+ResetBoulderPushFlags:
ld hl, wFlags_0xcd60
res 1, [hl]
res 6, [hl]
- ret \ No newline at end of file
+ ret
diff --git a/engine/palettes.asm b/engine/palettes.asm
index 636e5e97..9418fb72 100755
--- a/engine/palettes.asm
+++ b/engine/palettes.asm
@@ -1,4 +1,4 @@
-_RunPaletteCommand: ; 71ddf (1c:5ddf)
+_RunPaletteCommand:
call GetPredefRegisters
ld a, b
cp $ff
@@ -19,13 +19,13 @@ _RunPaletteCommand: ; 71ddf (1c:5ddf)
push de
jp [hl]
-SetPal_Black: ; 71ed3 (1c:5ed3)
+SetPal_Black:
ld hl, PalPacket_Black
ld de, BlkPacket_Battle
ret
; uses PalPacket_Empty to build a packet based on mon IDs and health color
-SetPal_Battle: ; 71eda (1c:5eda)
+SetPal_Battle:
ld hl, PalPacket_Empty
ld de, wPalPacket
ld bc, $10
@@ -66,13 +66,13 @@ SetPal_Battle: ; 71eda (1c:5eda)
ld [wDefaultPaletteCommand], a
ret
-SetPal_TownMap: ; 71f26 (1c:5f26)
+SetPal_TownMap:
ld hl, PalPacket_TownMap
ld de, BlkPacket_WholeScreen
ret
; uses PalPacket_Empty to build a packet based the mon ID
-SetPal_StatusScreen: ; 71f2d (1c:5f2d)
+SetPal_StatusScreen:
ld hl, PalPacket_Empty
ld de, wPalPacket
ld bc, $10
@@ -95,12 +95,12 @@ SetPal_StatusScreen: ; 71f2d (1c:5f2d)
ld de, BlkPacket_StatusScreen
ret
-SetPal_PartyMenu: ; 71f59 (1c:5f59)
+SetPal_PartyMenu:
ld hl, PalPacket_PartyMenu
ld de, wPartyMenuBlkPacket
ret
-SetPal_Pokedex: ; 71f60 (1c:5f60)
+SetPal_Pokedex:
ld hl, PalPacket_Pokedex
ld de, wPalPacket
ld bc, $10
@@ -113,28 +113,28 @@ SetPal_Pokedex: ; 71f60 (1c:5f60)
ld de, BlkPacket_Pokedex
ret
-SetPal_Slots: ; 71f7d (1c:5f7d)
+SetPal_Slots:
ld hl, PalPacket_Slots
ld de, BlkPacket_Slots
ret
-SetPal_Titlescreen: ; 71f84 (1c:5f84)
+SetPal_Titlescreen:
ld hl, PalPacket_Titlescreen
ld de, BlkPacket_Titlescreen
ret
; used mostly for menus and the Oak intro
-SetPal_Generic: ; 71f8b (1c:5f8b)
+SetPal_Generic:
ld hl, PalPacket_Generic
ld de, BlkPacket_WholeScreen
ret
-SetPal_NidorinoIntro: ; 71f92 (1c:5f92)
+SetPal_NidorinoIntro:
ld hl, PalPacket_NidorinoIntro
ld de, BlkPacket_NidorinoIntro
ret
-SetPal_GameFreakIntro: ; 71f99 (1c:5f99)
+SetPal_GameFreakIntro:
ld hl, PalPacket_GameFreakIntro
ld de, BlkPacket_GameFreakIntro
ld a, SET_PAL_GENERIC
@@ -142,7 +142,7 @@ SetPal_GameFreakIntro: ; 71f99 (1c:5f99)
ret
; uses PalPacket_Empty to build a packet based on the current map
-SetPal_Overworld: ; 71fa5 (1c:5fa5)
+SetPal_Overworld:
ld hl, PalPacket_Empty
ld de, wPalPacket
ld bc, $10
@@ -200,7 +200,7 @@ SetPal_Overworld: ; 71fa5 (1c:5fa5)
; used when a Pokemon is the only thing on the screen
; such as evolution, trading and the Hall of Fame
-SetPal_PokemonWholeScreen: ; 72001 (1c:6001)
+SetPal_PokemonWholeScreen:
push bc
ld hl, PalPacket_Empty
ld de, wPalPacket
@@ -219,7 +219,7 @@ SetPal_PokemonWholeScreen: ; 72001 (1c:6001)
ld de, BlkPacket_WholeScreen
ret
-SetPal_TrainerCard: ; 72025 (1c:6025)
+SetPal_TrainerCard:
ld hl, BlkPacket_TrainerCard
ld de, wTrainerCardBlkPacket
ld bc, $40
@@ -259,17 +259,17 @@ SetPal_TrainerCard: ; 72025 (1c:6025)
ld de, wTrainerCardBlkPacket
ret
-SendUnknownPalPacket_7205d:: ; 7205d (1c:605d)
+SendUnknownPalPacket_7205d::
ld hl, UnknownPalPacket_72811
ld de, BlkPacket_WholeScreen
ret
-SendUnknownPalPacket_72064:: ; 72064 (1c:6064)
+SendUnknownPalPacket_72064::
ld hl, UnknownPalPacket_72821
ld de, UnknownPacket_72751
ret
-SetPalFunctions: ; 7206b (1c:606b)
+SetPalFunctions:
dw SetPal_Black
dw SetPal_Battle
dw SetPal_TownMap
@@ -289,7 +289,7 @@ SetPalFunctions: ; 7206b (1c:606b)
; The length of the blk data of each badge on the Trainer Card.
; The Rainbow Badge has 3 entries because of its many colors.
-BadgeBlkDataLengths: ; 7208b (1c:608b)
+BadgeBlkDataLengths:
db 6 ; Boulder Badge
db 6 ; Cascade Badge
db 6 ; Thunder Badge
@@ -299,9 +299,9 @@ BadgeBlkDataLengths: ; 7208b (1c:608b)
db 6 ; Volcano Badge
db 6 ; Earth Badge
-DeterminePaletteID: ; 72093 (1c:6093)
+DeterminePaletteID:
ld a, [hl]
-DeterminePaletteIDOutOfBattle: ; 72094 (1c:6094)
+DeterminePaletteIDOutOfBattle:
ld [wd11e], a
and a ; is the mon index 0?
jr z, .skipDexNumConversion
@@ -317,7 +317,7 @@ DeterminePaletteIDOutOfBattle: ; 72094 (1c:6094)
ld a, [hl]
ret
-YellowIntroPaletteAction:: ; 720ad (1c:60ad)
+YellowIntroPaletteAction::
ld a, e
and a
jr nz, .asm_720bd
@@ -347,7 +347,7 @@ YellowIntroPaletteAction:: ; 720ad (1c:60ad)
call TransferCurBGPData
ret
-LoadOverworldPikachuFrontpicPalettes:: ; 720e3 (1c:60e3)
+LoadOverworldPikachuFrontpicPalettes::
ld hl, PalPacket_Empty
ld de, wPalPacket
ld bc, $10
@@ -395,7 +395,7 @@ LoadOverworldPikachuFrontpicPalettes:: ; 720e3 (1c:60e3)
.okay_2
ret
-GetPal_Pikachu:: ; 7213b (1c:613b)
+GetPal_Pikachu::
; similar to SetPal_Overworld
ld a, [wCurMapTileset]
cp CEMETERY
@@ -443,13 +443,13 @@ GetPal_Pikachu:: ; 7213b (1c:613b)
ld a, PAL_GREYMON - 1
jr .town
-InitPartyMenuBlkPacket: ; 7217f (1c:617f)
+InitPartyMenuBlkPacket:
ld hl, BlkPacket_PartyMenu
ld de, wPartyMenuBlkPacket
ld bc, $30
jp CopyData
-UpdatePartyMenuBlkPacket: ; 7218b (1c:618b)
+UpdatePartyMenuBlkPacket:
; Update the blk packet with the palette of the HP bar that is
; specified in [wWhichPartyMenuHPBar].
ld hl, wPartyMenuHPBarColors
@@ -477,7 +477,7 @@ UpdatePartyMenuBlkPacket: ; 7218b (1c:618b)
ld [hl], e
ret
-SendSGBPacket: ; 721b4 (1c:61b4)
+SendSGBPacket:
ld a, 1
ld [hDisableJoypadPolling], a ; don't poll joypad while sending packet
call _SendSGBPacket
@@ -485,7 +485,7 @@ SendSGBPacket: ; 721b4 (1c:61b4)
ld [hDisableJoypadPolling], a
ret
-_SendSGBPacket: ; 71feb (1c:5feb)
+_SendSGBPacket:
;check number of packets
ld a, [hl]
and a, $07
@@ -546,7 +546,7 @@ _SendSGBPacket: ; 71feb (1c:5feb)
; else send 16 more bytes
jr .loop2
-LoadSGB: ; 721f8 (1c:61f8)
+LoadSGB:
xor a
ld [wOnSGB], a
call CheckSGB
@@ -583,7 +583,7 @@ LoadSGB: ; 721f8 (1c:61f8)
ld hl, MaskEnCancelPacket
jp SendSGBPacket
-PrepareSuperNintendoVRAMTransfer: ; 72247 (1c:6247)
+PrepareSuperNintendoVRAMTransfer:
ld hl, .packetPointers
ld c, 9
.loop
@@ -612,7 +612,7 @@ PrepareSuperNintendoVRAMTransfer: ; 72247 (1c:6247)
dw DataSnd_72901
dw DataSnd_72911
-CheckSGB: ; 7226d (1c:626d)
+CheckSGB:
ld hl, MltReq2Packet
call SendSGBPacket
call Wait7000
@@ -659,12 +659,12 @@ CheckSGB: ; 7226d (1c:626d)
scf
ret
-SendMltReq1Packet: ; 722ce (1c:62ce)
+SendMltReq1Packet:
ld hl, MltReq1Packet
call SendSGBPacket
jp Wait7000
-CopyGfxToSuperNintendoVRAM: ; 722d7 (1c:62d7)
+CopyGfxToSuperNintendoVRAM:
di
push de
call DisableLCD
@@ -705,7 +705,7 @@ CopyGfxToSuperNintendoVRAM: ; 722d7 (1c:62d7)
ei
ret
-Wait7000: ; 7231c (1c:631c)
+Wait7000:
; Each loop takes 9 cycles so this routine actually waits 63000 cycles.
ld de, 7000
.loop
@@ -718,7 +718,7 @@ Wait7000: ; 7231c (1c:631c)
jr nz, .loop
ret
-SendSGBPackets: ; 72328 (1c:6328)
+SendSGBPackets:
ld a, [hGBC]
and a
jr z, .notGBC
@@ -737,7 +737,7 @@ SendSGBPackets: ; 72328 (1c:6328)
pop hl
jp SendSGBPacket
-InitGBCPalettes: ; 72346 (1c:6346)
+InitGBCPalettes:
ld a, [hl]
and $f8
cp $20
@@ -785,7 +785,7 @@ index = index + 1
ret
-GetGBCBasePalAddress:: ; 723fe (1c:63fe)
+GetGBCBasePalAddress::
; Input: a = palette ID
; Output: de = palette address
push hl
@@ -804,7 +804,7 @@ GetGBCBasePalAddress:: ; 723fe (1c:63fe)
pop hl
ret
-DMGPalToGBCPal:: ; 7240f (1c:640f)
+DMGPalToGBCPal::
; Populate wGBCPal with colors from a base palette, selected using one of the
; DMG palette registers.
; Input:
@@ -845,7 +845,7 @@ color_index = color_index + 1
ENDR
ret
-.GetColorAddress: ; 7246a (1c:646a)
+.GetColorAddress:
add a
ld l, a
xor a
@@ -853,7 +853,7 @@ color_index = color_index + 1
add hl, de
ret
-TransferCurBGPData:: ; 72470 (1c:6470)
+TransferCurBGPData::
push de
add a
add a
@@ -878,7 +878,7 @@ TransferCurBGPData:: ; 72470 (1c:6470)
pop de
ret
-BufferBGPPal:: ; 724a2 (1c:64a2)
+BufferBGPPal::
; Copy wGBCPal to palette a in wBGPPalsBuffer.
push de
add a
@@ -900,7 +900,7 @@ BufferBGPPal:: ; 724a2 (1c:64a2)
pop de
ret
-TransferBGPPals:: ; 724ba (1c:64ba)
+TransferBGPPals::
; Transfer the buffered BG palettes.
ld a, [rLCDC]
and rLCDC_ENABLE_MASK
@@ -915,7 +915,7 @@ TransferBGPPals:: ; 724ba (1c:64ba)
ei
ret
-.DoTransfer: ; 724cc (1c:64cc)
+.DoTransfer:
xor a
or $80 ; auto-increment
ld [rBGPI], a
@@ -929,7 +929,7 @@ TransferBGPPals:: ; 724ba (1c:64ba)
jr nz, .loop
ret
-TransferCurOBPData: ; 724df (1c:64df)
+TransferCurOBPData:
push de
add a
add a
@@ -954,7 +954,7 @@ TransferCurOBPData: ; 724df (1c:64df)
pop de
ret
-TransferPalColorLCDEnabled: ; 72511 (1c:6511)
+TransferPalColorLCDEnabled:
; Transfer a palette color while the LCD is enabled.
; In case we're already in H-blank or V-blank, wait for it to end. This is a
@@ -970,7 +970,7 @@ TransferPalColorLCDEnabled: ; 72511 (1c:6511)
jr nz, .notInBlankingPeriod
; fall through
-TransferPalColorLCDDisabled: ; 7251b (1c:651b)
+TransferPalColorLCDDisabled:
; Transfer a palette color while the LCD is disabled.
ld a, [hli]
ld [de], a
@@ -978,13 +978,13 @@ TransferPalColorLCDDisabled: ; 7251b (1c:651b)
ld [de], a
ret
-_UpdateGBCPal_BGP_CheckDMG:: ; 72520 (1c:6520)
+_UpdateGBCPal_BGP_CheckDMG::
ld a, [hGBC]
and a
ret z
; fall through
-_UpdateGBCPal_BGP:: ; 72524 (1c:6524)
+_UpdateGBCPal_BGP::
index = 0
REPT NUM_ACTIVE_PALS
@@ -1003,7 +1003,7 @@ index = index + 1
call TransferBGPPals
ret
-_UpdateGBCPal_OBP:: ; 7256c (1c:656c)
+_UpdateGBCPal_OBP::
index = 0
REPT NUM_ACTIVE_PALS
@@ -1033,7 +1033,7 @@ index = index + 1
ret
-TranslatePalPacketToBGMapAttributes:: ; 725be (1c:65be)
+TranslatePalPacketToBGMapAttributes::
; translate the SGB pal packets into something usable for the GBC
push hl
pop de
@@ -1064,7 +1064,7 @@ TranslatePalPacketToBGMapAttributes:: ; 725be (1c:65be)
callba LoadBGMapAttributes
ret
-PalPacketPointers:: ; 725e2 (1c:65e2)
+PalPacketPointers::
db (palPacketPointersEnd - palPacketPointers) / 2
palPacketPointers
dw BlkPacket_WholeScreen
@@ -1081,7 +1081,7 @@ palPacketPointers
dw UnknownPacket_72751
palPacketPointersEnd
-CopySGBBorderTiles: ; 725fb (1c:65fb)
+CopySGBBorderTiles:
; SGB tile data is stored in a 4BPP planar format.
; Each tile is 32 bytes. The first 16 bytes contain bit planes 1 and 2, while
; the second 16 bytes contain bit planes 3 and 4.
@@ -1117,4 +1117,4 @@ INCLUDE "data/mon_palettes.asm"
INCLUDE "data/super_palettes.asm"
-INCLUDE "data/sgb_border.asm" \ No newline at end of file
+INCLUDE "data/sgb_border.asm"
diff --git a/engine/pikachu_emotions.asm b/engine/pikachu_emotions.asm
index 0525d667..8702bc3f 100755
--- a/engine/pikachu_emotions.asm
+++ b/engine/pikachu_emotions.asm
@@ -1,4 +1,4 @@
-IsPlayerTalkingToPikachu: ; fcf0c (3f:4f0c)
+IsPlayerTalkingToPikachu:
ld a, [wd436]
and a
ret z
@@ -11,7 +11,7 @@ IsPlayerTalkingToPikachu: ; fcf0c (3f:4f0c)
ld [wd436], a
ret
-InitializePikachuTextID: ; fcf20 (3f:4f20)
+InitializePikachuTextID:
ld a, $d4 ; display
ld [hSpriteIndexOrTextID], a
xor a
@@ -23,7 +23,7 @@ InitializePikachuTextID: ; fcf20 (3f:4f20)
ld [wAutoTextBoxDrawingControl], a
ret
-DoStarterPikachuEmotions: ; fcf35 (3f:4f35)
+DoStarterPikachuEmotions:
ld e, a
ld d, 0
add hl, de
@@ -50,7 +50,7 @@ DoStarterPikachuEmotions: ; fcf35 (3f:4f35)
.done
ret
-StarterPikachuEmotionsJumptable: ; fcf54 (3f:4f54)
+StarterPikachuEmotionsJumptable:
dw StarterPikachuEmotionCommand_nop ; 0
dw StarterPikachuEmotionCommand_text ; 1
dw StarterPikachuEmotionCommand_pcm ; 2
@@ -63,11 +63,11 @@ StarterPikachuEmotionsJumptable: ; fcf54 (3f:4f54)
dw StarterPikachuEmotionCommand_9 ; 9
dw StarterPikachuEmotionCommand_nop3 ; a
-StarterPikachuEmotionCommand_nop: ; fcf6a (3f:4f6a)
-StarterPikachuEmotionCommand_nop3: ; fcf6a (3f:4f6a)
+StarterPikachuEmotionCommand_nop:
+StarterPikachuEmotionCommand_nop3:
ret
-StarterPikachuEmotionCommand_text: ; fcf6b (3f:4f6b)
+StarterPikachuEmotionCommand_text:
ld a, [de]
ld l, a
inc de
@@ -79,7 +79,7 @@ StarterPikachuEmotionCommand_text: ; fcf6b (3f:4f6b)
pop de
ret
-StarterPikachuEmotionCommand_pcm: ; fcf77 (3f:4f77)
+StarterPikachuEmotionCommand_pcm:
ld a, [de]
inc de
push de
@@ -89,13 +89,13 @@ StarterPikachuEmotionCommand_pcm: ; fcf77 (3f:4f77)
pop de
ret
-PlayPikachuSoundClip_: ; fcf81 (3f:4f81)
+PlayPikachuSoundClip_:
cp $ff
ret z
callab PlayPikachuSoundClip
ret
-StarterPikachuEmotionCommand_emote: ; fcf8d (3f:4f8d)
+StarterPikachuEmotionCommand_emote:
ld a, [wUpdateSpritesEnabled]
push af
ld a, $ff
@@ -109,14 +109,14 @@ StarterPikachuEmotionCommand_emote: ; fcf8d (3f:4f8d)
ld [wUpdateSpritesEnabled], a
ret
-ShowPikachuEmoteBubble: ; fcfa2 (3f:4fa2)
+ShowPikachuEmoteBubble:
ld [wWhichEmotionBubble], a
ld a, $f ; Pikachu
ld [wEmotionBubbleSpriteIndex], a
predef EmotionBubble
ret
-StarterPikachuEmotionCommand_movement: ; fcfb0 (3f:4fb0)
+StarterPikachuEmotionCommand_movement:
ld a, [de]
inc de
ld l, a
@@ -129,7 +129,7 @@ StarterPikachuEmotionCommand_movement: ; fcfb0 (3f:4fb0)
pop de
ret
-StarterPikachuEmotionCommand_delay: ; fcfbe (3f:4fbe)
+StarterPikachuEmotionCommand_delay:
ld a, [de]
inc de
push de
@@ -138,7 +138,7 @@ StarterPikachuEmotionCommand_delay: ; fcfbe (3f:4fbe)
pop de
ret
-StarterPikachuEmotionCommand_subcmd: ; fcfc7 (3f:4fc7)
+StarterPikachuEmotionCommand_subcmd:
ld a, [de]
inc de
push de
@@ -163,45 +163,45 @@ StarterPikachuEmotionCommand_subcmd: ; fcfc7 (3f:4fc7)
dw PikachuFanClubCheck
dw PikachuBillsHouseCheck
-StarterPikachuEmotionCommand_nop2: ; fcfe8 (3f:4fe8)
+StarterPikachuEmotionCommand_nop2:
ret
-StarterPikachuEmotionCommand_9: ; fcfe9 (3f:4fe9)
+StarterPikachuEmotionCommand_9:
push de
call StarterPikachuEmotionCommand_turnawayfromplayer
call UpdateSprites
pop de
ret
-StarterPikachuEmotionCommand_turnawayfromplayer: ; fcff2 (3f:4ff2)
+StarterPikachuEmotionCommand_turnawayfromplayer:
ld a, [wPlayerFacingDirection]
xor $4
ld [wPikachuFacingDirection], a
ret
-DeletedFunction_fcffb: ; fcffb (3f:4ffb)
+DeletedFunction_fcffb:
; Inexplicably empty.
rept 5
nop
endr
ret
-PlaySpecificPikachuEmotion: ; fd001 (3f:5001)
+PlaySpecificPikachuEmotion:
ld a, e
jr load_expression
-TalkToPikachu: ; fd004 (3f:5004)
+TalkToPikachu:
call MapSpecificPikachuExpression
jr c, load_expression
call GetPikaPicAnimationScriptIndex
call DeletedFunction_fcffb
-load_expression: ; fd00f (3f:500f)
+load_expression:
ld [wExpressionNumber], a
ld hl, PikachuEmotionTable
call DoStarterPikachuEmotions
ret
-PikachuEmotionTable: ; fd019 (3f:4019)
+PikachuEmotionTable:
pikaemotion_def: MACRO
\1_id: dw \1
endm
@@ -241,10 +241,10 @@ pikaemotion_def: MACRO
pikaemotion_def PikachuEmotion32
pikaemotion_def PikachuEmotion33
-PikachuEmotion33: ; fd05d (3f:505d)
+PikachuEmotion33:
db $ff
-MapSpecificPikachuExpression: ; fd05e (3f:505e)
+MapSpecificPikachuExpression:
ld a, [wCurMap]
cp POKEMON_FAN_CLUB
jr nz, .notFanClub
@@ -313,7 +313,7 @@ MapSpecificPikachuExpression: ; fd05e (3f:505e)
dpikaemotion PikachuEmotion24
dpikaemotion PikachuEmotion25
-IsPlayerPikachuAsleepInParty: ; fd0d0 (3f:50d0)
+IsPlayerPikachuAsleepInParty:
xor a
ld [wWhichPokemon], a
.loop
@@ -356,7 +356,7 @@ IsPlayerPikachuAsleepInParty: ; fd0d0 (3f:50d0)
INCLUDE "data/pikachu_emotions.asm"
-PikachuWalksToNurseJoy: ; fd252 (3f:5252)
+PikachuWalksToNurseJoy:
ld a, $40
ld [h_0xFFFC], a
call LoadPikachuSpriteIntoVRAM
diff --git a/engine/pikachu_follow.asm b/engine/pikachu_follow.asm
index 3be960f3..b5791919 100755
--- a/engine/pikachu_follow.asm
+++ b/engine/pikachu_follow.asm
@@ -1,4 +1,4 @@
-ShouldPikachuSpawn:: ; fc4dd (3f:44dd)
+ShouldPikachuSpawn::
; possibly to test if pika should be out?
ld a, [wPikachuOverworldStateFlags]
bit 5, a
@@ -18,7 +18,7 @@ ShouldPikachuSpawn:: ; fc4dd (3f:44dd)
and a
ret
-SchedulePikachuSpawnForAfterText:: ; fc4fa (3f:44fa)
+SchedulePikachuSpawnForAfterText::
ld hl, wPikachuOverworldStateFlags
bit 4, [hl]
res 4, [hl]
@@ -39,7 +39,7 @@ SchedulePikachuSpawnForAfterText:: ; fc4fa (3f:44fa)
ld [wPikachuFacingDirection], a
ret
-ClearPikachuSpriteStateData:: ; fc523 (3f:4523)
+ClearPikachuSpriteStateData::
ld hl, wPikachuPictureID
call .clear
ld hl, wPikachuSpriteStateData2
@@ -49,14 +49,14 @@ ClearPikachuSpriteStateData:: ; fc523 (3f:4523)
call FillMemory
ret
-CalculatePikachuSpawnCoordsAndFacing:: ; fc534 (3f:4534)
+CalculatePikachuSpawnCoordsAndFacing::
call CalculatePikachuPlacementCoords
call CalculatePikachuFacingDirection
xor a
ld [wPikachuSpawnState], a
ret
-CalculatePikachuPlacementCoords:: ; fc53f (3f:453f)
+CalculatePikachuPlacementCoords::
ld bc, wPikachuPictureID
ld a, [wYCoord]
add $4
@@ -145,7 +145,7 @@ CalculatePikachuPlacementCoords:: ; fc53f (3f:453f)
pop hl
ret
-CalculatePikachuFacingDirection:: ; fc5bc (3f:45bc)
+CalculatePikachuFacingDirection::
ld a, $49
ld [wPikachuPictureID], a
ld a, $ff
@@ -182,7 +182,7 @@ CalculatePikachuFacingDirection:: ; fc5bc (3f:45bc)
ld [wPikachuFacingDirection], a
ret
-CalculatePikachuSpawnState1:: ; fc5fa (3f:45fa)
+CalculatePikachuSpawnState1::
ld a, [wCurMap]
cp OAKS_LAB
jr z, .oaks_lab
@@ -234,7 +234,7 @@ CalculatePikachuSpawnState1:: ; fc5fa (3f:45fa)
ld [wPikachuSpawnState], a
ret
-Pointer_fc64b:: ; fc64b (3f:464b)
+Pointer_fc64b::
db VICTORY_ROAD_2
db ROUTE_7_GATE
db ROUTE_8_GATE
@@ -244,7 +244,7 @@ Pointer_fc64b:: ; fc64b (3f:464b)
db ROUTE_11_GATE_1F
db $ff
-Pointer_fc653:: ; fc653 (3f:4653)
+Pointer_fc653::
db VIRIDIAN_FOREST_EXIT
db CERULEAN_HOUSE_2
db TRASHED_HOUSE
@@ -254,7 +254,7 @@ Pointer_fc653:: ; fc653 (3f:4653)
db FUCHSIA_HOUSE_3
db $ff
-CalculatePikachuSpawnState2:: ; fc65b (3f:465b)
+CalculatePikachuSpawnState2::
ld a, [wCurMap]
cp VIRIDIAN_FOREST_EXIT
jr z, .viridian_forest_exit
@@ -288,7 +288,7 @@ CalculatePikachuSpawnState2:: ; fc65b (3f:465b)
ld [wPikachuSpawnState], a
ret
-Pointer_fc68e:: ; fc68e (3f:468e)
+Pointer_fc68e::
db VIRIDIAN_FOREST
db SAFARI_ZONE_REST_HOUSE_1
db SAFARI_ZONE_REST_HOUSE_2
@@ -302,7 +302,7 @@ Pointer_fc68e:: ; fc68e (3f:468e)
db CINNABAR_LAB_4
db $ff
-CalculatePikachuSpawnState3:: ; fc69a (3f:469a)
+CalculatePikachuSpawnState3::
ld a, [wCurMap]
cp ROUTE_22_GATE
jr z, .asm_fc6a7
@@ -334,21 +334,21 @@ CalculatePikachuSpawnState3:: ; fc69a (3f:469a)
ld [wPikachuSpawnState], a
ret
-SetPikachuOverworldStateFlag2:: ; fc6c5 (3f:46c5)
+SetPikachuOverworldStateFlag2::
push hl
ld hl, wPikachuOverworldStateFlags
set 2, [hl]
pop hl
ret
-ResetPikachuOverworldStateFlag2:: ; fc6cd (3f:46cd)
+ResetPikachuOverworldStateFlag2::
push hl
ld hl, wPikachuOverworldStateFlags
res 2, [hl]
pop hl
ret
-SpawnPikachu_:: ; fc6d5 (3f:46d5)
+SpawnPikachu_::
call ResetPikachuOverworldStateFlag2
call TrySpawnPikachu
ret nc
@@ -384,7 +384,7 @@ SpawnPikachu_:: ; fc6d5 (3f:46d5)
ld l, a
jp hl
-PointerTable_fc710: ; fc710 (3f:4710)
+PointerTable_fc710:
dw Func_fc793
dw Func_fc7aa
dw Func_fc803
@@ -397,10 +397,10 @@ PointerTable_fc710: ; fc710 (3f:4710)
dw asm_fc969
dw .nop
-.nop: ; fc726 (3f:4726)
+.nop:
ret
-TrySpawnPikachu: ; fc727 (3f:4727)
+TrySpawnPikachu:
call ShouldPikachuSpawn
jr nc, .dont_spawn
ld a, [wPikachuMovementStatus]
@@ -423,7 +423,7 @@ TrySpawnPikachu: ; fc727 (3f:4727)
xor a
ret
-Func_fc745: ; fc745 (3f:4745)
+Func_fc745:
ld hl, wPikachuMovementStatus - wPikachuSpriteStateData1
add hl, bc
res 7, [hl]
@@ -447,7 +447,7 @@ Func_fc745: ; fc745 (3f:4745)
call UpdatePikachuWalkingSprite
ret
-Func_fc76a: ; fc76a (3f:476a)
+Func_fc76a:
xor a
ld hl, wPikachuIntraAnimFrameCounter - wPikachuSpriteStateData1
add hl, bc
@@ -469,7 +469,7 @@ Func_fc76a: ; fc76a (3f:476a)
call RefreshPikachuFollow
ret
-Func_fc793: ; fc793 (3f:4793)
+Func_fc793:
call RefreshPikachuFollow
push bc
callab InitializeSpriteScreenPosition
@@ -481,7 +481,7 @@ Func_fc793: ; fc793 (3f:4793)
ld [hl], $1
ret
-Func_fc7aa: ; fc7aa (3f:47aa)
+Func_fc7aa:
call Func_fcc92
jp c, Func_fc803
dec a
@@ -518,7 +518,7 @@ Func_fc7aa: ; fc7aa (3f:47aa)
jp c, FastPikachuFollow
jp NormalPikachuFollow
-Pointer_fc7e3: ; fc7e3 (3f:47e3)
+Pointer_fc7e3:
db 0, 0
db 1, 3
db 4, 0
@@ -536,7 +536,7 @@ Pointer_fc7e3: ; fc7e3 (3f:47e3)
db 12, 1
db 0, 4
-Func_fc803: ; fc803 (3f:4803)
+Func_fc803:
call Func_fcae2
ret c
ld hl, wPikachuWalkAnimationCounter - wPikachuSpriteStateData1
@@ -563,14 +563,14 @@ Func_fc803: ; fc803 (3f:4803)
call UpdatePikachuWalkingSprite
ret
-Func_fc82e: ; fc82e (3f:482e)
+Func_fc82e:
ld a, [wWalkCounter]
and a
ret z
scf
ret
-Func_fc835: ; fc835 (3f:4835)
+Func_fc835:
ld hl, wPikachuWalkAnimationCounter - wPikachuSpriteStateData1
add hl, bc
ld [hl], $10
@@ -579,7 +579,7 @@ Func_fc835: ; fc835 (3f:4835)
ld [hl], $1
ret
-Func_fc842: ; fc842 (3f:4842)
+Func_fc842:
ld hl, $0
push af
call Random
@@ -596,13 +596,13 @@ Func_fc842: ; fc842 (3f:4842)
pop af
jp hl
-PointerTable_fc85a: ; fc85a (3f:485a)
+PointerTable_fc85a:
dw Func_fc862
dw Func_fc8f8
dw Func_fc92b
dw Func_fc95d
-Func_fc862: ; fc862 (3f:4862)
+Func_fc862:
dec a
add a
add a
@@ -619,7 +619,7 @@ Func_fc862: ; fc862 (3f:4862)
ld hl, wPikachuWalkAnimationCounter - wPikachuSpriteStateData1
add hl, bc
ld [hl], $11
-asm_fc87f: ; fc87f (3f:487f)
+asm_fc87f:
ld a, [wd432]
ld e, a
ld a, [wd433]
@@ -667,7 +667,7 @@ asm_fc87f: ; fc87f (3f:487f)
ret nz
jp Func_fc835
-Func_fc8c7: ; fc8c7 (3f:48c7)
+Func_fc8c7:
ld hl, wPikachuYPixels - wPikachuSpriteStateData1
add hl, bc
ld a, [hl]
@@ -680,7 +680,7 @@ Func_fc8c7: ; fc8c7 (3f:48c7)
ld [hl], a
jp Func_fc835
-Pointer_fc8d6: ; fc8d6 (3f:48d6)
+Pointer_fc8d6:
db 0, 0
db -2, 1
db -4, 2
@@ -699,14 +699,14 @@ Pointer_fc8d6: ; fc8d6 (3f:48d6)
db -2, -1
db 0, 0
-Func_fc8f8: ; fc8f8 (3f:48f8)
+Func_fc8f8:
ld hl, wPikachuMovementStatus - wPikachuSpriteStateData1
add hl, bc
ld [hl], $7
ld hl, wPikachuWalkAnimationCounter - wPikachuSpriteStateData1
add hl, bc
ld [hl], $30
-asm_fc904: ; fc904 (3f:4904)
+asm_fc904:
call Func_fc82e
jp c, Func_fc835
call SetPikachuOverworldStateFlag2
@@ -731,14 +731,14 @@ asm_fc904: ; fc904 (3f:4904)
ret nz
jp Func_fc835
-Func_fc92b: ; fc92b (3f:492b)
+Func_fc92b:
ld hl, wPikachuWalkAnimationCounter - wPikachuSpriteStateData1
add hl, bc
ld [hl], $20
ld hl, wPikachuMovementStatus - wPikachuSpriteStateData1
add hl, bc
ld [hl], $8
-asm_fc937: ; fc937 (3f:4937)
+asm_fc937:
call Func_fc82e
jp c, Func_fc835
call SetPikachuOverworldStateFlag2
@@ -762,14 +762,14 @@ asm_fc937: ; fc937 (3f:4937)
ret nz
jp Func_fc835
-Func_fc95d: ; fc95d (3f:495d)
+Func_fc95d:
ld hl, wPikachuWalkAnimationCounter - wPikachuSpriteStateData1
add hl, bc
ld [hl], $20
ld hl, wPikachuMovementStatus - wPikachuSpriteStateData1
add hl, bc
ld [hl], $9
-asm_fc969: ; fc969 (3f:4969)
+asm_fc969:
call Func_fc82e
jp c, Func_fc835
call SetPikachuOverworldStateFlag2
@@ -795,7 +795,7 @@ asm_fc969: ; fc969 (3f:4969)
ret nz
jp Func_fc835
-.TurnClockwise: ; fc994 (3f:4994)
+.TurnClockwise:
push hl
ld hl, .Facings
ld d, a
@@ -807,7 +807,7 @@ asm_fc969: ; fc969 (3f:4969)
pop hl
ret
-.TurnCounterclockwise: ; fc9a0 (3f:49a0)
+.TurnCounterclockwise:
push hl
ld hl, .Facings_End
ld d, a
@@ -819,12 +819,12 @@ asm_fc969: ; fc969 (3f:4969)
pop hl
ret
-.Facings: ; fc9ac (3f:49ac)
+.Facings:
db SPRITE_FACING_DOWN, SPRITE_FACING_LEFT, SPRITE_FACING_UP, SPRITE_FACING_RIGHT
db SPRITE_FACING_DOWN, SPRITE_FACING_LEFT, SPRITE_FACING_UP, SPRITE_FACING_RIGHT
.Facings_End:
-NormalPikachuFollow: ; fc9b4 (3f:49b4)
+NormalPikachuFollow:
ld hl, wPikachuWalkAnimationCounter - wPikachuSpriteStateData1
add hl, bc
ld [hl], $8
@@ -832,7 +832,7 @@ NormalPikachuFollow: ; fc9b4 (3f:49b4)
add hl, bc
ld [hl], $3
call AddPikachuStepVector
-asm_fc9c3: ; fc9c3 (3f:49c3)
+asm_fc9c3:
call TryDoubleAddPikachuStepVectorToScreenPixelCoords
call GetPikachuWalkingAnimationSpeed
call UpdatePikachuWalkingSprite
@@ -847,7 +847,7 @@ asm_fc9c3: ; fc9c3 (3f:49c3)
ld [hl], $1
ret
-FastPikachuFollow: ; fc9df (3f:49df)
+FastPikachuFollow:
ld hl, wPikachuWalkAnimationCounter - wPikachuSpriteStateData1
add hl, bc
ld [hl], $4
@@ -855,7 +855,7 @@ FastPikachuFollow: ; fc9df (3f:49df)
add hl, bc
ld [hl], $5
call AddPikachuStepVector
-asm_fc9ee: ; fc9ee (3f:49ee)
+asm_fc9ee:
call DoubleAddPikachuStepVectorToScreenPixelCoords
call GetPikachuWalkingAnimationSpeed
call UpdatePikachuWalkingSprite
@@ -870,7 +870,7 @@ asm_fc9ee: ; fc9ee (3f:49ee)
ld [hl], $1
ret
-Func_fca0a: ; fca0a (3f:4a0a)
+Func_fca0a:
ld hl, wPikachuWalkAnimationCounter - wPikachuSpriteStateData1
add hl, bc
ld [hl], $8
@@ -879,7 +879,7 @@ Func_fca0a: ; fca0a (3f:4a0a)
ld [hl], $4
call AddPikachuStepVector
call AddPikachuStepVector
-asm_fca1c: ; fca1c (3f:4a1c)
+asm_fca1c:
call DoubleAddPikachuStepVectorToScreenPixelCoords
call GetPikachuWalkingAnimationSpeed
call UpdatePikachuWalkingSprite
@@ -894,7 +894,7 @@ asm_fca1c: ; fca1c (3f:4a1c)
ld [hl], $1
ret
-AddPikachuStepVector: ; fca38 (3f:4a38)
+AddPikachuStepVector:
ld hl, wPikachuYStepVector - wPikachuSpriteStateData1
add hl, bc
ld e, [hl]
@@ -911,14 +911,14 @@ AddPikachuStepVector: ; fca38 (3f:4a38)
ld [hl], a
ret
-TryDoubleAddPikachuStepVectorToScreenPixelCoords: ; fca4b (3f:4a4b)
+TryDoubleAddPikachuStepVectorToScreenPixelCoords:
ld a, [wWalkBikeSurfState]
cp $1 ; biking
jr nz, AddPikachuStepVectorToScreenPixelCoords
ld a, [wd736]
bit 6, a
jr nz, AddPikachuStepVectorToScreenPixelCoords
-DoubleAddPikachuStepVectorToScreenPixelCoords: ; fca59 (3f:4a59)
+DoubleAddPikachuStepVectorToScreenPixelCoords:
ld hl, wPikachuYStepVector - wPikachuSpriteStateData1
add hl, bc
ld a, [hli]
@@ -933,7 +933,7 @@ DoubleAddPikachuStepVectorToScreenPixelCoords: ; fca59 (3f:4a59)
ld [hl], a
ret
-AddPikachuStepVectorToScreenPixelCoords: ; fca68 (3f:4a68)
+AddPikachuStepVectorToScreenPixelCoords:
ld hl, wPikachuYStepVector - wPikachuSpriteStateData1
add hl, bc
ld a, [hli]
@@ -946,7 +946,7 @@ AddPikachuStepVectorToScreenPixelCoords: ; fca68 (3f:4a68)
ld [hli], a
ret
-ResetPikachuStepVector: ; fca75 (3f:4a75)
+ResetPikachuStepVector:
ld hl, wPikachuYStepVector - wPikachuSpriteStateData1
add hl, bc
xor a
@@ -955,7 +955,7 @@ ResetPikachuStepVector: ; fca75 (3f:4a75)
ld [hl], a
ret
-GetPikachuWalkingAnimationSpeed: ; fca7e (3f:4a7e)
+GetPikachuWalkingAnimationSpeed:
call ComparePikachuHappinessTo80
ld d, $2
jr nc, .happy
@@ -977,7 +977,7 @@ GetPikachuWalkingAnimationSpeed: ; fca7e (3f:4a7e)
ld [hl], a
ret
-UpdatePikachuWalkingSprite: ; fca99 (3f:4a99)
+UpdatePikachuWalkingSprite:
ld a, [wPikachuOverworldStateFlags]
bit 3, a
jr nz, .uninitialized
@@ -1027,7 +1027,7 @@ UpdatePikachuWalkingSprite: ; fca99 (3f:4a99)
ld [wPikachuSpriteImageIdx], a
ret
-Func_fcae2: ; fcae2 (3f:4ae2)
+Func_fcae2:
ld hl, wPikachuMapY - wPikachuSpriteStateData1
add hl, bc
ld a, [wYCoord]
@@ -1049,7 +1049,7 @@ Func_fcae2: ; fcae2 (3f:4ae2)
and a
ret
-IsPikachuRightNextToPlayer: ; fcb01 (3f:4b01)
+IsPikachuRightNextToPlayer:
push bc
push de
push hl
@@ -1107,12 +1107,12 @@ IsPikachuRightNextToPlayer: ; fcb01 (3f:4b01)
xor a
ret
-GetPikachuFacingDirectionAndReturnToE: ; fcb4d (3f:4b4d)
+GetPikachuFacingDirectionAndReturnToE:
call GetPikachuFacingDirection
ld e, a
ret
-GetPikachuFacingDirection: ; fcb52 (3f:4b52)
+GetPikachuFacingDirection:
ld bc, wPikachuPictureID
ld a, [wXCoord]
add $4
@@ -1151,7 +1151,7 @@ GetPikachuFacingDirection: ; fcb52 (3f:4b52)
ld a, $ff ; standing
ret
-ClearPikachuFollowCommandBuffer: ; fcb84 (3f:4b84)
+ClearPikachuFollowCommandBuffer:
push bc
ld hl, wPikachuFollowCommandBufferSize
ld [hl], $ff
@@ -1162,7 +1162,7 @@ ClearPikachuFollowCommandBuffer: ; fcb84 (3f:4b84)
pop bc
ret
-AppendPikachuFollowCommandToBuffer: ; fcb94 (3f:4b94)
+AppendPikachuFollowCommandToBuffer:
ld hl, wPikachuFollowCommandBufferSize
inc [hl]
ld e, [hl]
@@ -1172,14 +1172,14 @@ AppendPikachuFollowCommandToBuffer: ; fcb94 (3f:4b94)
ld [hl], a
ret
-RefreshPikachuFollow: ; fcba1 (3f:4ba1)
+RefreshPikachuFollow:
call ClearPikachuFollowCommandBuffer
call ComputePikachuFollowCommand
ret c
call AppendPikachuFollowCommandToBuffer
ret
-ComputePikachuFollowCommand: ; fcbac (3f:4bac)
+ComputePikachuFollowCommand:
ld bc, wPikachuPictureID
ld hl, wPlayerMapY - wPlayerSpriteStateData1
add hl, bc
@@ -1246,7 +1246,7 @@ ComputePikachuFollowCommand: ; fcbac (3f:4bac)
scf
ret
-CheckAbsoluteValueLessThan2: ; fcc01 (3f:4c01)
+CheckAbsoluteValueLessThan2:
jr nc, .positive
cpl
inc a
@@ -1254,7 +1254,7 @@ CheckAbsoluteValueLessThan2: ; fcc01 (3f:4c01)
cp $2
ret
-Func_fcc08:: ; fcc08 (3f:4c08)
+Func_fcc08::
call Func_fcc23
ret nc
ld a, [wd736]
@@ -1271,7 +1271,7 @@ Func_fcc08:: ; fcc08 (3f:4c08)
call AppendPikachuFollowCommandToBuffer
ret
-Func_fcc23: ; fcc23 (3f:4c28)
+Func_fcc23:
ld a, [wPikachuOverworldStateFlags]
bit 5, a
jr nz, .asm_fcc40
@@ -1291,7 +1291,7 @@ Func_fcc23: ; fcc23 (3f:4c28)
and a
ret
-Func_fcc42: ; fcc42 (3f:4c42)
+Func_fcc42:
xor a
ld a, [wPlayerDirection]
bit 3, a
@@ -1321,7 +1321,7 @@ Func_fcc42: ; fcc42 (3f:4c42)
ld a, $4
ret
-Func_fcc64: ; fcc64 (3f:4c64)
+Func_fcc64:
ld hl, wPikachuOverworldStateFlags
bit 6, [hl]
jr z, .asm_fcc6e
@@ -1359,7 +1359,7 @@ Func_fcc64: ; fcc64 (3f:4c64)
ld a, $8
ret
-Func_fcc92: ; fcc92 (3f:4c92)
+Func_fcc92:
ld hl, wPikachuFollowCommandBufferSize
ld a, [hl]
cp $ff
@@ -1386,7 +1386,7 @@ Func_fcc92: ; fcc92 (3f:4c92)
scf
ret
-ComputePikachuFacingDirection:: ; fccb2 (3f:4cb2)
+ComputePikachuFacingDirection::
call GetPikachuFollowCommandIfBufferSizeNonzero
and a
jr z, .check_y
@@ -1426,7 +1426,7 @@ ComputePikachuFacingDirection:: ; fccb2 (3f:4cb2)
ld [wPikachuFacingDirection], a
ret
-GetPikachuFollowCommand: ; fccee (3f:4cee)
+GetPikachuFollowCommand:
ld hl, wPikachuFollowCommandBufferSize
ld a, [hl]
cp $ff
@@ -1442,7 +1442,7 @@ GetPikachuFollowCommand: ; fccee (3f:4cee)
xor a
ret
-GetPikachuFollowCommandIfBufferSizeNonzero: ; fcd01 (3f:4d01)
+GetPikachuFollowCommandIfBufferSizeNonzero:
ld hl, wPikachuFollowCommandBufferSize
ld a, [hl]
cp $ff
@@ -1460,7 +1460,7 @@ GetPikachuFollowCommandIfBufferSizeNonzero: ; fcd01 (3f:4d01)
xor a
ret
-AreThereAtLeastTwoStepsInPikachuFollowCommandBuffer: ; fcd17 (3f:4d17)
+AreThereAtLeastTwoStepsInPikachuFollowCommandBuffer:
ld a, [wPikachuFollowCommandBufferSize]
cp $ff
ret z
@@ -1473,7 +1473,7 @@ AreThereAtLeastTwoStepsInPikachuFollowCommandBuffer: ; fcd17 (3f:4d17)
scf
ret
-WillPikachuSpawnOnTheScreen: ; fcd25 (3f:4d25)
+WillPikachuSpawnOnTheScreen:
ld h, wSpriteStateData2 / $100
ld a, [H_CURRENTSPRITEOFFSET] ; If we're here, this can only be $f0
add wPikachuMapY - wPikachuSpriteStateData2
@@ -1539,7 +1539,7 @@ WillPikachuSpawnOnTheScreen: ; fcd25 (3f:4d25)
.return
ret
-.GetNPCCurrentTile: ; fcd83 (3f:4d83)
+.GetNPCCurrentTile:
ld h, wSpriteStateData1 / $100
ld a, [H_CURRENTSPRITEOFFSET]
add wPikachuYPixels - wPikachuSpriteStateData1
@@ -1566,7 +1566,7 @@ WillPikachuSpawnOnTheScreen: ; fcd25 (3f:4d25)
add hl, de
ret
-ComparePikachuHappinessTo80: ; fcdad (3f:4dad)
+ComparePikachuHappinessTo80:
; preserves a and bc
push bc
push af
diff --git a/engine/pikachu_movement.asm b/engine/pikachu_movement.asm
index 65640cbd..8eb09b3b 100755
--- a/engine/pikachu_movement.asm
+++ b/engine/pikachu_movement.asm
@@ -1,4 +1,4 @@
-ApplyPikachuMovementData_:: ; fd2a1 (3f:52a1)
+ApplyPikachuMovementData_::
ld a, b
ld [wPikachuMovementScriptBank], a
ld a, l
@@ -950,7 +950,7 @@ Func_fd851:
GFX_fd86b:
INCBIN "gfx/unknown_fd86b.2bpp"
-LoadPikachuSpriteIntoVRAM: ; fd8ab (3f:58ab)
+LoadPikachuSpriteIntoVRAM:
ld de, PikachuSprite
lb bc, BANK(PikachuSprite), (SandshrewSprite - PikachuSprite) / 32
ld hl, vNPCSprites + $c * $10
@@ -970,7 +970,7 @@ LoadPikachuSpriteIntoVRAM: ; fd8ab (3f:58ab)
call LoadPikachuBallIconIntoVRAM
ret
-PikachuPewterPokecenterCheck: ; fd8d4 (3f:58d4)
+PikachuPewterPokecenterCheck:
ld a, [wCurMap]
cp PEWTER_POKECENTER
ret nz
@@ -978,7 +978,7 @@ PikachuPewterPokecenterCheck: ; fd8d4 (3f:58d4)
call StarterPikachuEmotionCommand_turnawayfromplayer
ret
-PikachuFanClubCheck: ; fd8e1 (3f:58e1)
+PikachuFanClubCheck:
ld a, [wCurMap]
cp POKEMON_FAN_CLUB
ret nz
@@ -986,14 +986,14 @@ PikachuFanClubCheck: ; fd8e1 (3f:58e1)
call StarterPikachuEmotionCommand_turnawayfromplayer
ret
-PikachuBillsHouseCheck: ; fd8ee (3f:58ee)
+PikachuBillsHouseCheck:
ld a, [wCurMap]
cp BILLS_HOUSE
ret nz
call EnablePikachuFollowingPlayer
ret
-Pikachu_LoadCurrentMapViewUpdateSpritesAndDelay3: ; fd8f8 (3f:58f8)
+Pikachu_LoadCurrentMapViewUpdateSpritesAndDelay3:
call LoadCurrentMapView
call UpdateSprites
call Delay3
diff --git a/engine/pikachu_pcm.asm b/engine/pikachu_pcm.asm
index e0238468..043f702c 100755
--- a/engine/pikachu_pcm.asm
+++ b/engine/pikachu_pcm.asm
@@ -1,4 +1,4 @@
-PlayPikachuSoundClip:: ; f0000 (3c:4000)
+PlayPikachuSoundClip::
ld a, e
ld e, a
ld d, $0
@@ -85,7 +85,7 @@ PlayPikachuSoundClip:: ; f0000 (3c:4000)
ei
ret
-PikachuCriesPointerTable: ; f008e (3c:408e)
+PikachuCriesPointerTable:
; format:
; db bank
; dw pointer to cry
diff --git a/engine/pikachu_pic_animation.asm b/engine/pikachu_pic_animation.asm
index be31e7d7..c04382c1 100755
--- a/engine/pikachu_pic_animation.asm
+++ b/engine/pikachu_pic_animation.asm
@@ -1,4 +1,4 @@
-GetPikaPicAnimationScriptIndex: ; fd978 (3f:5978)
+GetPikaPicAnimationScriptIndex:
ld hl, PikachuMoodLookupTable
ld a, [wPikachuMood]
ld d, a
@@ -87,7 +87,7 @@ PikaPicAnimationScriptPointerLookupTable:
dpikapic PikaPicAnimScript20
dpikapic PikaPicAnimScript20
-StarterPikachuEmotionCommand_pikapic: ; fd9d0 (3f:59d0)
+StarterPikachuEmotionCommand_pikapic:
ld a, [H_AUTOBGTRANSFERENABLED]
push af
xor a
diff --git a/engine/pikachu_status.asm b/engine/pikachu_status.asm
index 17330645..c73d3b3f 100755
--- a/engine/pikachu_status.asm
+++ b/engine/pikachu_status.asm
@@ -1,4 +1,4 @@
-IsStarterPikachuInOurParty:: ; fcdb8 (3f:4db8)
+IsStarterPikachuInOurParty::
ld hl, wPartySpecies
ld de, wPartyMon1OTID
ld bc, wPartyMonOT
@@ -64,18 +64,18 @@ IsStarterPikachuInOurParty:: ; fcdb8 (3f:4db8)
and a
ret
-IsThisPartymonStarterPikachu_Box:: ; fce0d (3f:4e0d)
+IsThisPartymonStarterPikachu_Box::
ld hl, wBoxMon1
ld bc, wBoxMon2 - wBoxMon1
ld de, wBoxMonOT
jr asm_fce21
-IsThisPartymonStarterPikachu_Party:: ; fce18 (3f:4e18)
+IsThisPartymonStarterPikachu_Party::
IsThisPartymonStarterPikachu::
ld hl, wPartyMon1
ld bc, wPartyMon2 - wPartyMon1
ld de, wPartyMonOT
-asm_fce21: ; fce21 (3f:4e21)
+asm_fce21:
ld a, [wWhichPokemon]
call AddNTimes
ld a, [hl]
@@ -113,7 +113,7 @@ asm_fce21: ; fce21 (3f:4e21)
scf
ret
-UpdatePikachuMoodAfterBattle:: ; fce5a (3f:4e5a)
+UpdatePikachuMoodAfterBattle::
; because d is always $82 at this function, it serves to
; ensure Pikachu's mood is at least 130 after battle
push de
@@ -136,7 +136,7 @@ UpdatePikachuMoodAfterBattle:: ; fce5a (3f:4e5a)
ld [wPikachuMood], a
ret
-CheckPikachuFaintedOrStatused:: ; fce73 (3f:4e73)
+CheckPikachuFaintedOrStatused::
; function to test if Pikachu is alive?
xor a
ld [wWhichPokemon], a
@@ -178,7 +178,7 @@ CheckPikachuFaintedOrStatused:: ; fce73 (3f:4e73)
and a
ret
-IsSurfingPikachuInThePlayersParty:: ; fceab (3f:4eab)
+IsSurfingPikachuInThePlayersParty::
ld hl, wPartySpecies
ld de, wPartyMon1Moves
ld bc, wPartyMonOT
diff --git a/engine/pokedex_rating.asm b/engine/pokedex_rating.asm
index 195c89fb..97bbfc24 100755
--- a/engine/pokedex_rating.asm
+++ b/engine/pokedex_rating.asm
@@ -1,4 +1,4 @@
-DisplayDexRating: ; 44169 (11:4169)
+DisplayDexRating:
ld hl, wPokedexSeen
ld b, wPokedexSeenEnd - wPokedexSeen
call CountSetBits
@@ -51,11 +51,11 @@ DisplayDexRating: ; 44169 (11:4169)
ld [de], a
ret
-DexCompletionText: ; 441cc (11:41cc)
+DexCompletionText:
TX_FAR _DexCompletionText
db "@"
-DexRatingsTable: ; 441d1 (11:41d1)
+DexRatingsTable:
db 10
dw DexRatingText_Own0To9
db 20
@@ -89,66 +89,66 @@ DexRatingsTable: ; 441d1 (11:41d1)
db 152
dw DexRatingText_Own150To151
-DexRatingText_Own0To9: ; 44201 (11:4201)
+DexRatingText_Own0To9:
TX_FAR _DexRatingText_Own0To9
db "@"
-DexRatingText_Own10To19: ; 44206 (11:4206)
+DexRatingText_Own10To19:
TX_FAR _DexRatingText_Own10To19
db "@"
-DexRatingText_Own20To29: ; 4420b (11:420b)
+DexRatingText_Own20To29:
TX_FAR _DexRatingText_Own20To29
db "@"
-DexRatingText_Own30To39: ; 44210 (11:4210)
+DexRatingText_Own30To39:
TX_FAR _DexRatingText_Own30To39
db "@"
-DexRatingText_Own40To49: ; 44215 (11:4215)
+DexRatingText_Own40To49:
TX_FAR _DexRatingText_Own40To49
db "@"
-DexRatingText_Own50To59: ; 4421a (11:421a)
+DexRatingText_Own50To59:
TX_FAR _DexRatingText_Own50To59
db "@"
-DexRatingText_Own60To69: ; 4421f (11:421f)
+DexRatingText_Own60To69:
TX_FAR _DexRatingText_Own60To69
db "@"
-DexRatingText_Own70To79: ; 44224 (11:4224)
+DexRatingText_Own70To79:
TX_FAR _DexRatingText_Own70To79
db "@"
-DexRatingText_Own80To89: ; 44229 (11:4229)
+DexRatingText_Own80To89:
TX_FAR _DexRatingText_Own80To89
db "@"
-DexRatingText_Own90To99: ; 4422e (11:422e)
+DexRatingText_Own90To99:
TX_FAR _DexRatingText_Own90To99
db "@"
-DexRatingText_Own100To109: ; 44233 (11:4233)
+DexRatingText_Own100To109:
TX_FAR _DexRatingText_Own100To109
db "@"
-DexRatingText_Own110To119: ; 44238 (11:4238)
+DexRatingText_Own110To119:
TX_FAR _DexRatingText_Own110To119
db "@"
-DexRatingText_Own120To129: ; 4423d (11:423d)
+DexRatingText_Own120To129:
TX_FAR _DexRatingText_Own120To129
db "@"
-DexRatingText_Own130To139: ; 44242 (11:4242)
+DexRatingText_Own130To139:
TX_FAR _DexRatingText_Own130To139
db "@"
-DexRatingText_Own140To149: ; 44247 (11:4247)
+DexRatingText_Own140To149:
TX_FAR _DexRatingText_Own140To149
db "@"
-DexRatingText_Own150To151: ; 4424c (11:424c)
+DexRatingText_Own150To151:
TX_FAR _DexRatingText_Own150To151
db "@"
diff --git a/engine/predefs.asm b/engine/predefs.asm
index 9a97fe95..8b26706a 100755
--- a/engine/predefs.asm
+++ b/engine/predefs.asm
@@ -1,4 +1,4 @@
-GetPredefPointer: ; f67ed (3d:67ed)
+GetPredefPointer:
; Store the contents of the register
; pairs (hl, de, bc) at wPredefRegisters.
; Then put the bank and address of predef
@@ -49,7 +49,7 @@ GetPredefPointer: ; f67ed (3d:67ed)
ret
-PredefPointers:: ; f681d (3d:681d)
+PredefPointers::
; these are pointers to ASM routines.
; they appear to be used in overworld map scripts.
const_def
diff --git a/engine/predefs17.asm b/engine/predefs17.asm
index a674b45a..21289c6a 100755
--- a/engine/predefs17.asm
+++ b/engine/predefs17.asm
@@ -1,6 +1,6 @@
; this function temporarily makes the starters (and Ivysaur) seen
; so that the full Pokedex information gets displayed in Oak's lab
-StarterDex: ; 5c0dc (17:40dc)
+StarterDex:
ld a, %01001011 ; set starter flags
ld [wPokedexOwned], a
predef ShowPokedexData
diff --git a/engine/predefs17_2.asm b/engine/predefs17_2.asm
index 49818543..e9235f13 100755
--- a/engine/predefs17_2.asm
+++ b/engine/predefs17_2.asm
@@ -1,5 +1,5 @@
; updates the types of a party mon (pointed to in hl) to the ones of the mon specified in wd11e
-SetPartyMonTypes: ; 5db93 (17:5b93)
+SetPartyMonTypes:
call GetPredefRegisters
ld bc, wPartyMon1Type - wPartyMon1 ; $5
add hl, bc
diff --git a/engine/predefs7.asm b/engine/predefs7.asm
index 1bf4c018..bfa0ab57 100755
--- a/engine/predefs7.asm
+++ b/engine/predefs7.asm
@@ -1,4 +1,4 @@
-DisplayElevatorFloorMenu: ; 1c264 (7:4264)
+DisplayElevatorFloorMenu:
ld hl, wd730
ld a, [hl]
push af
@@ -49,6 +49,6 @@ DisplayElevatorFloorMenu: ; 1c264 (7:4264)
ld [hli], a ; destination map ID
ret
-WhichFloorText: ; 1c2bd (7:42bd)
+WhichFloorText:
TX_FAR _WhichFloorText
db "@"
diff --git a/engine/predefsA.asm b/engine/predefsA.asm
index 1cfb60f6..b8384150 100644
--- a/engine/predefsA.asm
+++ b/engine/predefsA.asm
@@ -1,5 +1,5 @@
; inverts the BGP for 4 (6 on CGB due to lag) frames
-InvertBGPal_4Frames: ; 2bd4c (a:7d4c)
+InvertBGPal_4Frames:
call GetPredefRegisters ; leftover of red/blue, has no use here
ld a, [rBGP]
xor $ff
@@ -13,7 +13,7 @@ InvertBGPal_4Frames: ; 2bd4c (a:7d4c)
call UpdateGBCPal_BGP
ret
-PredefShakeScreenVertically: ; 2bd67 (a:7d67)
+PredefShakeScreenVertically:
; Moves the window down and then back in a sequence of progressively smaller
; numbers of pixels, starting at b.
call GetPredefRegisters
@@ -39,7 +39,7 @@ PredefShakeScreenVertically: ; 2bd67 (a:7d67)
ld c, 3
jp DelayFrames
-PredefShakeScreenHorizontally: ; 2bd8d (a:7d8d)
+PredefShakeScreenHorizontally:
; Moves the window right and then back in a sequence of progressively smaller
; numbers of pixels, starting at b.
call GetPredefRegisters
diff --git a/engine/print_waiting_text.asm b/engine/print_waiting_text.asm
index f4220748..bd2180a1 100644
--- a/engine/print_waiting_text.asm
+++ b/engine/print_waiting_text.asm
@@ -1,4 +1,4 @@
-PrintWaitingText: ; 4b89 (1:4b89)
+PrintWaitingText:
coord hl, 3, 10
lb bc, 1, 11
ld a, [wIsInBattle]
@@ -15,5 +15,5 @@ PrintWaitingText: ; 4b89 (1:4b89)
ld c, 50
jp DelayFrames
-WaitingText: ; 4bab (1:4bab)
- db "Waiting...!@" \ No newline at end of file
+WaitingText:
+ db "Waiting...!@"
diff --git a/engine/printer.asm b/engine/printer.asm
index 4bf04e1a..46eb2c59 100644
--- a/engine/printer.asm
+++ b/engine/printer.asm
@@ -11,7 +11,7 @@
INCLUDE "engine/printer/serial.asm"
-PrintPokedexEntry: ; e8b74 (3a:4b74)
+PrintPokedexEntry:
ld a, [wUpdateSpritesEnabled]
push af
xor a
@@ -238,7 +238,7 @@ Func_e8d11:
scf
ret
-PrintPCBox:: ; e8d35 (3a:4e79)
+PrintPCBox::
ld a, [wBoxDataStart]
and a
jp z, Func_e8df4
@@ -397,7 +397,7 @@ PrintFanClubPortrait: ; e8e24
call Printer_PlayMapMusic
ret
-PrinterDebug: ; e8e79 (3a:4e79)
+PrinterDebug:
push af
push bc
push de
@@ -443,7 +443,7 @@ PrinterDebug: ; e8e79 (3a:4e79)
pop af
ret
-Printer_CheckPressingB: ; e8eca (3a:4eca)
+Printer_CheckPressingB:
ld a, [hJoyHeld]
and B_BUTTON
jr nz, .quit
@@ -476,21 +476,21 @@ Printer_CheckPressingB: ; e8eca (3a:4eca)
scf
ret
-Printer_CopyTileMapToPrinterTileBuffer: ; e8efc (3a:4efc)
+Printer_CopyTileMapToPrinterTileBuffer:
coord hl, 0, 0
coord de, 0, 0, wPrinterTileBuffer
ld bc, SCREEN_HEIGHT * SCREEN_WIDTH
call CopyData
ret
-Printer_CopyTileMapFromPrinterTileBuffer: ; e8f09 (3a:4f09)
+Printer_CopyTileMapFromPrinterTileBuffer:
coord hl, 0, 0, wPrinterTileBuffer
coord de, 0, 0
ld bc, SCREEN_HEIGHT * SCREEN_WIDTH
call CopyData
ret
-Printer_ResetJoypadHRAM: ; e8f16 (3a:4f16)
+Printer_ResetJoypadHRAM:
xor a
ld [hJoyLast], a
ld [hJoyReleased], a
@@ -500,7 +500,7 @@ Printer_ResetJoypadHRAM: ; e8f16 (3a:4f16)
ld [hJoy6], a
ret
-Printer_PlayPrinterMusic: ; e8f24 (3a:4f24)
+Printer_PlayPrinterMusic:
call Printer_FadeOutMusicAndWait
ld a, [wAudioROMBank]
ld [wAudioSavedROMBank], a
@@ -511,12 +511,12 @@ Printer_PlayPrinterMusic: ; e8f24 (3a:4f24)
call PlaySound
ret
-Printer_PlayMapMusic: ; e8f3b (3a:4f3b)
+Printer_PlayMapMusic:
call Printer_FadeOutMusicAndWait
call PlayDefaultMusic
ret
-Printer_FadeOutMusicAndWait: ; e8f42 (3a:4f42)
+Printer_FadeOutMusicAndWait:
ld a, $4
ld [wAudioFadeOutControl], a
call StopAllMusic
@@ -526,7 +526,7 @@ Printer_FadeOutMusicAndWait: ; e8f42 (3a:4f42)
jr nz, .wait_music_stop
ret
-GBPrinter_CheckForErrors: ; e8f51 (3a:4f51)
+GBPrinter_CheckForErrors:
ld a, [wPrinterHandshake]
cp $81
jr z, .check_other_errors
diff --git a/engine/printer/serial.asm b/engine/printer/serial.asm
index f3984420..b5d71596 100755
--- a/engine/printer/serial.asm
+++ b/engine/printer/serial.asm
@@ -1,4 +1,4 @@
-StartTransmission_Send9Rows: ; e8783 (3a:4783)
+StartTransmission_Send9Rows:
ld a, 9
Printer_StartTransmission:
push af
@@ -19,7 +19,7 @@ Printer_StartTransmission:
ret
; e87a8
-PrinterTransmissionJumptable: ; e87a8 (3a:47a8)
+PrinterTransmissionJumptable:
ld a, [wPrinterSendState]
ld e, a
ld d, 0
@@ -406,7 +406,7 @@ Printer_Convert2RowsTo2bpp:
jr nz, .loop
ret
-Printer_FillMemory: ; e8a2e (3a:4a2e)
+Printer_FillMemory:
push de
ld e, a
.loop
@@ -439,7 +439,7 @@ PrinterDataPacket6: ; unused
db 15, 0, $00, 0
dw 15
-PrinterSerial_: ; e8a5e (3a:4a5e)
+PrinterSerial_:
ld a, [wPrinterOpcode]
ld e, a
ld d, 0
diff --git a/engine/random.asm b/engine/random.asm
index ddf042df..2fc83f6f 100755
--- a/engine/random.asm
+++ b/engine/random.asm
@@ -1,4 +1,4 @@
-Random_:: ; f67dc (3d:67dc)
+Random_::
; Generate a random 16-bit value.
ld a, [rDIV]
ld b, a
diff --git a/engine/remove_pokemon.asm b/engine/remove_pokemon.asm
index ef72d143..f29a428d 100644
--- a/engine/remove_pokemon.asm
+++ b/engine/remove_pokemon.asm
@@ -1,4 +1,4 @@
-_RemovePokemon: ; 7a0f (1:7a0f)
+_RemovePokemon:
ld hl, wPartyCount
ld a, [wRemoveMonFromBox]
and a
diff --git a/engine/save.asm b/engine/save.asm
index b684c1be..171fd055 100755
--- a/engine/save.asm
+++ b/engine/save.asm
@@ -1,4 +1,4 @@
-LoadSAV: ; 73959 (1c:7959)
+LoadSAV:
;(if carry -> write
;"the file data is destroyed")
call ClearScreen
@@ -27,11 +27,11 @@ LoadSAV: ; 73959 (1c:7959)
ld [wSaveFileStatus], a
ret
-FileDataDestroyedText: ; 7398f (1c:798f)
+FileDataDestroyedText:
TX_FAR _FileDataDestroyedText
db "@"
-LoadSAV0: ; 73994 (1c:7994)
+LoadSAV0:
call EnableSRAMAndLatchClockData
ld a, $1
ld [MBC1SRamBank], a
@@ -76,7 +76,7 @@ LoadSAV0: ; 73994 (1c:7994)
and a
jp SAVGoodChecksum
-LoadSAV1: ; 739fc (1c:79fc)
+LoadSAV1:
call EnableSRAMAndLatchClockData
ld a, $1
ld [MBC1SRamBank], a
@@ -94,7 +94,7 @@ LoadSAV1: ; 739fc (1c:79fc)
and a
jp SAVGoodChecksum
-LoadSAV2: ; 73a24 (1c:7a24)
+LoadSAV2:
call EnableSRAMAndLatchClockData
ld a, $1
ld [MBC1SRamBank], a
@@ -116,20 +116,20 @@ LoadSAV2: ; 73a24 (1c:7a24)
and a
jp SAVGoodChecksum
-SAVBadCheckSum: ; 73a59 (1c:7a59)
+SAVBadCheckSum:
scf
-SAVGoodChecksum: ; 736f8 (1c:76f8)
+SAVGoodChecksum:
call DisableSRAMAndPrepareClockData
ret
-LoadSAVIgnoreBadCheckSum: ; 73a5e (1c:7a5e)
+LoadSAVIgnoreBadCheckSum:
; unused function that loads save data and ignores bad checksums
call LoadSAV0
call LoadSAV1
jp LoadSAV2
-SaveSAV: ; 73a67 (1c:7a67)
+SaveSAV:
callba PrintSaveScreenText
ld c,10
call DelayFrames
@@ -165,7 +165,7 @@ SaveSAV: ; 73a67 (1c:7a67)
call DelayFrames
ret
-SaveSAVConfirm: ; 73abc (1c:7abc)
+SaveSAVConfirm:
call PrintText
coord hl, 0, 7
lb bc, 8, 1
@@ -175,23 +175,23 @@ SaveSAVConfirm: ; 73abc (1c:7abc)
ld a,[wCurrentMenuItem]
ret
-WouldYouLikeToSaveText: ; 73ad1 (1c:7ad1)
+WouldYouLikeToSaveText:
TX_FAR _WouldYouLikeToSaveText
db "@"
-SavingText: ; 73ad6 (1c:7ad6)
+SavingText:
TX_FAR _SavingText
db "@"
-GameSavedText: ; 73adb (1c:7adb)
+GameSavedText:
TX_FAR _GameSavedText
db "@"
-OlderFileWillBeErasedText: ; 73ae0 (1c:7ae0)
+OlderFileWillBeErasedText:
TX_FAR _OlderFileWillBeErasedText
db "@"
-SaveSAVtoSRAM0: ; 73ae5 (1c:7ae5)
+SaveSAVtoSRAM0:
call EnableSRAMAndLatchClockData
ld a, $1
ld [MBC1SRamBank], a
@@ -220,7 +220,7 @@ SaveSAVtoSRAM0: ; 73ae5 (1c:7ae5)
call DisableSRAMAndPrepareClockData
ret
-SaveSAVtoSRAM1: ; 73b32 (1c:7b32)
+SaveSAVtoSRAM1:
; stored pokémon
call EnableSRAMAndLatchClockData
ld a, $1
@@ -236,7 +236,7 @@ SaveSAVtoSRAM1: ; 73b32 (1c:7b32)
call DisableSRAMAndPrepareClockData
ret
-SaveSAVtoSRAM2: ; 73b56 (1c:7b56)
+SaveSAVtoSRAM2:
call EnableSRAMAndLatchClockData
ld a, $1
ld [MBC1SRamBank], a
@@ -262,14 +262,14 @@ SaveSAVtoSRAM2: ; 73b56 (1c:7b56)
call DisableSRAMAndPrepareClockData
ret
;;;
-SaveSAVtoSRAM: ; 73b91 (1c:7b91)
+SaveSAVtoSRAM:
ld a, $2
ld [wSaveFileStatus], a
call SaveSAVtoSRAM0
call SaveSAVtoSRAM1
jp SaveSAVtoSRAM2
-SAVCheckSum: ; 73b9f (1c:7b9f)
+SAVCheckSum:
;Check Sum (result[1 byte] is complemented)
ld d, 0
.loop
@@ -284,7 +284,7 @@ SAVCheckSum: ; 73b9f (1c:7b9f)
cpl
ret
-CalcIndividualBoxCheckSums: ; 73bac (1c:7bac)
+CalcIndividualBoxCheckSums:
ld hl, sBox1 ; sBox7
ld de, sBank2IndividualBoxChecksums ; sBank3IndividualBoxChecksums
ld b, NUM_BOXES / 2
@@ -301,7 +301,7 @@ CalcIndividualBoxCheckSums: ; 73bac (1c:7bac)
jr nz, .loop
ret
-GetBoxSRAMLocation: ; 73bc4 (1c:7bc4)
+GetBoxSRAMLocation:
; in: a = box num
; out: b = box SRAM bank, hl = pointer to start of box
ld hl, BoxSRAMPointerTable
@@ -322,7 +322,7 @@ GetBoxSRAMLocation: ; 73bc4 (1c:7bc4)
ld l, a
ret
-BoxSRAMPointerTable: ; 73bde (1c:7bde)
+BoxSRAMPointerTable:
dw sBox1 ; sBox7
dw sBox2 ; sBox8
dw sBox3 ; sBox9
@@ -330,7 +330,7 @@ BoxSRAMPointerTable: ; 73bde (1c:7bde)
dw sBox5 ; sBox11
dw sBox6 ; sBox12
-ChangeBox:: ; 73bed (1c:7bed)
+ChangeBox::
ld hl, WhenYouChangeBoxText
call PrintText
call YesNoChoice
@@ -376,11 +376,11 @@ ChangeBox:: ; 73bed (1c:7bed)
call SetMapTextPointer
ret
-WhenYouChangeBoxText: ; 73c52 (1c:7c52)
+WhenYouChangeBoxText:
TX_FAR _WhenYouChangeBoxText
db "@"
-CopyBoxToOrFromSRAM: ; 73c57 (1c:7c57)
+CopyBoxToOrFromSRAM:
; copy an entire box from hl to de with b as the SRAM bank
push hl
call EnableSRAMAndLatchClockData
@@ -404,7 +404,7 @@ CopyBoxToOrFromSRAM: ; 73c57 (1c:7c57)
call DisableSRAMAndPrepareClockData
ret
-DisplayChangeBoxMenu: ; 73c7d (1c:7c7d)
+DisplayChangeBoxMenu:
xor a
ld [H_AUTOBGTRANSFERENABLED], a
ld a, A_BUTTON | B_BUTTON
@@ -473,11 +473,11 @@ DisplayChangeBoxMenu: ; 73c7d (1c:7c7d)
ld [H_AUTOBGTRANSFERENABLED], a
ret
-ChooseABoxText: ; 73d10 (1c:7d10)
+ChooseABoxText:
TX_FAR _ChooseABoxText
db "@"
-BoxNames: ; 73d15 (1c:7d15)
+BoxNames:
db "BOX 1"
next "BOX 2"
next "BOX 3"
@@ -491,10 +491,10 @@ BoxNames: ; 73d15 (1c:7d15)
next "BOX11"
next "BOX12@"
-BoxNoText: ; 73d5d (1c:7d5d)
+BoxNoText:
db "BOX No.@"
-EmptyAllSRAMBoxes: ; 73d65 (1c:7d65)
+EmptyAllSRAMBoxes:
; marks all boxes in SRAM as empty (initialisation for the first time the
; player changes the box)
call EnableSRAMAndLatchClockData
@@ -507,7 +507,7 @@ EmptyAllSRAMBoxes: ; 73d65 (1c:7d65)
call DisableSRAMAndPrepareClockData
ret
-EmptySRAMBoxesInBank: ; 73d7c (1c:7d7c)
+EmptySRAMBoxesInBank:
; marks every box in the current SRAM bank as empty
ld hl, sBox1 ; sBox7
call EmptySRAMBox
@@ -528,14 +528,14 @@ EmptySRAMBoxesInBank: ; 73d7c (1c:7d7c)
call CalcIndividualBoxCheckSums
ret
-EmptySRAMBox: ; 73db0 (1c:7db0)
+EmptySRAMBox:
xor a
ld [hli], a
dec a
ld [hl], a
ret
-GetMonCountsForAllBoxes: ; 73a84 (1c:7a84)
+GetMonCountsForAllBoxes:
ld hl, wBoxMonCounts
push hl
call EnableSRAMAndLatchClockData
@@ -559,7 +559,7 @@ GetMonCountsForAllBoxes: ; 73a84 (1c:7a84)
ret
-GetMonCountsForBoxesInBank: ; 73dde (1c:7dde)
+GetMonCountsForBoxesInBank:
ld a, [sBox1] ; sBox7
ld [hli], a
ld a, [sBox2] ; sBox8
@@ -574,7 +574,7 @@ GetMonCountsForBoxesInBank: ; 73dde (1c:7dde)
ld [hli], a
ret
-SAVCheckRandomID: ; 73df7 (1c:7df7)
+SAVCheckRandomID:
;checks if Sav file is the same by checking player's name 1st letter ($a598)
; and the two random numbers generated at game beginning
;(which are stored at wPlayerID)s
@@ -606,7 +606,7 @@ SAVCheckRandomID: ; 73df7 (1c:7df7)
ld [MBC1SRamEnable],a
ret
-SaveHallOfFameTeams: ; 73e2e (1c:7e2e)
+SaveHallOfFameTeams:
ld a, [wNumHoFTeams]
dec a
cp HOF_TEAM_CAPACITY
@@ -632,7 +632,7 @@ SaveHallOfFameTeams: ; 73e2e (1c:7e2e)
ld bc, HOF_TEAM
jr HallOfFame_Copy
-LoadHallOfFameTeams: ; 73e60 (1c:7e60)
+LoadHallOfFameTeams:
ld hl, sHallOfFame
ld bc, HOF_TEAM
ld a, [wHoFTeamIndex]
@@ -641,7 +641,7 @@ LoadHallOfFameTeams: ; 73e60 (1c:7e60)
ld bc, HOF_TEAM
; fallthrough
-HallOfFame_Copy: ; 73e72 (1c:7e72)
+HallOfFame_Copy:
call EnableSRAMAndLatchClockData
xor a
ld [MBC1SRamBank], a
@@ -649,7 +649,7 @@ HallOfFame_Copy: ; 73e72 (1c:7e72)
call DisableSRAMAndPrepareClockData
ret
-ClearSAV: ; 73e80 (1c:7e80)
+ClearSAV:
call EnableSRAMAndLatchClockData
ld a, $4
.loop
@@ -661,22 +661,22 @@ ClearSAV: ; 73e80 (1c:7e80)
call DisableSRAMAndPrepareClockData
ret
-PadSRAM_FF: ; 73e91 (1c:7e91)
+PadSRAM_FF:
ld [MBC1SRamBank], a
ld hl, $a000
ld bc, $2000
ld a, $ff
jp FillMemory
-EnableSRAMAndLatchClockData: ; 73e9f (1c:7e9f)
+EnableSRAMAndLatchClockData:
ld a, $1
ld [MBC1SRamBankingMode], a
ld a, SRAM_ENABLE
ld [MBC1SRamEnable], a
ret
-DisableSRAMAndPrepareClockData: ; 73eaa (1c:7eaa)
+DisableSRAMAndPrepareClockData:
ld a, SRAM_DISABLE
ld [MBC1SRamBankingMode], a
ld [MBC1SRamEnable], a
- ret \ No newline at end of file
+ ret
diff --git a/engine/slot_machine.asm b/engine/slot_machine.asm
index 35f3a133..769a3f37 100755
--- a/engine/slot_machine.asm
+++ b/engine/slot_machine.asm
@@ -1,4 +1,4 @@
-PromptUserToPlaySlots: ; 37530 (d:7530)
+PromptUserToPlaySlots:
call SaveScreenTilesToBuffer2
ld a, BANK(DisplayTextIDInit)
ld [wAutoTextBoxDrawingControl], a
@@ -54,11 +54,11 @@ PromptUserToPlaySlots: ; 37530 (d:7530)
push af
jp CloseTextDisplay
-PlaySlotMachineText: ; 375b8 (d:75b8)
+PlaySlotMachineText:
TX_FAR _PlaySlotMachineText
db "@"
-MainSlotMachineLoop: ; 375bd (d:75bd)
+MainSlotMachineLoop:
call SlotMachine_PrintCreditCoins
xor a
ld hl, wPayoutCoins
@@ -147,32 +147,32 @@ MainSlotMachineLoop: ; 375bd (d:75bd)
call SlotMachine_PutOutLitBalls
jp MainSlotMachineLoop
-CoinMultiplierSlotMachineText: ; 37685 (d:7685)
+CoinMultiplierSlotMachineText:
db "×3"
next "×2"
next "×1@"
-OutOfCoinsSlotMachineText: ; 3768e (d:768e)
+OutOfCoinsSlotMachineText:
TX_FAR _OutOfCoinsSlotMachineText
db "@"
-BetHowManySlotMachineText: ; 37693 (d:7693)
+BetHowManySlotMachineText:
TX_FAR _BetHowManySlotMachineText
db "@"
-StartSlotMachineText: ; 37698 (d:7698)
+StartSlotMachineText:
TX_FAR _StartSlotMachineText
db "@"
-NotEnoughCoinsSlotMachineText: ; 3769d (d:769d)
+NotEnoughCoinsSlotMachineText:
TX_FAR _NotEnoughCoinsSlotMachineText
db "@"
-OneMoreGoSlotMachineText: ; 376a2 (d:76a2)
+OneMoreGoSlotMachineText:
TX_FAR _OneMoreGoSlotMachineText
db "@"
-SlotMachine_SetFlags: ; 376a7 (d:76a7)
+SlotMachine_SetFlags:
ld hl, wSlotMachineFlags
bit 7, [hl]
ret nz
@@ -202,7 +202,7 @@ SlotMachine_SetFlags: ; 376a7 (d:76a7)
set 7, [hl]
ret
-SlotMachine_SpinWheels: ; 376d4 (d:76d4)
+SlotMachine_SpinWheels:
ld c, 20
.loop1
push bc
@@ -234,7 +234,7 @@ SlotMachine_SpinWheels: ; 376d4 (d:76d4)
; visible. The 3 functions below ensure this by checking if the wheel offset
; is even before stopping the wheel.
-SlotMachine_StopOrAnimWheel1: ; 37706 (d:7706)
+SlotMachine_StopOrAnimWheel1:
ld a, [wStoppingWhichSlotMachineWheel]
cp 1
jr c, .animWheel
@@ -252,7 +252,7 @@ SlotMachine_StopOrAnimWheel1: ; 37706 (d:7706)
.animWheel
jp SlotMachine_AnimWheel1
-SlotMachine_StopOrAnimWheel2: ; 37722 (d:7722)
+SlotMachine_StopOrAnimWheel2:
ld a, [wStoppingWhichSlotMachineWheel]
cp 2
jr c, .animWheel
@@ -270,7 +270,7 @@ SlotMachine_StopOrAnimWheel2: ; 37722 (d:7722)
.animWheel
jp SlotMachine_AnimWheel2
-SlotMachine_StopOrAnimWheel3: ; 3773e (d:773e)
+SlotMachine_StopOrAnimWheel3:
ld a, [wStoppingWhichSlotMachineWheel]
cp 3
jr c, .animWheel
@@ -286,7 +286,7 @@ SlotMachine_StopOrAnimWheel3: ; 3773e (d:773e)
and a
ret
-SlotMachine_StopWheel1Early: ; 37753 (d:7753)
+SlotMachine_StopWheel1Early:
call SlotMachine_GetWheel1Tiles
ld hl, wSlotMachineWheel1BottomTile
ld a, [wSlotMachineFlags]
@@ -315,7 +315,7 @@ SlotMachine_StopWheel1Early: ; 37753 (d:7753)
ld [hl], 0
ret
-SlotMachine_StopWheel2Early: ; 37779 (d:7779)
+SlotMachine_StopWheel2Early:
call SlotMachine_GetWheel2Tiles
ld a, [wSlotMachineFlags]
and $80
@@ -338,7 +338,7 @@ SlotMachine_StopWheel2Early: ; 37779 (d:7779)
ld [wSlotMachineWheel2SlipCounter], a
ret
-SlotMachine_FindWheel1Wheel2Matches: ; 37795 (d:7795)
+SlotMachine_FindWheel1Wheel2Matches:
; return whether wheel 1 and wheel 2's current positions allow a match (given
; that wheel 3 stops in a good position) in Z
ld hl, wSlotMachineWheel1BottomTile
@@ -364,7 +364,7 @@ SlotMachine_FindWheel1Wheel2Matches: ; 37795 (d:7795)
dec de
ret
-SlotMachine_CheckForMatches: ; 377af (d:77af)
+SlotMachine_CheckForMatches:
call SlotMachine_GetWheel3Tiles
ld a, [wSlotMachineBet]
cp 2
@@ -478,7 +478,7 @@ SlotMachine_CheckForMatches: ; 377af (d:77af)
call UpdateGBCPal_OBP0
jp .done
-SymbolLinedUpSlotMachineText: ; 37892 (d:7892)
+SymbolLinedUpSlotMachineText:
TX_ASM
push bc
call SlotMachine_PrintWinningSymbol
@@ -490,11 +490,11 @@ SymbolLinedUpSlotMachineText: ; 37892 (d:7892)
inc bc
ret
-LinedUpText: ; 378a0 (d:78a0)
+LinedUpText:
TX_FAR _LinedUpText
db "@"
-SlotRewardPointers: ; 378a5 (d:78a5)
+SlotRewardPointers:
dw SlotReward300Func
dw SlotReward300Text
dw SlotReward100Func
@@ -508,24 +508,24 @@ SlotRewardPointers: ; 378a5 (d:78a5)
dw SlotReward15Func
dw SlotReward15Text
-SlotReward300Text: ; 378bd (d:78bd)
+SlotReward300Text:
db "300@"
-SlotReward100Text: ; 378c1 (d:78c1)
+SlotReward100Text:
db "100@"
-SlotReward8Text: ; 378c5 (d:78c5)
+SlotReward8Text:
db "8@"
-SlotReward15Text: ; 378c7 (d:78c7)
+SlotReward15Text:
db "15@"
-NotThisTimeText: ; 378ca (d:78ca)
+NotThisTimeText:
TX_FAR _NotThisTimeText
db "@"
; compares the slot machine tiles at bc, de, and hl
-SlotMachine_CheckForMatch: ; 378cf (d:78cf)
+SlotMachine_CheckForMatch:
ld a, [de]
cp [hl]
ret nz
@@ -533,24 +533,24 @@ SlotMachine_CheckForMatch: ; 378cf (d:78cf)
cp [hl]
ret
-SlotMachine_GetWheel3Tiles: ; 378d5 (d:78d5)
+SlotMachine_GetWheel3Tiles:
ld de, wSlotMachineWheel3BottomTile
ld hl, SlotMachineWheel3
ld a, [wSlotMachineWheel3Offset]
call SlotMachine_GetWheelTiles
-SlotMachine_GetWheel2Tiles: ; 378e1 (d:78e1)
+SlotMachine_GetWheel2Tiles:
ld de, wSlotMachineWheel2BottomTile
ld hl, SlotMachineWheel2
ld a, [wSlotMachineWheel2Offset]
call SlotMachine_GetWheelTiles
-SlotMachine_GetWheel1Tiles: ; 378ed (d:78ed)
+SlotMachine_GetWheel1Tiles:
ld de, wSlotMachineWheel1BottomTile
ld hl, SlotMachineWheel1
ld a, [wSlotMachineWheel1Offset]
-SlotMachine_GetWheelTiles: ; 378f6 (d:78f6)
+SlotMachine_GetWheelTiles:
ld c, a
ld b, 0
add hl, bc
@@ -564,7 +564,7 @@ SlotMachine_GetWheelTiles: ; 378f6 (d:78f6)
jr nz, .loop
ret
-SlotReward8Func: ; 37904 (d:7904)
+SlotReward8Func:
ld hl, wSlotMachineAllowMatchesCounter
ld a, [hl]
and a
@@ -575,7 +575,7 @@ SlotReward8Func: ; 37904 (d:7904)
ld de, 8
ret
-SlotReward15Func: ; 37912 (d:7912)
+SlotReward15Func:
ld hl, wSlotMachineAllowMatchesCounter
ld a, [hl]
and a
@@ -586,7 +586,7 @@ SlotReward15Func: ; 37912 (d:7912)
ld de, 15
ret
-SlotReward100Func: ; 37920 (d:7920)
+SlotReward100Func:
ld a, SFX_GET_KEY_ITEM
call PlaySound
xor a
@@ -595,7 +595,7 @@ SlotReward100Func: ; 37920 (d:7920)
ld de, 100
ret
-SlotReward300Func: ; 3792f (d:792f)
+SlotReward300Func:
ld hl, YeahText
call PrintText
ld a, SFX_GET_ITEM_2
@@ -611,11 +611,11 @@ SlotReward300Func: ; 3792f (d:792f)
ld de, 300
ret
-YeahText: ; 3794f (d:794f)
+YeahText:
TX_FAR _YeahText
db $0a, "@"
-SlotMachine_PrintWinningSymbol: ; 37955 (d:7955)
+SlotMachine_PrintWinningSymbol:
; prints winning symbol and down arrow in text box
coord hl, 2, 14
ld a, [wSlotMachineWinningSymbol]
@@ -633,7 +633,7 @@ SlotMachine_PrintWinningSymbol: ; 37955 (d:7955)
ld [hl], $ee ; down arrow
ret
-SlotMachine_SubtractBetFromPlayerCoins: ; 3796e (d:796e)
+SlotMachine_SubtractBetFromPlayerCoins:
ld hl, wTempCoins2 + 1
ld a, [wSlotMachineBet]
ld [hld], a
@@ -643,19 +643,19 @@ SlotMachine_SubtractBetFromPlayerCoins: ; 3796e (d:796e)
ld c, $2
predef SubBCDPredef
-SlotMachine_PrintCreditCoins: ; 37981 (d:7981)
+SlotMachine_PrintCreditCoins:
coord hl, 5, 1
ld de, wPlayerCoins
ld c, $2
jp PrintBCDNumber
-SlotMachine_PrintPayoutCoins: ; 3798c (d:798c)
+SlotMachine_PrintPayoutCoins:
coord hl, 11, 1
ld de, wPayoutCoins
lb bc, LEADING_ZEROES | 2, 4 ; 2 bytes, 4 digits
jp PrintNumber
-SlotMachine_PayCoinsToPlayer: ; 37998 (d:7998)
+SlotMachine_PayCoinsToPlayer:
ld a, $1
ld [wMuteAudioAndPauseMusic], a
call WaitForSoundToFinish
@@ -713,12 +713,12 @@ SlotMachine_PayCoinsToPlayer: ; 37998 (d:7998)
call DelayFrames
jr .loop
-SlotMachine_PutOutLitBalls: ; 379fe (d:79fe)
+SlotMachine_PutOutLitBalls:
ld a, $23
ld [wNewSlotMachineBallTile], a
jr SlotMachine_UpdateThreeCoinBallTiles
-SlotMachine_LightBalls: ; 37a05 (d:7a05)
+SlotMachine_LightBalls:
ld a, $14
ld [wNewSlotMachineBallTile], a
ld a, [wSlotMachineBet]
@@ -727,22 +727,22 @@ SlotMachine_LightBalls: ; 37a05 (d:7a05)
dec a
jr z, SlotMachine_UpdateTwoCoinBallTiles
-SlotMachine_UpdateThreeCoinBallTiles: ; 37a13 (d:7a13)
+SlotMachine_UpdateThreeCoinBallTiles:
coord hl, 3, 2
call SlotMachine_UpdateBallTiles
coord hl, 3, 10
call SlotMachine_UpdateBallTiles
-SlotMachine_UpdateTwoCoinBallTiles: ; 37a1f (d:7a1f)
+SlotMachine_UpdateTwoCoinBallTiles:
coord hl, 3, 4
call SlotMachine_UpdateBallTiles
coord hl, 3, 8
call SlotMachine_UpdateBallTiles
-SlotMachine_UpdateOneCoinBallTiles: ; 37a2b (d:7a2b)
+SlotMachine_UpdateOneCoinBallTiles:
coord hl, 3, 6
-SlotMachine_UpdateBallTiles: ; 37a2e (d:7a2e)
+SlotMachine_UpdateBallTiles:
ld a, [wNewSlotMachineBallTile]
ld [hl], a
ld bc, 13
@@ -757,7 +757,7 @@ SlotMachine_UpdateBallTiles: ; 37a2e (d:7a2e)
ld [hl], a
ret
-SlotMachine_AnimWheel1: ; 37a43 (d:7a43)
+SlotMachine_AnimWheel1:
ld bc, SlotMachineWheel1
ld de, wSlotMachineWheel1Offset
ld hl, wOAMBuffer
@@ -765,7 +765,7 @@ SlotMachine_AnimWheel1: ; 37a43 (d:7a43)
ld [wBaseCoordX], a
jr SlotMachine_AnimWheel
-SlotMachine_AnimWheel2: ; 37a53 (d:7a53)
+SlotMachine_AnimWheel2:
ld bc, SlotMachineWheel2
ld de, wSlotMachineWheel2Offset
ld hl, wOAMBuffer + $30
@@ -773,14 +773,14 @@ SlotMachine_AnimWheel2: ; 37a53 (d:7a53)
ld [wBaseCoordX], a
jr SlotMachine_AnimWheel
-SlotMachine_AnimWheel3: ; 37a63 (d:7a63)
+SlotMachine_AnimWheel3:
ld bc, SlotMachineWheel3
ld de, wSlotMachineWheel3Offset
ld hl, wOAMBuffer + $60
ld a, $70
ld [wBaseCoordX], a
-SlotMachine_AnimWheel: ; 37a71 (d:7a71)
+SlotMachine_AnimWheel:
ld a, $58
ld [wBaseCoordY], a
push de
@@ -825,7 +825,7 @@ SlotMachine_AnimWheel: ; 37a71 (d:7a71)
ld [de], a
ret
-SlotMachine_HandleInputWhileWheelsSpin: ; 37ab2 (d:7ab2)
+SlotMachine_HandleInputWhileWheelsSpin:
call DelayFrame
call JoypadLowSensitivity
ld a, [hJoy5]
@@ -849,7 +849,7 @@ SlotMachine_HandleInputWhileWheelsSpin: ; 37ab2 (d:7ab2)
ret nz
jr .loop
-LoadSlotMachineTiles: ; 37ad8 (d:7ad8)
+LoadSlotMachineTiles:
call DisableLCD
ld hl, SlotMachineTiles2
ld de, vChars0
@@ -880,11 +880,11 @@ LoadSlotMachineTiles: ; 37ad8 (d:7ad8)
call SlotMachine_AnimWheel2
jp SlotMachine_AnimWheel3
-SlotMachineMap: ; 37b25 (d:7b25)
+SlotMachineMap:
INCBIN "gfx/tilemaps/slotmachine.map"
SlotMachineMapEnd:
INCLUDE "data/slot_machine_wheels.asm"
-SlotMachineTiles1: ; 37c81 (d:7c81)
+SlotMachineTiles1:
INCBIN "gfx/slotmachine1.2bpp"
diff --git a/engine/status_ailments.asm b/engine/status_ailments.asm
index b233defa..787533c4 100755
--- a/engine/status_ailments.asm
+++ b/engine/status_ailments.asm
@@ -1,4 +1,4 @@
-PrintStatusAilment: ; 58e8b (16:4e8b)
+PrintStatusAilment:
ld a, [de]
bit PSN, a
jr nz, .psn
diff --git a/engine/subtract_paid_money.asm b/engine/subtract_paid_money.asm
index 5cdbd833..a6a6ec2e 100644
--- a/engine/subtract_paid_money.asm
+++ b/engine/subtract_paid_money.asm
@@ -1,6 +1,6 @@
; subtracts the amount the player paid from their money
; sets carry flag if there is enough money and unsets carry flag if not
-SubtractAmountPaidFromMoney_: ; 68a6 (1:68a6)
+SubtractAmountPaidFromMoney_:
ld de, wPlayerMoney
ld hl, hMoney ; total price of items
ld c, 3 ; length of money in bytes
diff --git a/engine/surfing_minigame.asm b/engine/surfing_minigame.asm
index 5869f9fb..48aaca53 100755
--- a/engine/surfing_minigame.asm
+++ b/engine/surfing_minigame.asm
@@ -1721,7 +1721,7 @@ DidPlayerGetAHighScore:
scf
ret
-SurfingMinigame_PlayPikaCryIfSurfingPikaInParty: ; f8bcb (3e:4bcb)
+SurfingMinigame_PlayPikaCryIfSurfingPikaInParty:
push de
callab IsSurfingPikachuInThePlayersParty
pop de
diff --git a/engine/titlescreen.asm b/engine/titlescreen.asm
index 8da93f17..c4dff73c 100755
--- a/engine/titlescreen.asm
+++ b/engine/titlescreen.asm
@@ -1,4 +1,4 @@
-SetDefaultNamesBeforeTitlescreen: ; 414b (1:414b)
+SetDefaultNamesBeforeTitlescreen:
ld hl, NintenText
ld de, wPlayerName
call CopyFixedLengthText
@@ -16,7 +16,7 @@ SetDefaultNamesBeforeTitlescreen: ; 414b (1:414b)
ld [wAudioROMBank], a
ld [wAudioSavedROMBank], a
-DisplayTitleScreen: ; 4171 (1:4171)
+DisplayTitleScreen:
call GBPalWhiteOut
ld a, $1
ld [H_AUTOBGTRANSFERENABLED], a
@@ -226,17 +226,17 @@ DisplayTitleScreen: ; 4171 (1:4171)
jpba DoClearSaveDialogue
-TitleScreenCopyTileMapToVRAM: ; 4332 (1:4332)
+TitleScreenCopyTileMapToVRAM:
ld [H_AUTOBGTRANSFERDEST + 1], a
jp Delay3
-LoadCopyrightAndTextBoxTiles: ; 4337 (1:4337)
+LoadCopyrightAndTextBoxTiles:
xor a
ld [hWY], a
call ClearScreen
call LoadTextBoxTilePatterns
-LoadCopyrightTiles: ; 4340 (1:4340)
+LoadCopyrightTiles:
ld de, NintendoCopyrightLogoGraphics
ld hl, vChars2 + $600
lb bc, BANK(NintendoCopyrightLogoGraphics), (TextBoxGraphics + $10 - NintendoCopyrightLogoGraphics) / $10 ; bug: overflows into text box graphics and copies the "A" tile
@@ -245,17 +245,17 @@ LoadCopyrightTiles: ; 4340 (1:4340)
ld de, CopyrightTextString
jp PlaceString
-CopyrightTextString: ; 4355 (1:4355)
+CopyrightTextString:
db $60,$61,$62,$63,$61,$62,$7c,$7f,$65,$66,$67,$68,$69,$6a ; ©1995-1999 Nintendo
next $60,$61,$62,$63,$61,$62,$7c,$7f,$6b,$6c,$6d,$6e,$6f,$70,$71,$72 ; ©1995-1999 Creatures inc.
next $60,$61,$62,$63,$61,$62,$7c,$7f,$73,$74,$75,$76,$77,$78,$79,$7a,$7b ; ©1995-1999 GAME FREAK inc.
db "@"
-TitleScreen_PlayPikachuPCM: ; 4387 (1:4387)
+TitleScreen_PlayPikachuPCM:
callab PlayPikachuSoundClip
ret
-DoTitleScreenFunction: ; 4390 (1:4390)
+DoTitleScreenFunction:
call .CheckTimer
ld a, [wTitleScreenScene]
ld e, a
@@ -269,7 +269,7 @@ DoTitleScreenFunction: ; 4390 (1:4390)
jp [hl]
-.Jumptable: ; 43a2 (1:43a2)
+.Jumptable:
dw .Nop
dw .BlinkHalf
dw .BlinkWait
@@ -283,23 +283,23 @@ DoTitleScreenFunction: ; 4390 (1:4390)
dw .BlinkOpen
dw .GoBackToStart
-.GoBackToStart: ; 43ba (1:43ba)
+.GoBackToStart:
xor a
ld [wTitleScreenScene], a
.Nop
ret
-.BlinkOpen: ; 43bf (1:43bf)
+.BlinkOpen:
ld e, 0
jr .LoadBlinkFrame
-.BlinkHalf: ; 43c3 (1:43c3)
+.BlinkHalf:
ld e, 4
jr .LoadBlinkFrame
-.BlinkClosed: ; 43c7 (1:43c7)
+.BlinkClosed:
ld e, 8
-.LoadBlinkFrame: ; 43c9 (1:43c9)
+.LoadBlinkFrame:
ld hl, wOAMBuffer + 2
ld c, 8
.loop
@@ -312,12 +312,12 @@ DoTitleScreenFunction: ; 4390 (1:4390)
inc hl
dec c
jr nz, .loop
-.BlinkWait: ; 43d9 (1:43d9)
+.BlinkWait:
ld hl, wTitleScreenScene
inc [hl]
ret
-.CheckTimer: ; 43de (1:43de)
+.CheckTimer:
ld hl, wTitleScreenTimer
ld a, [hl]
inc [hl]
@@ -333,14 +333,14 @@ DoTitleScreenFunction: ; 4390 (1:4390)
ret
; copy text of fixed length NAME_LENGTH (like player name, rival name, mon names, ...)
-CopyFixedLengthText: ; 43f3 (1:43f3)
+CopyFixedLengthText:
ld bc, NAME_LENGTH
jp CopyData
NintenText: db "NINTEN@"
SonyText: db "SONY@"
-IncrementResetCounter: ; 4405 (1:4405)
+IncrementResetCounter:
ld hl, wTitleScreenScene + 2
ld e, [hl]
inc hl
@@ -359,7 +359,7 @@ IncrementResetCounter: ; 4405 (1:4405)
scf
ret
-FillSpriteBuffer0WithAA: ; 4418 (1:4418)
+FillSpriteBuffer0WithAA:
xor a
call SwitchSRAMBankAndLatchClockData
ld hl, sSpriteBuffer0
diff --git a/engine/titlescreen2.asm b/engine/titlescreen2.asm
index cf4506bc..92282b83 100755
--- a/engine/titlescreen2.asm
+++ b/engine/titlescreen2.asm
@@ -1,24 +1,24 @@
; Leftover of Red/Blue. Seemingly unused
-TitleScroll_WaitBall: ; 3749e (d:749e)
+TitleScroll_WaitBall:
; Wait around for the TitleBall animation to play out.
; hi: speed
; lo: duration
db $05, $05, 0
-TitleScroll_In: ; 374a1 (d:74a1)
+TitleScroll_In:
; Scroll a TitleMon in from the right.
; hi: speed
; lo: duration
db $a2, $94, $84, $63, $52, $31, $11, 0
-TitleScroll_Out: ; 374a9 (d:74a9)
+TitleScroll_Out:
; Scroll a TitleMon out to the left.
; hi: speed
; lo: duration
db $12, $22, $32, $42, $52, $62, $83, $93, 0
-TitleScroll: ; 374b2 (d:74b2)
+TitleScroll:
ld a, d
ld bc, TitleScroll_In
@@ -33,7 +33,7 @@ TitleScroll: ; 374b2 (d:74b2)
ld e, 0 ; don't animate titleball
.ok
-_TitleScroll: ; 374c4 (d:74c4)
+_TitleScroll:
ld a, [bc]
and a
ret z
@@ -84,12 +84,12 @@ _TitleScroll: ; 374c4 (d:74c4)
jr z, .wait2
ret
-TitleBallYTable: ; 374fa (d:74fa)
+TitleBallYTable:
; OBJ y-positions for the Poke Ball held by Red in the title screen.
; This is really two 0-terminated lists. Initiated with an index of 1.
db 0, $71, $6f, $6e, $6d, $6c, $6d, $6e, $6f, $71, $74, 0
-TitleScreenAnimateBallIfStarterOut: ; 37506 (d:7506)
+TitleScreenAnimateBallIfStarterOut:
; Animate the TitleBall if a starter just got scrolled out.
ld a, [wTitleScreenScene]
cp STARTER1
@@ -104,7 +104,7 @@ TitleScreenAnimateBallIfStarterOut: ; 37506 (d:7506)
ld d, 0
jp _TitleScroll
-GetTitleBallY: ; 3751e (d:751e)
+GetTitleBallY:
; Get position e from TitleBallYTable
push de
push hl
diff --git a/engine/town_map.asm b/engine/town_map.asm
index 47812db0..65a10912 100755
--- a/engine/town_map.asm
+++ b/engine/town_map.asm
@@ -1,4 +1,4 @@
-DisplayTownMap: ; 70eb7 (1c:4eb7)
+DisplayTownMap:
call LoadTownMap
ld hl, wUpdateSpritesEnabled
ld a, [hl]
@@ -113,11 +113,11 @@ DisplayTownMap: ; 70eb7 (1c:4eb7)
INCLUDE "data/town_map_order.asm"
-TownMapCursor: ; 70fc4 (1c:4fc4)
+TownMapCursor:
INCBIN "gfx/town_map_cursor.1bpp"
TownMapCursorEnd:
-LoadTownMap_Nest: ; 70fe4 (1c:4fe4)
+LoadTownMap_Nest:
call LoadTownMap
ld hl, wUpdateSpritesEnabled
ld a, [hl]
@@ -139,10 +139,10 @@ LoadTownMap_Nest: ; 70fe4 (1c:4fe4)
ld [hl], a
ret
-MonsNestText: ; 7100d (1c:500d)
+MonsNestText:
db "'s NEST@"
-LoadTownMap_Fly: ; 71014 (1c:5014)
+LoadTownMap_Fly:
call ClearSprites
call LoadTownMap
ld a, $1
@@ -255,10 +255,10 @@ LoadTownMap_Fly: ; 71014 (1c:5014)
ld hl, wFlyLocationsList + 11
jr .pressedDown
-ToText: ; 710f8 (1c:50f8)
+ToText:
db "To@"
-BuildFlyLocationsList: ; 710fb (1c:50fb)
+BuildFlyLocationsList:
ld hl, wFlyLocationsList - 1
ld [hl], $ff
inc hl
@@ -282,11 +282,11 @@ BuildFlyLocationsList: ; 710fb (1c:50fb)
ld [hl], $ff
ret
-TownMapUpArrow: ; 7111e (1c:511e)
+TownMapUpArrow:
INCBIN "gfx/up_arrow.1bpp"
TownMapUpArrowEnd:
-LoadTownMap: ; 71126 (1c:5126)
+LoadTownMap:
call GBPalWhiteOutWithDelay3
call ClearScreen
call UpdateSprites
@@ -335,11 +335,11 @@ LoadTownMap: ; 71126 (1c:5126)
ld [wTownMapSpriteBlinkingEnabled], a
ret
-CompressedMap: ; 7118a (1c:518a)
+CompressedMap:
; you can decompress this file with the redrle program in the extras/ dir
INCBIN "gfx/town_map.rle"
-ExitTownMap: ; 71235 (1c:5235)
+ExitTownMap:
; clear town map graphics data and load usual graphics data
xor a
ld [wTownMapSpriteBlinkingEnabled], a
@@ -351,7 +351,7 @@ ExitTownMap: ; 71235 (1c:5235)
call UpdateSprites
jp RunDefaultPaletteCommand
-DrawPlayerOrBirdSprite: ; 7124e (1c:524e)
+DrawPlayerOrBirdSprite:
; a = map number
; b = OAM base tile
push af
@@ -377,7 +377,7 @@ DrawPlayerOrBirdSprite: ; 7124e (1c:524e)
ld bc, $a0
jp CopyData
-DisplayWildLocations: ; 71279 (1c:5279)
+DisplayWildLocations:
callba FindWildLocationsOfMon
call ZeroOutDuplicatesInList
ld hl, wOAMBuffer
@@ -424,10 +424,10 @@ DisplayWildLocations: ; 71279 (1c:5279)
ld bc, $a0
jp CopyData
-AreaUnknownText: ; 712d3 (1c:52d3)
+AreaUnknownText:
db " AREA UNKNOWN@"
-TownMapCoordsToOAMCoords: ; 712e1 (1c:52e1)
+TownMapCoordsToOAMCoords:
; in: lower nybble of a = x, upper nybble of a = y
; out: b and [hl] = (y * 8) + 24, c and [hl+1] = (x * 8) + 24
push af
@@ -445,14 +445,14 @@ TownMapCoordsToOAMCoords: ; 712e1 (1c:52e1)
ld [hli], a
ret
-WritePlayerOrBirdSpriteOAM: ; 712f6 (1c:52f6)
+WritePlayerOrBirdSpriteOAM:
ld a, [wOAMBaseTile]
and a
ld hl, wOAMBuffer + $90 ; for player sprite
jr z, WriteTownMapSpriteOAM
ld hl, wOAMBuffer + $80 ; for bird sprite
-WriteTownMapSpriteOAM: ; 71302 (1c:5302)
+WriteTownMapSpriteOAM:
push hl
; Subtract 4 from c (X coord) and 4 from b (Y coord). However, the carry from c
@@ -464,7 +464,7 @@ WriteTownMapSpriteOAM: ; 71302 (1c:5302)
ld c, l
pop hl
-WriteAsymmetricMonPartySpriteOAM: ; 7130a (1c:530a)
+WriteAsymmetricMonPartySpriteOAM:
; Writes 4 OAM blocks for a helix mon party sprite, since is does not have
; a vertical line of symmetry.
lb de, 2, 2
@@ -497,7 +497,7 @@ WriteAsymmetricMonPartySpriteOAM: ; 7130a (1c:530a)
jr nz, .loop
ret
-WriteSymmetricMonPartySpriteOAM: ; 7132f (1c:532f)
+WriteSymmetricMonPartySpriteOAM:
; Writes 4 OAM blocks for a mon party sprite other than a helix. All the
; sprites other than the helix one have a vertical line of symmetry which allows
; the X-flip OAM bit to be used so that only 2 rather than 4 tile patterns are
@@ -539,7 +539,7 @@ WriteSymmetricMonPartySpriteOAM: ; 7132f (1c:532f)
jr nz, .loop
ret
-ZeroOutDuplicatesInList: ; 71362 (1c:5362)
+ZeroOutDuplicatesInList:
; replace duplicate bytes in the list of wild pokemon locations with 0
ld de, wBuffer
.loop
@@ -562,7 +562,7 @@ ZeroOutDuplicatesInList: ; 71362 (1c:5362)
inc hl
jr .zeroDuplicatesLoop
-LoadTownMapEntry: ; 7137a (1c:537a)
+LoadTownMapEntry:
; in: a = map number
; out: lower nybble of [de] = x, upper nybble of [de] = y, hl = address of name
cp REDS_HOUSE_1F
@@ -592,20 +592,20 @@ LoadTownMapEntry: ; 7137a (1c:537a)
ld l, a
ret
-; ExternalMapEntries: ; 7139c (1c:539c)
+; ExternalMapEntries:
; dr $7139c,$7140b
-; InternalMapEntries: ; 7140b (1c:540b)
+; InternalMapEntries:
; dr $7140b,$7174b
INCLUDE "data/town_map_entries.asm"
INCLUDE "text/map_names.asm" ; TODO: relabel addresses
-MonNestIcon: ; 7174b (1c:574b)
+MonNestIcon:
INCBIN "gfx/mon_nest_icon.1bpp"
MonNestIconEnd:
-TownMapSpriteBlinkingAnimation: ; 71753 (1c:5753)
+TownMapSpriteBlinkingAnimation:
ld a, [wAnimCounter]
inc a
cp 25
diff --git a/engine/trade.asm b/engine/trade.asm
index fd5eb1d1..bbd43779 100755
--- a/engine/trade.asm
+++ b/engine/trade.asm
@@ -1,4 +1,4 @@
-InternalClockTradeAnim: ; 413e5 (10:53e5)
+InternalClockTradeAnim:
; Do the trading animation with the player's gameboy on the left.
; In-game trades and internally clocked link cable trades use this.
ld a, [wTradedPlayerMonSpecies]
@@ -8,7 +8,7 @@ InternalClockTradeAnim: ; 413e5 (10:53e5)
ld de, InternalClockTradeFuncSequence
jr TradeAnimCommon
-ExternalClockTradeAnim: ; 413f6 (10:53f6)
+ExternalClockTradeAnim:
; Do the trading animation with the player's gameboy on the right.
; Externally clocked link cable trades use this.
ld a, [wTradedEnemyMonSpecies]
@@ -17,7 +17,7 @@ ExternalClockTradeAnim: ; 413f6 (10:53f6)
ld [wRightGBMonSpecies], a
ld de, ExternalClockTradeFuncSequence
-TradeAnimCommon: ; 41405 (10:5405)
+TradeAnimCommon:
ld a, [wOptions]
push af
and %110000 ; preserve speaker options
@@ -70,7 +70,7 @@ tradefunc: MACRO
; They are from opposite perspectives. The external clock one makes use of
; Trade_SwapNames to swap the player and enemy names for some functions.
-InternalClockTradeFuncSequence: ; 4143d (10:543d)
+InternalClockTradeFuncSequence:
tradefunc LoadTradingGFXAndMonNames
tradefunc Trade_ShowPlayerMon
tradefunc Trade_DrawOpenEndOfLinkCable
@@ -89,7 +89,7 @@ InternalClockTradeFuncSequence: ; 4143d (10:543d)
tradefunc Trade_Cleanup
db $FF
-ExternalClockTradeFuncSequence: ; 4144e (10:544e)
+ExternalClockTradeFuncSequence:
tradefunc LoadTradingGFXAndMonNames
tradefunc Trade_ShowClearedWindow
tradefunc PrintTradeWillTradeText
@@ -113,7 +113,7 @@ ExternalClockTradeFuncSequence: ; 4144e (10:544e)
tradefunc Trade_Cleanup
db $FF
-TradeFuncPointerTable: ; 41464 (10:5464)
+TradeFuncPointerTable:
addtradefunc LoadTradingGFXAndMonNames
addtradefunc Trade_ShowPlayerMon
addtradefunc Trade_DrawOpenEndOfLinkCable
@@ -132,11 +132,11 @@ TradeFuncPointerTable: ; 41464 (10:5464)
addtradefunc Trade_SlideTextBoxOffScreen
addtradefunc Trade_SwapNames
-Trade_Delay100: ; 41486 (10:5486)
+Trade_Delay100:
ld c, 100
jp DelayFrames
-Trade_CopyTileMapToVRAM: ; 4148b (10:548b)
+Trade_CopyTileMapToVRAM:
ld a, $1
ld [H_AUTOBGTRANSFERENABLED], a
call Delay3
@@ -144,17 +144,17 @@ Trade_CopyTileMapToVRAM: ; 4148b (10:548b)
ld [H_AUTOBGTRANSFERENABLED], a
ret
-Trade_Delay80: ; 41496 (10:5496)
+Trade_Delay80:
ld c, 80
jp DelayFrames
-Trade_ClearTileMap: ; 4149b (10:549b)
+Trade_ClearTileMap:
coord hl, 0, 0
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
ld a, " "
jp FillMemory
-LoadTradingGFXAndMonNames: ; 414a6 (10:54a6)
+LoadTradingGFXAndMonNames:
call Trade_ClearTileMap
call DisableLCD
ld hl, TradingAnimationGraphics
@@ -198,13 +198,13 @@ LoadTradingGFXAndMonNames: ; 414a6 (10:54a6)
ld [wd11e], a
jp GetMonName
-Trade_LoadMonPartySpriteGfx: ; 41513 (10:5513)
+Trade_LoadMonPartySpriteGfx:
ld a, %11010000
ld [rOBP1], a
call UpdateGBCPal_OBP1
jpba LoadMonPartySpriteGfx
-Trade_SwapNames: ; 41522 (10:5522)
+Trade_SwapNames:
ld hl, wPlayerName
ld de, wBuffer
ld bc, NAME_LENGTH
@@ -218,14 +218,14 @@ Trade_SwapNames: ; 41522 (10:5522)
ld bc, NAME_LENGTH
jp CopyData
-Trade_Cleanup: ; 41546 (10:5546)
+Trade_Cleanup:
xor a
call LoadGBPal
ld hl, wd730
res 6, [hl] ; turn off instant text printing
ret
-Trade_ShowPlayerMon: ; 41550 (10:5550)
+Trade_ShowPlayerMon:
ld a, %10101011
ld [rLCDC], a
ld a, $50
@@ -266,7 +266,7 @@ Trade_ShowPlayerMon: ; 41550 (10:5550)
ld [H_AUTOBGTRANSFERENABLED], a
ret
-Trade_DrawOpenEndOfLinkCable: ; 415a2 (10:55a2)
+Trade_DrawOpenEndOfLinkCable:
call Trade_ClearTileMap
ld b, vBGMap0 / $100
call CopyScreenTileBufferToVRAM
@@ -298,7 +298,7 @@ Trade_DrawOpenEndOfLinkCable: ; 415a2 (10:55a2)
jr nz, .loop
ret
-Trade_AnimateBallEnteringLinkCable: ; 415dc (10:55dc)
+Trade_AnimateBallEnteringLinkCable:
ld a, TRADE_BALL_SHAKE_ANIM
call Trade_ShowAnimation
ld c, 10
@@ -348,11 +348,11 @@ Trade_AnimateBallEnteringLinkCable: ; 415dc (10:55dc)
ld [H_AUTOBGTRANSFERENABLED], a
ret
-Trade_BallInsideLinkCableOAM: ; 4163b (10:563b)
+Trade_BallInsideLinkCableOAM:
db $7E,$00,$7E,$20
db $7E,$40,$7E,$60
-Trade_ShowEnemyMon: ; 41643 (10:5643)
+Trade_ShowEnemyMon:
ld a, TRADE_BALL_TILT_ANIM
call Trade_ShowAnimation
call Trade_ShowClearedWindow
@@ -377,7 +377,7 @@ Trade_ShowEnemyMon: ; 41643 (10:5643)
call ClearScreenArea
jp PrintTradeTakeCareText
-Trade_AnimLeftToRight: ; 41682 (10:5682)
+Trade_AnimLeftToRight:
; Animates the mon moving from the left GB to the right one.
call Trade_InitGameboyTransferGfx
ld a, $1
@@ -412,7 +412,7 @@ Trade_AnimLeftToRight: ; 41682 (10:5682)
call Trade_AnimMonMoveVertical
jp ClearSprites
-Trade_AnimRightToLeft: ; 416d5 (10:56d5)
+Trade_AnimRightToLeft:
; Animates the mon moving from the right GB to the left one.
call Trade_InitGameboyTransferGfx
xor a
@@ -444,7 +444,7 @@ Trade_AnimRightToLeft: ; 416d5 (10:56d5)
ld [H_AUTOBGTRANSFERENABLED], a
jp ClearSprites
-Trade_InitGameboyTransferGfx: ; 41720 (10:5720)
+Trade_InitGameboyTransferGfx:
; Initialises the graphics for showing a mon moving between gameboys.
ld a, $1
ld [H_AUTOBGTRANSFERENABLED], a
@@ -463,7 +463,7 @@ Trade_InitGameboyTransferGfx: ; 41720 (10:5720)
ld [hWY], a
ret
-Trade_DrawLeftGameboy: ; 41741 (10:5741)
+Trade_DrawLeftGameboy:
call Trade_ClearTileMap
; draw link cable
@@ -492,7 +492,7 @@ Trade_DrawLeftGameboy: ; 41741 (10:5741)
jp DelayFrame
-Trade_DrawRightGameboy: ; 4176f (10:576f)
+Trade_DrawRightGameboy:
call Trade_ClearTileMap
; draw horizontal segment of link cable
@@ -538,7 +538,7 @@ Trade_DrawRightGameboy: ; 4176f (10:576f)
jp DelayFrame
-Trade_DrawCableAcrossScreen: ; 417b1 (10:57b1)
+Trade_DrawCableAcrossScreen:
; Draws the link cable across the screen.
call Trade_ClearTileMap
coord hl, 0, 4
@@ -550,7 +550,7 @@ Trade_DrawCableAcrossScreen: ; 417b1 (10:57b1)
jr nz, .loop
ret
-Trade_CopyCableTilesOffScreen: ; 417c0 (10:57c0)
+Trade_CopyCableTilesOffScreen:
; This is used to copy the link cable tiles off screen so that the cable
; continues when the screen is scrolled.
push hl
@@ -566,7 +566,7 @@ Trade_CopyCableTilesOffScreen: ; 417c0 (10:57c0)
ld c, 10
jp DelayFrames
-Trade_AnimMonMoveHorizontal: ; 417d7 (10:57d7)
+Trade_AnimMonMoveHorizontal:
; Animates the mon going through the link cable horizontally over a distance of
; b 16-pixel units.
ld a, [wTradedMonMovingRight]
@@ -593,7 +593,7 @@ Trade_AnimMonMoveHorizontal: ; 417d7 (10:57d7)
jr nz, Trade_AnimMonMoveHorizontal
ret
-Trade_AnimCircledMon: ; 417fa (10:57fa)
+Trade_AnimCircledMon:
; Cycles between the two animation frames of the mon party sprite, cycles
; between a circle and an oval around the mon sprite, and makes the cable flash.
push de
@@ -618,11 +618,11 @@ Trade_AnimCircledMon: ; 417fa (10:57fa)
pop de
ret
-Trade_WriteCircledMonOAM: ; 4181a (10:581a)
+Trade_WriteCircledMonOAM:
callba WriteMonPartySpriteOAMBySpecies
call Trade_WriteCircleOAM
-Trade_AddOffsetsToOAMCoords: ; 41825 (10:5825)
+Trade_AddOffsetsToOAMCoords:
ld hl, wOAMBuffer
ld c, $14 ; SCREEN_WIDTH?
.loop
@@ -638,7 +638,7 @@ Trade_AddOffsetsToOAMCoords: ; 41825 (10:5825)
jr nz, .loop
ret
-Trade_AnimMonMoveVertical: ; 4183a (10:583a)
+Trade_AnimMonMoveVertical:
; Animates the mon going through the link cable vertically as well as
; horizontally for a bit. The last bit of horizontal movement (when moving
; right) or the first bit of horizontal movement (when moving left) are done
@@ -674,7 +674,7 @@ Trade_AnimMonMoveVertical: ; 4183a (10:583a)
jr nz, .loop
ret
-Trade_WriteCircleOAM: ; 4186d (10:586d)
+Trade_WriteCircleOAM:
; Writes the OAM blocks for the circle around the traded mon as it passes
; the link cable.
ld hl, Trade_CircleOAMPointers
@@ -701,7 +701,7 @@ Trade_WriteCircleOAM: ; 4186d (10:586d)
jr nz, .loop
ret
-Trade_CircleOAMPointers: ; 41889 (10:5889)
+Trade_CircleOAMPointers:
dw Trade_CircleOAM0
db $08,$08
dw Trade_CircleOAM1
@@ -711,24 +711,24 @@ Trade_CircleOAMPointers: ; 41889 (10:5889)
dw Trade_CircleOAM3
db $18,$18
-Trade_CircleOAM0: ; 41899 (10:5899)
+Trade_CircleOAM0:
db $38,$10,$39,$10
db $3A,$10,$3B,$10
-Trade_CircleOAM1: ; 418a1 (10:58a1)
+Trade_CircleOAM1:
db $39,$30,$38,$30
db $3B,$30,$3A,$30
-Trade_CircleOAM2: ; 418a9 (10:58a9)
+Trade_CircleOAM2:
db $3A,$50,$3B,$50
db $38,$50,$39,$50
-Trade_CircleOAM3: ; 418b1 (10:58b1)
+Trade_CircleOAM3:
db $3B,$70,$3A,$70
db $39,$70,$38,$70
; a = species
-Trade_LoadMonSprite: ; 418b9 (10:58b9)
+Trade_LoadMonSprite:
ld [wcf91], a
ld [wd0b5], a
ld [wWholeScreenPaletteMonSpecies], a
@@ -744,7 +744,7 @@ Trade_LoadMonSprite: ; 418b9 (10:58b9)
ld c, 10
jp DelayFrames
-Trade_ShowClearedWindow: ; 418dd (10:58dd)
+Trade_ShowClearedWindow:
; clears the window and covers the BG entirely with the window
ld a, $1
ld [H_AUTOBGTRANSFERENABLED], a
@@ -759,7 +759,7 @@ Trade_ShowClearedWindow: ; 418dd (10:58dd)
ld [hSCX], a
ret
-Trade_SlideTextBoxOffScreen: ; 418f4 (10:58f4)
+Trade_SlideTextBoxOffScreen:
; Slides the window right until it's off screen. The window usually just has
; a text box at the bottom when this is called. However, when this is called
; after Trade_ShowEnemyMon in the external clock sequence, there is a mon pic
@@ -781,18 +781,18 @@ Trade_SlideTextBoxOffScreen: ; 418f4 (10:58f4)
ld [rWX], a
ret
-PrintTradeWentToText: ; 41913 (10:5913)
+PrintTradeWentToText:
ld hl, TradeWentToText
call PrintText
ld c, 200
call DelayFrames
jp Trade_SlideTextBoxOffScreen
-TradeWentToText: ; 41921 (10:5921)
+TradeWentToText:
TX_FAR _TradeWentToText
db "@"
-PrintTradeForSendsText: ; 41926 (10:5926)
+PrintTradeForSendsText:
ld hl, TradeForText
call PrintText
call Trade_Delay80
@@ -800,15 +800,15 @@ PrintTradeForSendsText: ; 41926 (10:5926)
call PrintText
jp Trade_Delay80
-TradeForText: ; 41938 (10:5938)
+TradeForText:
TX_FAR _TradeForText
db "@"
-TradeSendsText: ; 4193d (10:593d)
+TradeSendsText:
TX_FAR _TradeSendsText
db "@"
-PrintTradeFarewellText: ; 41942 (10:5942)
+PrintTradeFarewellText:
ld hl, TradeWavesFarewellText
call PrintText
call Trade_Delay80
@@ -817,24 +817,24 @@ PrintTradeFarewellText: ; 41942 (10:5942)
call Trade_Delay80
jp Trade_SlideTextBoxOffScreen
-TradeWavesFarewellText: ; 41957 (10:5957)
+TradeWavesFarewellText:
TX_FAR _TradeWavesFarewellText
db "@"
-TradeTransferredText: ; 4195c (10:595c)
+TradeTransferredText:
TX_FAR _TradeTransferredText
db "@"
-PrintTradeTakeCareText: ; 41961 (10:5961)
+PrintTradeTakeCareText:
ld hl, TradeTakeCareText
call PrintText
jp Trade_Delay80
-TradeTakeCareText: ; 4196a (10:596a)
+TradeTakeCareText:
TX_FAR _TradeTakeCareText
db "@"
-PrintTradeWillTradeText: ; 4196f (10:596f)
+PrintTradeWillTradeText:
ld hl, TradeWillTradeText
call PrintText
call Trade_Delay80
@@ -842,15 +842,15 @@ PrintTradeWillTradeText: ; 4196f (10:596f)
call PrintText
jp Trade_Delay80
-TradeWillTradeText: ; 41981 (10:5981)
+TradeWillTradeText:
TX_FAR _TradeWillTradeText
db "@"
-TradeforText: ; 41986 (10:5986)
+TradeforText:
TX_FAR _TradeforText
db "@"
-Trade_ShowAnimation: ; 4198b (10:598b)
+Trade_ShowAnimation:
ld [wAnimationID], a
xor a
ld [wAnimationType], a
diff --git a/engine/trade2.asm b/engine/trade2.asm
index a4996403..c47da36a 100755
--- a/engine/trade2.asm
+++ b/engine/trade2.asm
@@ -1,4 +1,4 @@
-Trade_PrintPlayerMonInfoText: ; 41be6 (10:5be6)
+Trade_PrintPlayerMonInfoText:
coord hl, 5, 0
ld de,Trade_MonInfoText
call PlaceString
@@ -20,7 +20,7 @@ Trade_PrintPlayerMonInfoText: ; 41be6 (10:5be6)
lb bc, LEADING_ZEROES | 2, 5
jp PrintNumber
-Trade_PrintEnemyMonInfoText: ; 41c24 (10:5c24)
+Trade_PrintEnemyMonInfoText:
coord hl, 5, 10
ld de,Trade_MonInfoText
call PlaceString
@@ -42,7 +42,7 @@ Trade_PrintEnemyMonInfoText: ; 41c24 (10:5c24)
lb bc, LEADING_ZEROES | 2, 5
jp PrintNumber
-Trade_MonInfoText: ; 41c62 (10:5c62)
+Trade_MonInfoText:
db "──",$74,$F2
db $4e ; next
next "OT/"
diff --git a/engine/unknown_ea3ea.asm b/engine/unknown_ea3ea.asm
index 6337cdee..ca5d8bff 100755
--- a/engine/unknown_ea3ea.asm
+++ b/engine/unknown_ea3ea.asm
@@ -1,4 +1,4 @@
-Printer_GetMonStats: ; ea3ea (3a:63ea)
+Printer_GetMonStats:
call GBPalWhiteOutWithDelay3
call ClearScreen
call LoadHpBarAndStatusTilePatterns
@@ -140,7 +140,7 @@ Printer_GetMonStats: ; ea3ea (3a:63ea)
call LoadFlippedFrontSpriteByMonIndex
ret
-.GetNamePointer: ; ea511 (3a:6511)
+.GetNamePointer:
ld bc, NAME_LENGTH
ld a, [wWhichPokemon]
call AddNTimes
@@ -148,7 +148,7 @@ Printer_GetMonStats: ; ea3ea (3a:63ea)
ld d, h
ret
-.PlaceMoveName: ; ea51d (3a:651d)
+.PlaceMoveName:
and a
jr z, .no_move
ld [wPokeBallAnimData], a
@@ -177,18 +177,18 @@ Printer_GetMonStats: ; ea3ea (3a:63ea)
next "SPECIAL@"
; ea554
-.Blank: ; ea554 (3a:6554)
+.Blank:
db "--------------@"
-GFX_ea563: ; ea563 (3a:6563)
+GFX_ea563:
INCBIN "gfx/stats_screen_hp.1bpp"
-GFX_ea563End: ; ea56b (3a:656b)
+GFX_ea563End:
GFX_ea56b:
INCBIN "gfx/stats_screen_lv.1bpp"
-GFX_ea56bEnd: ; ea573 (3a:6573)
+GFX_ea56bEnd:
-PrinterDebug_LoadGFX: ; ea573 (3a:6573)
+PrinterDebug_LoadGFX:
ld hl, vChars1 + $7e0
ld de, GFX_ea597
lb bc, BANK(GFX_ea597), (GFX_ea597End - GFX_ea597) / 16
@@ -211,11 +211,11 @@ PrinterDebug_LoadGFX: ; ea573 (3a:6573)
jr nz, .loop
ret
-GFX_ea597: ; ea597 (3a:6597)
+GFX_ea597:
INCBIN "gfx/zero_one_ea597.2bpp"
GFX_ea597End:
-PrinterDebug_ConvertStatusFlagsToTiles: ; ea5b7 (3a:65b7)
+PrinterDebug_ConvertStatusFlagsToTiles:
ld hl, wOAMBuffer + 32 * 4 + 2
ld de, 4
ld a, [wPrinterStatusFlags]
@@ -234,7 +234,7 @@ PrinterDebug_ConvertStatusFlagsToTiles: ; ea5b7 (3a:65b7)
jr nz, .loop
ret
-PrinterDebug_DoFunction: ; ea5d1 (3a:65d1)
+PrinterDebug_DoFunction:
ld a, [wPrinterSendState]
ld e, a
ld d, 0
@@ -267,33 +267,33 @@ PrinterDebug_DoFunction: ; ea5d1 (3a:65d1)
dw Func_ea72f
dw Func_ea732
-Func_ea606: ; ea606 (3a:6606)
+Func_ea606:
ld hl, wPrinterSendState
inc [hl]
ret
-Func_ea60b: ; ea60b (3a:660b)
+Func_ea60b:
ld hl, wPrinterSendState
dec [hl]
ret
-Func_ea610: ; ea610 (3a:6610)
+Func_ea610:
xor a
ld [wPrinterStatusFlags], a
ld hl, wPrinterSendState
set 7, [hl]
ret
-Func_ea61a: ; ea61a (3a:661a)
+Func_ea61a:
call Func_ea606
ret
-Func_ea61e: ; ea61e (3a:661e)
+Func_ea61e:
xor a
ld [wPrinterSendState], a
ret
-Func_ea623: ; ea623 (3a:6623)
+Func_ea623:
call Func_ea784
ld hl, Data_ea9de
call Func_ea76b
@@ -308,7 +308,7 @@ Func_ea623: ; ea623 (3a:6623)
ld [wPrinterStatusIndicator], a
ret
-Func_ea645: ; ea645 (3a:6645)
+Func_ea645:
call Func_ea784
ld hl, wPrinterRowIndex
ld a, [hl]
@@ -328,7 +328,7 @@ Func_ea645: ; ea645 (3a:6645)
ld [wPrinterStatusIndicator], a
ret
-Func_ea671: ; ea671 (3a:6671)
+Func_ea671:
ld a, $6
ld [wPrinterSendState], a
ld hl, Data_ea9f0
@@ -340,7 +340,7 @@ Func_ea671: ; ea671 (3a:6671)
call Func_ea74c
ret
-Func_ea68a: ; ea68a (3a:668a)
+Func_ea68a:
call Func_ea784
ld hl, Data_ea9e4
call Func_ea76b
@@ -356,7 +356,7 @@ Func_ea68a: ; ea68a (3a:668a)
ld [wPrinterStatusIndicator], a
ret
-Func_ea6af: ; ea6af (3a:66af)
+Func_ea6af:
ld hl, wPrinterSerialFrameDelay
inc [hl]
ld a, [hl]
@@ -367,7 +367,7 @@ Func_ea6af: ; ea6af (3a:66af)
call Func_ea606
ret
-Func_ea6bd: ; ea6bd (3a:66bd)
+Func_ea6bd:
ld hl, wPrinterSerialFrameDelay
inc [hl]
ld a, [hl]
@@ -381,7 +381,7 @@ Func_ea6bd: ; ea6bd (3a:66bd)
call Func_ea60b
ret
-Func_ea6d2: ; ea6d2 (3a:66d2)
+Func_ea6d2:
call Func_ea742
ret c
ld a, [wPrinterHandshake]
@@ -407,7 +407,7 @@ Func_ea6d2: ; ea6d2 (3a:66d2)
ld [wPrinterSendState], a
ret
-Func_ea701: ; ea701 (3a:6701)
+Func_ea701:
call Func_ea742
ret c
ld a, [wPrinterStatusFlags]
@@ -428,7 +428,7 @@ Func_ea701: ; ea701 (3a:6701)
ld [wPrinterSendState], a
ret
-Func_ea721: ; ea721 (3a:6721)
+Func_ea721:
call Func_ea742
ret c
ld a, [wPrinterStatusFlags]
@@ -437,9 +437,9 @@ Func_ea721: ; ea721 (3a:6721)
call Func_ea606
ret
-Func_ea72f: ; ea72f (3a:672f)
+Func_ea72f:
call Func_ea606
-Func_ea732: ; ea732 (3a:6732)
+Func_ea732:
ld a, [wPrinterOpcode]
and a
ret nz
@@ -450,7 +450,7 @@ Func_ea732: ; ea732 (3a:6732)
ld [wPrinterSendState], a
ret
-Func_ea742: ; ea742 (3a:6742)
+Func_ea742:
ld a, [wPrinterOpcode]
and a
jr nz, .asm_ea74a
@@ -461,7 +461,7 @@ Func_ea742: ; ea742 (3a:6742)
scf
ret
-Func_ea74c: ; ea74c (3a:674c)
+Func_ea74c:
.asm_ea74c
ld a, [wPrinterOpcode]
and a
@@ -479,7 +479,7 @@ Func_ea74c: ; ea74c (3a:674c)
ld [rSC], a
ret
-Func_ea76b: ; ea76b (3a:676b)
+Func_ea76b:
ld a, [hli]
ld [wPrinterDataHeader], a
ld a, [hli]
@@ -494,7 +494,7 @@ Func_ea76b: ; ea76b (3a:676b)
ld [wPrinterDataHeader + 5], a
ret
-Func_ea784: ; ea784 (3a:6784)
+Func_ea784:
xor a
ld hl, wPrinterDataHeader
ld [hli], a
@@ -512,7 +512,7 @@ Func_ea784: ; ea784 (3a:6784)
call FillMemory
ret
-Func_ea7a2: ; ea7a2 (3a:67a2)
+Func_ea7a2:
ld hl, $0
ld bc, $4
ld de, wPrinterDataHeader
@@ -529,7 +529,7 @@ Func_ea7a2: ; ea7a2 (3a:67a2)
ld [wPrinterDataHeader + 5], a
ret
-Func_ea7c5: ; ea7c5 (3a:67c5)
+Func_ea7c5:
.asm_ea7c5
ld a, [de]
inc de
@@ -544,7 +544,7 @@ Func_ea7c5: ; ea7c5 (3a:67c5)
jr nz, .asm_ea7c5
ret
-Func_ea7d2: ; ea7d2 (3a:67d2)
+Func_ea7d2:
ld a, $1
ld [wPrinterSendDataSource1], a
ld a, [wcae2]
@@ -555,7 +555,7 @@ Func_ea7d2: ; ea7d2 (3a:67d2)
ld [wc6f3], a
ret
-PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
+PrinterDebug_PrepOAMForPrinting:
ld a, [wPrinterRowIndex]
ld b, a
ld a, [wPrinterQueueLength]
@@ -609,7 +609,7 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
call .UnnecessaryCall
ret
-.UnnecessaryCall: ; ea834 (3a:6834)
+.UnnecessaryCall:
ld hl, wcbdc
ld bc, $20
xor a
@@ -636,7 +636,7 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
jr nz, .master_loop
ret
-.AreWePrintingThisSegment: ; ea860 (3a:6860)
+.AreWePrintingThisSegment:
ld a, [wPrinterRowIndex]
ld b, a
ld a, [wPrinterQueueLength]
@@ -670,7 +670,7 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
and a
ret
-.GetVRAMAddress: ; ea886 (3a:6886)
+.GetVRAMAddress:
push hl
inc hl
inc hl
@@ -689,7 +689,7 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
pop hl
ret
-.GetOAMFlags: ; ea8a1 (3a:68a1)
+.GetOAMFlags:
push hl
inc hl
inc hl
@@ -699,7 +699,7 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
pop hl
ret
-.DoBitOperation: ; ea8ab (3a:68ab)
+.DoBitOperation:
and $60
swap a
ld e, a
@@ -711,29 +711,29 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
ld l, a
jp [hl]
-.Jumptable: ; ea8ba (3a:68ba)
+.Jumptable:
dw .nop
dw .xflip
dw .yflip
dw .both
-.nop: ; ea8c2 (3a:68c2)
+.nop:
ret
-.xflip: ; ea8c3 (3a:68c3)
+.xflip:
call .XFlip
ret
-.yflip: ; ea8c7 (3a:68c7)
+.yflip:
call .YFlip
ret
-.both: ; ea8cb (3a:68cb)
+.both:
call .XFlip
call .YFlip
ret
-.XFlip: ; ea8d2 (3a:68d2)
+.XFlip:
ld hl, wcbdc
ld c, 16
.byte_loop
@@ -750,7 +750,7 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
jr nz, .byte_loop
ret
-.YFlip: ; ea8e8 (3a:68e8)
+.YFlip:
ld hl, wcbdc
ld de, wcbea
ld c, $4
@@ -773,7 +773,7 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
jr nz, .swap_loop
ret
-.ApplyObjectPalettes: ; ea902 (3a:6902)
+.ApplyObjectPalettes:
push hl
ld hl, wcbdc
ld de, wcbec
@@ -813,12 +813,12 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
pop hl
ret
-.ExpandPalettesToBC: ; ea936 (3a:6936)
+.ExpandPalettesToBC:
call .GetPaletteFunction
call .ApplyPaletteFunction
ret
-.GetPaletteFunction: ; ea93d (3a:693d)
+.GetPaletteFunction:
ld e, a
ld d, 0
ld hl, .PalJumptable
@@ -829,38 +829,38 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
ld l, a
jp [hl]
-.PalJumptable: ; ea949 (3a:6949)
+.PalJumptable:
dw .Pal0
dw .Pal1
dw .Pal2
dw .Pal3
-.Pal0: ; ea951 (3a:6951)
+.Pal0:
ld a, [rOBP0]
and $3
ret
-.Pal2: ; ea956 (3a:6956)
+.Pal2:
ld a, [rOBP0]
and $c
srl a
srl a
ret
-.Pal1: ; ea95f (3a:695f)
+.Pal1:
ld a, [rOBP0]
and $30
swap a
ret
-.Pal3: ; ea966 (3a:6966)
+.Pal3:
ld a, [rOBP0]
and $c0
rlca
rlca
ret
-.ApplyPaletteFunction: ; ea96d (3a:696d)
+.ApplyPaletteFunction:
ld e, a
ld d, 0
ld hl, .PalFunJumptable
@@ -871,37 +871,37 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
ld l, a
jp [hl]
-.PalFunJumptable: ; ea979 (3a:6979)
+.PalFunJumptable:
dw .zero_zero
dw .xflip_zero
dw .zero_xflip
dw .xflip_xflip
-.zero_zero: ; ea981 (3a:6981)
+.zero_zero:
sla b
sla c
ret
-.xflip_zero: ; ea986 (3a:6986)
+.xflip_zero:
scf
rl b
sla c
ret
-.zero_xflip: ; ea98c (3a:698c)
+.zero_xflip:
sla b
scf
rl c
ret
-.xflip_xflip: ; ea992 (3a:6992)
+.xflip_xflip:
scf
rl b
scf
rl c
ret
-.PlaceObject: ; ea999 (3a:6999)
+.PlaceObject:
push hl
ld a, [hli]
ld c, [hl]
@@ -944,7 +944,7 @@ PrinterDebug_PrepOAMForPrinting: ; ea7e9 (3a:67e9)
pop hl
ret
-.GetBitMask: ; ea9d0 (3a:69d0)
+.GetBitMask:
push hl
push de
ld de, -$10
diff --git a/engine/vermilion_gym_trash_cans.asm b/engine/vermilion_gym_trash_cans.asm
index 63ac04eb..49dee50c 100755
--- a/engine/vermilion_gym_trash_cans.asm
+++ b/engine/vermilion_gym_trash_cans.asm
@@ -67,7 +67,7 @@ Yellow_SampleSecondTrashCan:
ld [wSecondLockTrashCanIndex + 1], a
ret
-GymTrashCans3c: ; f2d31 (3c:6d31)
+GymTrashCans3c:
; First byte: number of trashcan entries
; Following four byte pairs: indices for the second trash can.
; BUG: Rows that have 3 trashcan entries are sampled incorrectly.
diff --git a/home.asm b/home.asm
index fd034f44..336bfb1f 100644
--- a/home.asm
+++ b/home.asm
@@ -32,7 +32,7 @@ SECTION "joypad", ROM0 [$60]
SECTION "Home", ROM0
-DisableLCD:: ; 0061 (0:0061)
+DisableLCD::
xor a
ld [rIF], a
ld a, [rIE]
@@ -52,13 +52,13 @@ DisableLCD:: ; 0061 (0:0061)
ld [rIE], a
ret
-EnableLCD:: ; 007b (0:007b)
+EnableLCD::
ld a, [rLCDC]
set rLCDC_ENABLE, a
ld [rLCDC], a
ret
-ClearSprites:: ; 0082 (0:0082)
+ClearSprites::
xor a
ld hl, wOAMBuffer
ld b, 40 * 4
@@ -68,7 +68,7 @@ ClearSprites:: ; 0082 (0:0082)
jr nz, .loop
ret
-HideSprites:: ; 008d (0:008d)
+HideSprites::
ld a, 160
ld hl, wOAMBuffer
ld de, 4
@@ -101,7 +101,7 @@ SECTION "Header", ROM0 [$104]
SECTION "Main", ROM0
-PlayPikachuPCM:: ; 0150 (0:0150)
+PlayPikachuPCM::
ld a, [H_LOADEDROMBANK]
push af
ld a, b
@@ -132,7 +132,7 @@ PlayPikachuPCM:: ; 0150 (0:0150)
call BankswitchCommon
ret
-LoadNextSoundClipSample:: ; 0199 (0:0199)
+LoadNextSoundClipSample::
ld a, d
and $80
srl a
@@ -141,14 +141,14 @@ LoadNextSoundClipSample:: ; 0199 (0:0199)
sla d
ret
-PlaySoundClipSample:: ; 01a5 (0:01a5)
+PlaySoundClipSample::
ld a, $3
.loop
dec a
jr nz, .loop
ret
-Start:: ; 01ab (0:01ab)
+Start::
cp GBC
jr z, .gbc
xor a
@@ -159,15 +159,15 @@ Start:: ; 01ab (0:01ab)
ld [hGBC], a
jp Init
-Joypad:: ; 01b9 (0:01b9)
+Joypad::
homecall_jump _Joypad
-ReadJoypad:: ; 01c8 (0:01c8)
+ReadJoypad::
homecall_jump ReadJoypad_
INCLUDE "home/overworld.asm"
-CheckForUserInterruption:: ; 10ba (0:10ba)
+CheckForUserInterruption::
; Return carry if Up + Select + B, Start or A are pressed in c frames.
; Used only in the intro and title screen.
call DelayFrame
@@ -197,7 +197,7 @@ CheckForUserInterruption:: ; 10ba (0:10ba)
; function to load position data for destination warp when switching maps
; INPUT:
; a = ID of destination warp within destination map
-LoadDestinationWarpPosition:: ; 10d5 (0:10d5)
+LoadDestinationWarpPosition::
ld b, a
ld a, [H_LOADEDROMBANK]
push af
@@ -219,7 +219,7 @@ LoadDestinationWarpPosition:: ; 10d5 (0:10d5)
ret
-DrawHPBar:: ; 10f8 (0:10f8)
+DrawHPBar::
; Draw an HP bar d tiles long, and fill it to e pixels.
; If c is nonzero, show at least a sliver regardless.
; The right end of the bar changes with [wHPBarType].
@@ -301,10 +301,10 @@ DrawHPBar:: ; 10f8 (0:10f8)
; [wcf91] = pokemon ID
; wLoadedMon = base address of pokemon data
; W_MONHDEXNUM = base address of base stats
-LoadMonData:: ; 1132 (0:1132)
+LoadMonData::
jpab LoadMonData_
-OverwritewMoves:: ; 113a (0:113a)
+OverwritewMoves::
; Write c to [wMoves + b]. Unused.
ld hl, wMoves
ld e, b
@@ -314,11 +314,11 @@ OverwritewMoves:: ; 113a (0:113a)
ld [hl], a
ret
-LoadFlippedFrontSpriteByMonIndex:: ; 1144 (0:1144)
+LoadFlippedFrontSpriteByMonIndex::
ld a, 1
ld [wSpriteFlipped], a
-LoadFrontSpriteByMonIndex:: ; 1149 (0:1149)
+LoadFrontSpriteByMonIndex::
push hl
ld a, [wd11e]
push af
@@ -354,7 +354,7 @@ LoadFrontSpriteByMonIndex:: ; 1149 (0:1149)
pop af
jp BankswitchCommon
-PlayCry:: ; 118b (0:118b)
+PlayCry::
; Play monster a's cry.
push bc
ld b, a
@@ -371,7 +371,7 @@ PlayCry:: ; 118b (0:118b)
pop bc
ret
-GetCryData:: ; 11a5 (0:11a5)
+GetCryData::
; Load cry data for monster a.
dec a
ld c, a
@@ -401,7 +401,7 @@ GetCryData:: ; 11a5 (0:11a5)
add c
ret
-DisplayPartyMenu:: ; 11c8 (0:11c8)
+DisplayPartyMenu::
ld a, [hTilesetType]
push af
xor a
@@ -412,7 +412,7 @@ DisplayPartyMenu:: ; 11c8 (0:11c8)
call DrawPartyMenu
jp HandlePartyMenuInput
-GoBackToPartyMenu:: ; 11dd (0:11dd)
+GoBackToPartyMenu::
ld a, [hTilesetType]
push af
xor a
@@ -421,7 +421,7 @@ GoBackToPartyMenu:: ; 11dd (0:11dd)
call RedrawPartyMenu
jp HandlePartyMenuInput
-PartyMenuInit:: ; 11ec (0:11ec)
+PartyMenuInit::
ld a, 1 ; hardcoded bank
call BankswitchHome
call LoadHpBarAndStatusTilePatterns
@@ -460,7 +460,7 @@ PartyMenuInit:: ; 11ec (0:11ec)
ld [hl], a ; old menu item ID
ret
-HandlePartyMenuInput:: ; 1226 (0:1226)
+HandlePartyMenuInput::
ld a, 1
ld [wMenuWrappingEnabled], a
ld a, $40
@@ -535,18 +535,18 @@ HandlePartyMenuInput:: ; 1226 (0:1226)
callba SwitchPartyMon ; 4:61c5
jp HandlePartyMenuInput
-PartyMenuText_12cc:: ; 12cc (0:12cc)
+PartyMenuText_12cc::
TX_FAR _SleepingPikachuText1 ; 28:411b
db "@"
-DrawPartyMenu:: ; 12d1 (0:12d1)
+DrawPartyMenu::
ld hl, DrawPartyMenu_ ; 4:5875
jr DrawPartyMenuCommon
-RedrawPartyMenu:: ; 12d6 (0:12d6)
+RedrawPartyMenu::
ld hl, RedrawPartyMenu_ ; 4:5886
-DrawPartyMenuCommon:: ; 12d9 (0:12d9)
+DrawPartyMenuCommon::
ld b, BANK(RedrawPartyMenu_)
jp Bankswitch
@@ -554,7 +554,7 @@ DrawPartyMenuCommon:: ; 12d9 (0:12d9)
; INPUT:
; de = address of status condition
; hl = destination address
-PrintStatusCondition:: ; 12de (0:12de)
+PrintStatusCondition::
push de
dec de
dec de ; de = address of current HP
@@ -574,14 +574,14 @@ PrintStatusCondition:: ; 12de (0:12de)
and a
ret
-PrintStatusConditionNotFainted: ; 12f3 (0:12f3)
+PrintStatusConditionNotFainted:
homecall_jump_sf PrintStatusAilment
; function to print pokemon level, leaving off the ":L" if the level is at least 100
; INPUT:
; hl = destination address
; [wLoadedMonLevel] = level
-PrintLevel:: ; 1303 (0:1303)
+PrintLevel::
ld a, $6e ; ":L" tile ID
ld [hli], a
ld c, 2 ; number of digits
@@ -597,19 +597,19 @@ PrintLevel:: ; 1303 (0:1303)
; INPUT:
; hl = destination address
; [wLoadedMonLevel] = level
-PrintLevelFull:: ; 1313 (0:1313)
+PrintLevelFull::
ld a, $6e ; ":L" tile ID
ld [hli], a
ld c, 3 ; number of digits
ld a, [wLoadedMonLevel] ; level
-PrintLevelCommon:: ; 131b (0:131b)
+PrintLevelCommon::
ld [wd11e], a
ld de, wd11e
ld b, LEFT_ALIGN | 1 ; 1 byte
jp PrintNumber
-GetwMoves:: ; 1326 (0:1326)
+GetwMoves::
; Unused. Returns the move at index a from wMoves in a
ld hl, wMoves
ld c, a
@@ -621,7 +621,7 @@ GetwMoves:: ; 1326 (0:1326)
; copies the base stat data of a pokemon to wMonHeader
; INPUT:
; [wd0b5] = pokemon ID
-GetMonHeader:: ; 132f (0:132f)
+GetMonHeader::
ld a, [H_LOADEDROMBANK]
push af
switchbank BaseStats
@@ -675,12 +675,12 @@ GetMonHeader:: ; 132f (0:132f)
ret
; copy party pokemon's name to wcd6d
-GetPartyMonName2:: ; 1394 (0:1394)
+GetPartyMonName2::
ld a, [wWhichPokemon] ; index within party
ld hl, wPartyMonNicks
; this is called more often
-GetPartyMonName:: ; 139a (0:139a)
+GetPartyMonName::
push hl
push bc
call SkipFixedLengthTextEntries ; add NAME_LENGTH to hl, a times
@@ -706,7 +706,7 @@ GetPartyMonName:: ; 139a (0:139a)
; bits 0-4: length of BCD number in bytes
; Note that bits 5 and 7 are modified during execution. The above reflects
; their meaning at the beginning of the functions's execution.
-PrintBCDNumber:: ; 13ad (0:13ad)
+PrintBCDNumber::
ld b, c ; save flags in b
res 7, c
res 6, c
@@ -744,7 +744,7 @@ PrintBCDNumber:: ; 13ad (0:13ad)
.done
ret
-PrintBCDDigit:: ; 13e4 (0:13e4)
+PrintBCDDigit::
and $f
and a
jr z, .zeroDigit
@@ -774,7 +774,7 @@ PrintBCDDigit:: ; 13e4 (0:13e4)
; uncompresses the front or back sprite of the specified mon
; assumes the corresponding mon header is already loaded
; hl contains offset to sprite pointer ($b for front or $d for back)
-UncompressMonSprite:: ; 1407 (0:1407)
+UncompressMonSprite::
ld bc, wMonHeader
add hl, bc
ld a, [hli]
@@ -819,7 +819,7 @@ UncompressMonSprite:: ; 1407 (0:1407)
jp UncompressSpriteData ; 23f8
; de: destination location
-LoadMonFrontSprite:: ; 143e (0:143e)
+LoadMonFrontSprite::
push de
ld hl, wMonHFrontSprite - wMonHeader
call UncompressMonSprite
@@ -833,7 +833,7 @@ LoadMonFrontSprite:: ; 143e (0:143e)
; calculates alignment parameters to place both sprite chunks in the center of the 7*7 tile sprite buffers
; de: destination location
; a, c: sprite dimensions (in tiles of 8x8 each)
-LoadUncompressedSpriteData:: ; 1672 (0:1672)
+LoadUncompressedSpriteData::
push de
and $f
ld [H_SPRITEWIDTH], a ; each byte contains 8 pixels (in 1bpp), so tiles=bytes for width
@@ -883,7 +883,7 @@ LoadUncompressedSpriteData:: ; 1672 (0:1672)
; copies and aligns the sprite data properly inside the sprite buffer
; sprite buffers are 7*7 tiles in size, the loaded sprite is centered within this area
-AlignSpriteDataCentered:: ; 149f (0:149f)
+AlignSpriteDataCentered::
ld a, [H_SPRITEOFFSET]
ld b, $0
ld c, a
@@ -909,7 +909,7 @@ AlignSpriteDataCentered:: ; 149f (0:149f)
ret
; fills the sprite buffer (pointed to in hl) with zeros
-ZeroSpriteBuffer:: ; 14bc (0:14bc)
+ZeroSpriteBuffer::
ld bc, SPRITEBUFFERSIZE
.nextByteLoop
xor a
@@ -923,7 +923,7 @@ ZeroSpriteBuffer:: ; 14bc (0:14bc)
; combines the (7*7 tiles, 1bpp) sprite chunks in buffer 0 and 1 into a 2bpp sprite located in buffer 1 through 2
; in the resulting sprite, the rows of the two source sprites are interlaced
; de: output address
-InterlaceMergeSpriteBuffers:: ; 14c7 (0:14c7)
+InterlaceMergeSpriteBuffers::
ld a, $0
call SwitchSRAMBankAndLatchClockData
push de
@@ -975,7 +975,7 @@ INCLUDE "home/pikachu.asm"
INCLUDE "home/lcdc.asm"
-IsTilePassable:: ; 15c3 (0:15c3)
+IsTilePassable::
; sets carry if tile is passable, resets carry otherwise
homecall_sf _IsTilePassable ; 1:4aaa
ret
@@ -992,7 +992,7 @@ INCLUDE "home/timer.asm"
INCLUDE "home/audio.asm"
-UpdateSprites:: ; 231c (0:231c)
+UpdateSprites::
ld a, [wUpdateSpritesEnabled]
dec a
ret nz
@@ -1010,33 +1010,33 @@ UpdateSprites:: ; 231c (0:231c)
INCLUDE "data/mart_inventories.asm"
-TextScriptEndingChar:: ; 23d1 (0:23d1)
+TextScriptEndingChar::
db "@"
-TextScriptEnd:: ; 23d2 (0:23d2)
+TextScriptEnd::
ld hl, TextScriptEndingChar
ret
-ExclamationText:: ; 23d6 (0:23d6)
+ExclamationText::
TX_FAR _ExclamationText
db "@"
-GroundRoseText:: ; 23db (0:23db)
+GroundRoseText::
TX_FAR _GroundRoseText
db "@"
-BoulderText:: ; 23e0 (0:23e0)
+BoulderText::
TX_FAR _BoulderText
db "@"
-MartSignText:: ; 23e5 (0:23e5)
+MartSignText::
TX_FAR _MartSignText
db "@"
-PokeCenterSignText:: ; 23ea (0:23ea)
+PokeCenterSignText::
TX_FAR _PokeCenterSignText
db "@"
-PickUpItemText:: ; 23ef (0:23ef)
+PickUpItemText::
TX_ASM
predef PickUpItem
jp TextScriptEnd
@@ -1045,7 +1045,7 @@ PickUpItemText:: ; 23ef (0:23ef)
INCLUDE "home/pic.asm"
-ResetPlayerSpriteData:: ; 279c (0:279c)
+ResetPlayerSpriteData::
ld hl, wSpriteStateData1
call ResetPlayerSpriteData_ClearSpriteData
ld hl, wSpriteStateData2
@@ -1061,14 +1061,14 @@ ResetPlayerSpriteData:: ; 279c (0:279c)
ret
; overwrites sprite data with zeroes
-ResetPlayerSpriteData_ClearSpriteData:: ; 27ba (0:27ba)
+ResetPlayerSpriteData_ClearSpriteData::
ld bc, $10
xor a
call FillMemory ; XXX why replaced with call + ret?
ret
;jp FillMemory
-FadeOutAudio:: ; 27c2 (0:27c2)
+FadeOutAudio::
ld a, [wAudioFadeOutControl]
and a
jr nz, .asm_27d3
@@ -1115,13 +1115,13 @@ FadeOutAudio:: ; 27c2 (0:27c2)
ld [wNewSoundID], a
jp PlaySound
-UnknownText_2812:: ; 2812 (0:2812)
+UnknownText_2812::
TX_FAR _PokemonText ; 2c:749a
db "@"
; this function is used to display sign messages, sprite dialog, etc.
; INPUT: [hSpriteIndexOrTextID] = sprite ID or text ID
-DisplayTextID:: ; 2817 (0:2817)
+DisplayTextID::
ld a, [H_LOADEDROMBANK]
push af
callba DisplayTextIDInit ; initialization
@@ -1216,20 +1216,20 @@ DisplayTextID:: ; 2817 (0:2817)
and a
jr nz, HoldTextDisplayOpen
-AfterDisplayingTextID:: ; 28c6 (0:28c6)
+AfterDisplayingTextID::
ld a, [wEnteringCableClub]
and a
jr nz, HoldTextDisplayOpen
call WaitForTextScrollButtonPress ; wait for a button press after displaying all the text
; loop to hold the dialogue box open as long as the player keeps holding down the A button
-HoldTextDisplayOpen:: ; 28cf (0:28cf)
+HoldTextDisplayOpen::
call Joypad
ld a, [hJoyHeld]
bit 0, a ; is the A button being pressed?
jr nz, HoldTextDisplayOpen
-CloseTextDisplay:: ; 28d8 (0:28d8)
+CloseTextDisplay::
ld a, [wCurMap]
call SwitchToMapRomBank
ld a, $90
@@ -1261,7 +1261,7 @@ CloseTextDisplay:: ; 28d8 (0:28d8)
call BankswitchCommon
jp UpdateSprites
-DisplayPokemartDialogue:: ; 2915 (0:2915)
+DisplayPokemartDialogue::
push hl
ld hl, PokemartGreetingText
call PrintText
@@ -1273,11 +1273,11 @@ DisplayPokemartDialogue:: ; 2915 (0:2915)
homecall DisplayPokemartDialogue_
jp AfterDisplayingTextID
-PokemartGreetingText:: ; 2938 (0:2938)
+PokemartGreetingText::
TX_FAR _PokemartGreetingText
db "@"
-LoadItemList:: ; 293d (0:293d)
+LoadItemList::
ld a, 1
ld [wUpdateSpritesEnabled], a
ld a, h
@@ -1293,7 +1293,7 @@ LoadItemList:: ; 293d (0:293d)
jr nz, .loop
ret
-DisplayPokemonCenterDialogue:: ; 2955 (0:2955)
+DisplayPokemonCenterDialogue::
; zeroing these doesn't appear to serve any purpose
xor a
ld [$ff8b], a
@@ -1304,20 +1304,20 @@ DisplayPokemonCenterDialogue:: ; 2955 (0:2955)
homecall DisplayPokemonCenterDialogue_
jp AfterDisplayingTextID
-DisplaySafariGameOverText:: ; 296f (0:296f)
+DisplaySafariGameOverText::
callab PrintSafariGameOverText
jp AfterDisplayingTextID
-DisplayPokemonFaintedText:: ; 297a (0:297a)
+DisplayPokemonFaintedText::
ld hl, PokemonFaintedText
call PrintText
jp AfterDisplayingTextID
-PokemonFaintedText:: ; 2983 (0:2983)
+PokemonFaintedText::
TX_FAR _PokemonFaintedText
db "@"
-DisplayPlayerBlackedOutText:: ; 2988 (0:2988)
+DisplayPlayerBlackedOutText::
ld hl, PlayerBlackedOutText
call PrintText
ld a, [wd732]
@@ -1335,20 +1335,20 @@ DisplayPlayerBlackedOutText:: ; 2988 (0:2988)
.didnotblackoutinsafari
jp HoldTextDisplayOpen
-PlayerBlackedOutText:: ; 29b3 (0:29b3)
+PlayerBlackedOutText::
TX_FAR _PlayerBlackedOutText
db "@"
-DisplayRepelWoreOffText:: ; 29b8 (0:29b8)
+DisplayRepelWoreOffText::
ld hl, RepelWoreOffText
call PrintText
jp AfterDisplayingTextID
-RepelWoreOffText:: ; 29c1 (0:29c1)
+RepelWoreOffText::
TX_FAR _RepelWoreOffText
db "@"
-DisplayPikachuEmotion:: ; 29c6 (0:29c6)
+DisplayPikachuEmotion::
callab TalkToPikachu ; 3f:5004
jp CloseTextDisplay
@@ -1360,7 +1360,7 @@ INCLUDE "engine/menu/start_menu.asm"
; b = length of string of bytes
; OUTPUT:
; [wNumSetBits] = number of set bits
-CountSetBits:: ; 2a81 (0:2a81)
+CountSetBits::
ld c, 0
.loop
ld a, [hli]
@@ -1381,11 +1381,11 @@ CountSetBits:: ; 2a81 (0:2a81)
; subtracts the amount the player paid from their money
; sets carry flag if there is enough money and unsets carry flag if not
-SubtractAmountPaidFromMoney:: ; 2a98 (0:2a98)
+SubtractAmountPaidFromMoney::
jpba SubtractAmountPaidFromMoney_
; adds the amount the player sold to their money
-AddAmountSoldToMoney:: ; 2aa0 (0:2aa0)
+AddAmountSoldToMoney::
ld de, wPlayerMoney + 2
ld hl, $ffa1 ; total price of items
ld c, 3 ; length of money in bytes
@@ -1402,7 +1402,7 @@ AddAmountSoldToMoney:: ; 2aa0 (0:2aa0)
; HL = address of inventory (either wNumBagItems or wNumBoxItems)
; [wWhichPokemon] = index (within the inventory) of the item to remove
; [wItemQuantity] = quantity to remove
-RemoveItemFromInventory:: ; 2abd (0:2abd)
+RemoveItemFromInventory::
homecall RemoveItemFromInventory_
ret
@@ -1412,7 +1412,7 @@ RemoveItemFromInventory:: ; 2abd (0:2abd)
; [wcf91] = item ID
; [wItemQuantity] = item quantity
; sets carry flag if successful, unsets carry flag if unsuccessful
-AddItemToInventory:: ; 2acd (0:2acd)
+AddItemToInventory::
push bc
homecall_sf AddItemToInventory_
pop bc
@@ -1421,7 +1421,7 @@ AddItemToInventory:: ; 2acd (0:2acd)
; INPUT:
; [wListMenuID] = list menu ID
; [wListPointer] = address of the list (2 bytes)
-DisplayListMenuID:: ; 2ae0 (0:2ae0)
+DisplayListMenuID::
xor a
ld [H_AUTOBGTRANSFERENABLED], a ; disable auto-transfer
ld a, 1
@@ -1475,7 +1475,7 @@ DisplayListMenuID:: ; 2ae0 (0:2ae0)
ld c, 10
call DelayFrames
-DisplayListMenuIDLoop:: ; 2b4d (0:2b4d)
+DisplayListMenuIDLoop::
xor a
ld [H_AUTOBGTRANSFERENABLED], a ; disable transfer
call PrintListMenuEntries
@@ -1612,7 +1612,7 @@ DisplayListMenuIDLoop:: ; 2b4d (0:2b4d)
dec [hl]
jp DisplayListMenuIDLoop
-DisplayChooseQuantityMenu:: ; 2c51 (0:2c51)
+DisplayChooseQuantityMenu::
; text box dimensions/coordinates for just quantity
coord hl, 15, 9
lb bc, 1, 3 ; height and width
@@ -1729,13 +1729,13 @@ DisplayChooseQuantityMenu:: ; 2c51 (0:2c51)
ld a, $ff
ret
-InitialQuantityText:: ; 2d28 (0:2d28)
+InitialQuantityText::
db "×01@"
-SpacesBetweenQuantityAndPriceText:: ; 2d2c (0:2d2c)
+SpacesBetweenQuantityAndPriceText::
db " @"
-ExitListMenu:: ; 2d33 (0:2d33)
+ExitListMenu::
ld a, [wCurrentMenuItem]
ld [wChosenMenuItem], a
ld a, CANCELLED_MENU
@@ -1751,7 +1751,7 @@ ExitListMenu:: ; 2d33 (0:2d33)
scf
ret
-PrintListMenuEntries:: ; 2d52 (0:2d52)
+PrintListMenuEntries::
coord hl, 5, 3
lb bc, 9, 14
call ClearScreenArea
@@ -1939,10 +1939,10 @@ PrintListMenuEntries:: ; 2d52 (0:2d52)
ld de, ListMenuCancelText
jp PlaceString
-ListMenuCancelText:: ; 2e8c (0:2e8c)
+ListMenuCancelText::
db "CANCEL@"
-GetMonName:: ; 2e93 (0:2e93)
+GetMonName::
push hl
ld a, [H_LOADEDROMBANK]
push af
@@ -1968,7 +1968,7 @@ GetMonName:: ; 2e93 (0:2e93)
pop hl
ret
-GetItemName:: ; 2ec4 (0:2ec4)
+GetItemName::
; given an item ID at [wd11e], store the name of the item into a string
; starting at wcd6d
push hl
@@ -1993,7 +1993,7 @@ GetItemName:: ; 2ec4 (0:2ec4)
pop hl
ret
-GetMachineName:: ; 2ee8 (0:2ee8)
+GetMachineName::
; copies the name of the TM/HM in [wd11e] to wcd6d
push hl
push de
@@ -2045,14 +2045,14 @@ GetMachineName:: ; 2ee8 (0:2ee8)
pop hl
ret
-TechnicalPrefix:: ; 2f31 (0:2f31)
+TechnicalPrefix::
db "TM"
-HiddenPrefix:: ; 2f33 (0:2f33)
+HiddenPrefix::
db "HM"
; sets carry if item is HM, clears carry if item is not HM
; Input: a = item ID
-IsItemHM:: ; 2f35 (0:2f35)
+IsItemHM::
cp HM_01
jr c, .notHM
cp TM_01
@@ -2063,16 +2063,16 @@ IsItemHM:: ; 2f35 (0:2f35)
; sets carry if move is an HM, clears carry if move is not an HM
; Input: a = move ID
-IsMoveHM:: ; 2f3e (0:2f3e)
+IsMoveHM::
ld hl, HMMoves
ld de, 1
jp IsInArray
-HMMoves:: ; 2f47 (0:2f47)
+HMMoves::
db CUT, FLY, SURF, STRENGTH, FLASH
db $ff ; terminator
-GetMoveName:: ; 2f4d (0:2f4d)
+GetMoveName::
push hl
ld a, MOVE_NAME
ld [wNameListType], a
@@ -2086,7 +2086,7 @@ GetMoveName:: ; 2f4d (0:2f4d)
ret
; reloads text box tile patterns, current map view, and tileset tile patterns
-ReloadMapData:: ; 2f66 (0:2f66)
+ReloadMapData::
ld a, [H_LOADEDROMBANK]
push af
ld a, [wCurMap]
@@ -2101,7 +2101,7 @@ ReloadMapData:: ; 2f66 (0:2f66)
ret
; reloads tileset tile patterns
-ReloadTilesetTilePatterns:: ; 2f83 (0:2f83)
+ReloadTilesetTilePatterns::
ld a, [H_LOADEDROMBANK]
push af
ld a, [wCurMap]
@@ -2114,16 +2114,16 @@ ReloadTilesetTilePatterns:: ; 2f83 (0:2f83)
ret
; shows the town map and lets the player choose a destination to fly to
-ChooseFlyDestination:: ; 2f9a (0:2f9a)
+ChooseFlyDestination::
ld hl, wd72e
res 4, [hl]
jpba LoadTownMap_Fly
-PrinterSerial:: ; 2fa7 (0:2fa7)
+PrinterSerial::
homecall PrinterSerial_
ret
-SerialFunction:: ; 2fb7 (0:2fb7)
+SerialFunction::
ld a, [wPrinterConnectionOpen]
bit 0, a
ret z
@@ -2148,7 +2148,7 @@ SerialFunction:: ; 2fb7 (0:2fb7)
ret
; causes the text box to close without waiting for a button press after displaying text
-DisableWaitingAfterTextDisplay:: ; 2fde (0:2fde)
+DisableWaitingAfterTextDisplay::
ld a, $01
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ret
@@ -2162,7 +2162,7 @@ DisableWaitingAfterTextDisplay:: ; 2fde (0:2fde)
; 00: unsucessful
; 01: successful
; 02: not able to be used right now, no extra menu displayed (only certain items use this)
-UseItem:: ; 2fe4 (0:2fe4)
+UseItem::
jpba UseItem_
; confirms the item toss and then tosses the item
@@ -2173,7 +2173,7 @@ UseItem:: ; 2fe4 (0:2fe4)
; [wItemQuantity] = quantity to toss
; OUTPUT:
; clears carry flag if the item is tossed, sets carry flag if not
-TossItem:: ; 2fec (0:2fec)
+TossItem::
ld a, [H_LOADEDROMBANK]
push af
ld a, BANK(TossItem_)
@@ -2193,7 +2193,7 @@ TossItem:: ; 2fec (0:2fec)
; [wIsKeyItem] = result
; 00: item is not key item
; 01: item is key item
-IsKeyItem:: ; 3000 (0:3000)
+IsKeyItem::
push hl
push de
push bc
@@ -2206,11 +2206,11 @@ IsKeyItem:: ; 3000 (0:3000)
; function to draw various text boxes
; INPUT:
; [wTextBoxID] = text box ID
-DisplayTextBoxID:: ; 3010 (0:3010)
+DisplayTextBoxID::
homecall_sf DisplayTextBoxID_
ret
-UpdateGBCPal_BGP:: ; 3021 (0:3021)
+UpdateGBCPal_BGP::
push af
ld a, [hGBC]
and a
@@ -2232,7 +2232,7 @@ UpdateGBCPal_BGP:: ; 3021 (0:3021)
pop af
ret
-UpdateGBCPal_OBP0:: ; 3040 (0:3040)
+UpdateGBCPal_OBP0::
push af
ld a, [hGBC]
and a
@@ -2257,7 +2257,7 @@ UpdateGBCPal_OBP0:: ; 3040 (0:3040)
pop af
ret
-UpdateGBCPal_OBP1:: ; 3061 (0:3061)
+UpdateGBCPal_OBP1::
push af
ld a, [hGBC]
and a
@@ -2282,7 +2282,7 @@ UpdateGBCPal_OBP1:: ; 3061 (0:3061)
pop af
ret
-Func_3082:: ; 3082 (0:3082)
+Func_3082::
ld a, [H_LOADEDROMBANK]
push af
call FadeOutAudio
@@ -2294,7 +2294,7 @@ Func_3082:: ; 3082 (0:3082)
; not zero if an NPC movement script is running, the player character is
; automatically stepping down from a door, or joypad states are being simulated
-IsPlayerCharacterBeingControlledByGame:: ; 309d (0:309d)
+IsPlayerCharacterBeingControlledByGame::
ld a, [wNPCMovementScriptPointerTableNum]
and a
ret nz
@@ -2305,7 +2305,7 @@ IsPlayerCharacterBeingControlledByGame:: ; 309d (0:309d)
and $80
ret
-RunNPCMovementScript:: ; 30ae (0:30ae)
+RunNPCMovementScript::
ld hl, wd736
bit 0, [hl]
res 0, [hl]
@@ -2339,14 +2339,14 @@ RunNPCMovementScript:: ; 30ae (0:30ae)
.playerStepOutFromDoor
jpba PlayerStepOutFromDoor
-EndNPCMovementScript:: ; 30ea (0:30ea)
+EndNPCMovementScript::
jpba _EndNPCMovementScript
-EmptyFunc2:: ; 30f2 (0:30f2)
+EmptyFunc2::
ret
; stores hl in [wTrainerHeaderPtr]
-StoreTrainerHeaderPointer:: ; 30f3 (0:30f3)
+StoreTrainerHeaderPointer::
ld a, h
ld [wTrainerHeaderPtr], a
ld a, l
@@ -2355,7 +2355,7 @@ StoreTrainerHeaderPointer:: ; 30f3 (0:30f3)
; executes the current map script from the function pointer array provided in hl.
; a: map script index to execute (unless overridden by [wd733] bit 4)
-ExecuteCurMapScriptInTable:: ; 30fc (0:30fc)
+ExecuteCurMapScriptInTable::
push af
push de
call StoreTrainerHeaderPointer
@@ -2374,7 +2374,7 @@ ExecuteCurMapScriptInTable:: ; 30fc (0:30fc)
ld a, [wCurMapScript]
ret
-LoadGymLeaderAndCityName:: ; 311b (0:311b)
+LoadGymLeaderAndCityName::
push de
ld de, wGymCityName
ld bc, $11
@@ -2391,7 +2391,7 @@ LoadGymLeaderAndCityName:: ; 311b (0:311b)
; 4 -> before battle text (into hl)
; 6 -> after battle text (into hl)
; 8 -> end battle text (into hl)
-ReadTrainerHeaderInfo:: ; 312f (0:312f)
+ReadTrainerHeaderInfo::
push de
push af
ld d, $0
@@ -2430,10 +2430,10 @@ ReadTrainerHeaderInfo:: ; 312f (0:312f)
pop de
ret
-TrainerFlagAction:: ; 3163 (0:3163)
+TrainerFlagAction::
predef_jump FlagActionPredef
-TalkToTrainer:: ; 3168 (0:3168)
+TalkToTrainer::
call StoreTrainerHeaderPointer
xor a
call ReadTrainerHeaderInfo ; read flag's bit
@@ -2472,7 +2472,7 @@ TalkToTrainer:: ; 3168 (0:3168)
jp StartTrainerBattle
; checks if any trainers are seeing the player and wanting to fight
-CheckFightingMapTrainers:: ; 31b5 (0:31b5)
+CheckFightingMapTrainers::
call CheckForEngagingTrainers
ld a, [wSpriteIndex]
cp $ff
@@ -2498,7 +2498,7 @@ CheckFightingMapTrainers:: ; 31b5 (0:31b5)
ret
; display the before battle text after the enemy trainer has walked up to the player's sprite
-DisplayEnemyTrainerTextAndStartBattle:: ; 31e8 (0:31e8)
+DisplayEnemyTrainerTextAndStartBattle::
ld a, [wd730]
and $1
ret nz ; return if the enemy trainer hasn't finished walking to the player's sprite
@@ -2508,7 +2508,7 @@ DisplayEnemyTrainerTextAndStartBattle:: ; 31e8 (0:31e8)
call DisplayTextID
; fall through
-StartTrainerBattle:: ; 31f9 (0:31f9)
+StartTrainerBattle::
xor a
ld [wJoyIgnore], a
call InitBattleEnemyParameters
@@ -2521,7 +2521,7 @@ StartTrainerBattle:: ; 31f9 (0:31f9)
inc [hl] ; increment map script index (next script function is usually EndTrainerBattle)
ret
-EndTrainerBattle:: ; 3211 (0:3211)
+EndTrainerBattle::
ld hl, wCurrentMapScriptFlags
set 5, [hl]
set 6, [hl]
@@ -2555,7 +2555,7 @@ EndTrainerBattle:: ; 3211 (0:3211)
res 4, [hl]
ret nz
-ResetButtonPressedAndMapScript:: ; 325d (0:325d)
+ResetButtonPressedAndMapScript::
xor a
ld [wJoyIgnore], a
ld [hJoyHeld], a
@@ -2565,11 +2565,11 @@ ResetButtonPressedAndMapScript:: ; 325d (0:325d)
ret
; calls TrainerWalkUpToPlayer
-TrainerWalkUpToPlayer_Bank0:: ; 326b (0:326b)
+TrainerWalkUpToPlayer_Bank0::
jpba TrainerWalkUpToPlayer
; sets opponent type and mon set/lvl based on the engaging trainer data
-InitBattleEnemyParameters:: ; 3273 (0:3273)
+InitBattleEnemyParameters::
ld a, [wEngagedTrainerClass]
ld [wCurOpponent], a
ld [wEnemyMonOrTrainerClass], a
@@ -2582,25 +2582,25 @@ InitBattleEnemyParameters:: ; 3273 (0:3273)
ld [wCurEnemyLVL], a
ret
-GetSpritePosition1:: ; 328b (0:328b)
+GetSpritePosition1::
ld hl, _GetSpritePosition1
jr SpritePositionBankswitch
-GetSpritePosition2:: ; 3290 (0:3290)
+GetSpritePosition2::
ld hl, _GetSpritePosition2
jr SpritePositionBankswitch
-SetSpritePosition1:: ; 3295 (0:3295)
+SetSpritePosition1::
ld hl, _SetSpritePosition1
jr SpritePositionBankswitch
-SetSpritePosition2:: ; 329a (0:329a)
+SetSpritePosition2::
ld hl, _SetSpritePosition2
-SpritePositionBankswitch:: ; 329d (0:329d)
+SpritePositionBankswitch::
ld b, BANK(_GetSpritePosition1) ; BANK(_GetSpritePosition2), BANK(_SetSpritePosition1), BANK(_SetSpritePosition2)
jp Bankswitch ; indirect jump to one of the four functions
-CheckForEngagingTrainers:: ; 32a2 (0:32a2)
+CheckForEngagingTrainers::
xor a
call ReadTrainerHeaderInfo ; read trainer flag's bit (unused)
ld d, h ; store trainer header address in de
@@ -2648,7 +2648,7 @@ CheckForEngagingTrainers:: ; 32a2 (0:32a2)
; hl = text if the player wins
; de = text if the player loses
-SaveEndBattleTextPointers:: ; 32f0 (0:32f0)
+SaveEndBattleTextPointers::
ld a, [H_LOADEDROMBANK]
ld [wEndBattleTextRomBank], a
ld a, h
@@ -2663,7 +2663,7 @@ SaveEndBattleTextPointers:: ; 32f0 (0:32f0)
; loads data of some trainer on the current map and plays pre-battle music
; [wSpriteIndex]: sprite ID of trainer who is engaged
-EngageMapTrainer:: ; 3306 (0:3306)
+EngageMapTrainer::
ld hl, wMapSpriteExtraData
ld d, $0
ld a, [wSpriteIndex]
@@ -2677,7 +2677,7 @@ EngageMapTrainer:: ; 3306 (0:3306)
ld [wEnemyMonAttackMod], a
jp PlayTrainerMusic
-PrintEndBattleText:: ; 331d (0:331d)
+PrintEndBattleText::
push hl
ld hl, wd72d
bit 7, [hl]
@@ -2700,7 +2700,7 @@ PrintEndBattleText:: ; 331d (0:331d)
callba FreezeEnemyTrainerSprite
jp WaitForSoundToFinish
-GetSavedEndBattleTextPointer:: ; 3353 (0:3353)
+GetSavedEndBattleTextPointer::
ld a, [wBattleResult]
and a
; won battle
@@ -2717,14 +2717,14 @@ GetSavedEndBattleTextPointer:: ; 3353 (0:3353)
ld l, a
ret
-TrainerEndBattleText:: ; 336b (0:336b)
+TrainerEndBattleText::
TX_FAR _TrainerNameText
TX_ASM
call GetSavedEndBattleTextPointer
call TextCommandProcessor
jp TextScriptEnd
-PlayTrainerMusic:: ; 3379 (0:3379)
+PlayTrainerMusic::
ld a, [wEngagedTrainerClass]
cp OPP_SONY1
ret z
@@ -2774,7 +2774,7 @@ INCLUDE "data/trainer_types.asm"
; and if so, decodes the RLE movement data
; b = player Y
; c = player X
-DecodeArrowMovementRLE:: ; 3442 (0:3442)
+DecodeArrowMovementRLE::
ld a, [hli]
cp $ff
ret z ; no match in the list
@@ -2798,33 +2798,33 @@ DecodeArrowMovementRLE:: ; 3442 (0:3442)
inc hl
jr DecodeArrowMovementRLE
-FuncTX_ItemStoragePC:: ; 33ef (0:33ef)
+FuncTX_ItemStoragePC::
call SaveScreenTilesToBuffer2
ld b, BANK(PlayerPC)
ld hl, PlayerPC
jr bankswitchAndContinue
-FuncTX_BillsPC:: ; 33f9 (0:33f9)
+FuncTX_BillsPC::
call SaveScreenTilesToBuffer2
ld b, BANK(BillsPC_)
ld hl, BillsPC_
jr bankswitchAndContinue
-FuncTX_GameCornerPrizeMenu:: ; 3403 (0:3403)
+FuncTX_GameCornerPrizeMenu::
; XXX find a better name for this function
; special_F7
ld b, BANK(CeladonPrizeMenu)
ld hl, CeladonPrizeMenu
-bankswitchAndContinue:: ; 3408 (0:3408)
+bankswitchAndContinue::
call Bankswitch
jp HoldTextDisplayOpen ; continue to main text-engine function
-FuncTX_PokemonCenterPC:: ; 340e (0:340e)
+FuncTX_PokemonCenterPC::
ld b, BANK(ActivatePC)
ld hl, ActivatePC
jr bankswitchAndContinue
-StartSimulatingJoypadStates:: ; 3415 (0:3415)
+StartSimulatingJoypadStates::
xor a
ld [wOverrideSimulatedJoypadStatesMask], a
ld [wSpriteStateData2 + $06], a ; player's sprite movement byte 1
@@ -2832,7 +2832,7 @@ StartSimulatingJoypadStates:: ; 3415 (0:3415)
set 7, [hl]
ret
-IsItemInBag:: ; 3422 (0:3422)
+IsItemInBag::
; given an item_id in b
; set zero flag if item isn't in player's bag
; else reset zero flag
@@ -2842,7 +2842,7 @@ IsItemInBag:: ; 3422 (0:3422)
and a
ret
-IsSurfingPikachuInParty:: ; 342a (0:342a)
+IsSurfingPikachuInParty::
; set bit 6 of wd472 if true
; also calls Func_3467, which is a bankswitch to IsStarterPikachuInOurParty
ld a, [wd472]
@@ -2884,7 +2884,7 @@ IsSurfingPikachuInParty:: ; 342a (0:342a)
call Func_3467
ret
-Func_3467:: ; 3467 (0:3467)
+Func_3467::
push hl
push bc
callab IsStarterPikachuInOurParty
@@ -2896,16 +2896,16 @@ Func_3467:: ; 3467 (0:3467)
ld [wd472], a
ret
-DisplayPokedex:: ; 347d (0:347d)
+DisplayPokedex::
ld [wd11e], a
jpba _DisplayPokedex
-SetSpriteFacingDirectionAndDelay:: ; 3488 (0:3488)
+SetSpriteFacingDirectionAndDelay::
call SetSpriteFacingDirection
ld c, 6
jp DelayFrames
-SetSpriteFacingDirection:: ; 3490 (0:3490)
+SetSpriteFacingDirection::
ld a, $9
ld [H_SPRITEDATAOFFSET], a
call GetPointerWithinSpriteStateData1
@@ -2913,13 +2913,13 @@ SetSpriteFacingDirection:: ; 3490 (0:3490)
ld [hl], a
ret
-SetSpriteImageIndexAfterSettingFacingDirection:: ; 349b (0:349b)
+SetSpriteImageIndexAfterSettingFacingDirection::
ld de, -7
add hl, de
ld [hl], a
ret
-SpriteFunc_34a1:: ; 34a1 (0:34a1)
+SpriteFunc_34a1::
ld a, [H_SPRITEINDEX]
swap a
add $e
@@ -2945,14 +2945,14 @@ SpriteFunc_34a1:: ; 34a1 (0:34a1)
; OUTPUT:
; [wCoordIndex] = if there is match, the matching array index
; sets carry if the coordinates are in the array, clears carry if not
-ArePlayerCoordsInArray:: ; 34bc (0:34bc)
+ArePlayerCoordsInArray::
ld a, [wYCoord]
ld b, a
ld a, [wXCoord]
ld c, a
; fallthrough
-CheckCoords:: ; 34c4 (0:34c4)
+CheckCoords::
xor a
ld [wCoordIndex], a
.loop
@@ -2986,7 +2986,7 @@ CheckCoords:: ; 34c4 (0:34c4)
; OUTPUT:
; [wCoordIndex] = if there is match, the matching array index
; sets carry if the coordinates are in the array, clears carry if not
-CheckBoulderCoords:: ; 34e1 (0:34e1)
+CheckBoulderCoords::
push hl
ld hl, wSpriteStateData2 + $04
ld a, [H_SPRITEINDEX]
@@ -3003,14 +3003,14 @@ CheckBoulderCoords:: ; 34e1 (0:34e1)
pop hl
jp CheckCoords
-GetPointerWithinSpriteStateData1:: ; 34f9 (0:34f9)
+GetPointerWithinSpriteStateData1::
ld h, $c1
jr _GetPointerWithinSpriteStateData
-GetPointerWithinSpriteStateData2:: ; 34fd (0:34fd)
+GetPointerWithinSpriteStateData2::
ld h, $c2
-_GetPointerWithinSpriteStateData: ; 34ff (0:34ff)
+_GetPointerWithinSpriteStateData:
ld a, [H_SPRITEDATAOFFSET]
ld b, a
ld a, [H_SPRITEINDEX]
@@ -3024,7 +3024,7 @@ _GetPointerWithinSpriteStateData: ; 34ff (0:34ff)
; the final $ff will be replicated in the output list and a contains the number of bytes written
; de: input list
; hl: output list
-DecodeRLEList:: ; 3509 (0:3509)
+DecodeRLEList::
xor a
ld [wRLEByteCount], a ; count written bytes here
.listLoop
@@ -3051,7 +3051,7 @@ DecodeRLEList:: ; 3509 (0:3509)
ret
; sets movement byte 1 for sprite [H_SPRITEINDEX] to $FE and byte 2 to [hSpriteMovementByte2]
-SetSpriteMovementBytesToFE:: ; 3530 (0:3530)
+SetSpriteMovementBytesToFE::
push hl
call GetSpriteMovementByte1Pointer
ld [hl], $fe
@@ -3062,7 +3062,7 @@ SetSpriteMovementBytesToFE:: ; 3530 (0:3530)
ret
; sets both movement bytes for sprite [H_SPRITEINDEX] to $FF
-SetSpriteMovementBytesToFF:: ; 353f (0:353f)
+SetSpriteMovementBytesToFF::
push hl
call GetSpriteMovementByte1Pointer
ld [hl], $FF
@@ -3072,7 +3072,7 @@ SetSpriteMovementBytesToFF:: ; 353f (0:353f)
ret
; returns the sprite movement byte 1 pointer for sprite [H_SPRITEINDEX] in hl
-GetSpriteMovementByte1Pointer:: ; 354b (0:354b)
+GetSpriteMovementByte1Pointer::
ld h, $C2
ld a, [H_SPRITEINDEX]
swap a
@@ -3081,7 +3081,7 @@ GetSpriteMovementByte1Pointer:: ; 354b (0:354b)
ret
; returns the sprite movement byte 2 pointer for sprite [H_SPRITEINDEX] in hl
-GetSpriteMovementByte2Pointer:: ; 3555 (0:3555)
+GetSpriteMovementByte2Pointer::
push de
ld hl, wMapSpriteData
ld a, [H_SPRITEINDEX]
@@ -3093,7 +3093,7 @@ GetSpriteMovementByte2Pointer:: ; 3555 (0:3555)
pop de
ret
-GetTrainerInformation:: ; 3563 (0:3563)
+GetTrainerInformation::
call GetTrainerName
ld a, [wLinkState]
and a
@@ -3127,7 +3127,7 @@ GetTrainerInformation:: ; 3563 (0:3563)
ld [hl], d
ret
-IsFightingJessieJames:: ; 359e (0:359e)
+IsFightingJessieJames::
ld a, [wTrainerClass]
cp ROCKET
ret nz
@@ -3145,10 +3145,10 @@ IsFightingJessieJames:: ; 359e (0:359e)
ld [hl], d
ret
-GetTrainerName:: ; 35bb (0:35bb)
+GetTrainerName::
jpba GetTrainerName_
-HasEnoughMoney:: ; 35c3 (0:35c3)
+HasEnoughMoney::
; Check if the player has at least as much
; money as the 3-byte BCD value at hMoney.
ld de, wPlayerMoney
@@ -3156,7 +3156,7 @@ HasEnoughMoney:: ; 35c3 (0:35c3)
ld c, 3
jp StringCmp
-HasEnoughCoins:: ; 35ce (0:35ce)
+HasEnoughCoins::
; Check if the player has at least as many
; coins as the 2-byte BCD value at hCoins.
ld de, wPlayerCoins
@@ -3165,7 +3165,7 @@ HasEnoughCoins:: ; 35ce (0:35ce)
jp StringCmp
-BankswitchHome:: ; 35d9 (0:35d9)
+BankswitchHome::
; switches to bank # in a
; Only use this when in the home bank!
ld [wBankswitchHomeTemp], a
@@ -3175,7 +3175,7 @@ BankswitchHome:: ; 35d9 (0:35d9)
call BankswitchCommon
ret
-BankswitchBack:: ; 35e8 (0:35e8)
+BankswitchBack::
; returns from BankswitchHome
ld a, [wBankswitchHomeSavedROMBank]
call BankswitchCommon
@@ -3183,25 +3183,25 @@ BankswitchBack:: ; 35e8 (0:35e8)
; displays yes/no choice
; yes -> set carry
-YesNoChoice:: ; 35ef (0:35ef)
+YesNoChoice::
call SaveScreenTilesToBuffer1
call InitYesNoTextBoxParameters
jr DisplayYesNoChoice
-Func_35f7:: ; 35f7 (0:35f7)
+Func_35f7::
ld a, TWO_OPTION_MENU
ld [wTextBoxID], a
call InitYesNoTextBoxParameters
jp DisplayTextBoxID
-InitYesNoTextBoxParameters:: ; 3602 (0:3602)
+InitYesNoTextBoxParameters::
xor a ; YES_NO_MENU
ld [wTwoOptionMenuID], a
coord hl, 14, 7
ld bc, $80f
ret
-YesNoChoicePokeCenter:: ; 360d (0:360d)
+YesNoChoicePokeCenter::
call SaveScreenTilesToBuffer1
ld a, HEAL_CANCEL_MENU
ld [wTwoOptionMenuID], a
@@ -3209,20 +3209,20 @@ YesNoChoicePokeCenter:: ; 360d (0:360d)
lb bc, 8, 12
jr DisplayYesNoChoice
-Func_361d:: ; 361d (0:361d)
+Func_361d::
call SaveScreenTilesToBuffer1
ld a, WIDE_YES_NO_MENU
ld [wTwoOptionMenuID], a
coord hl, 12, 7
lb bc, 8, 13
-DisplayYesNoChoice:: ; 362b (0:362b)
+DisplayYesNoChoice::
ld a, TWO_OPTION_MENU
ld [wTextBoxID], a
call DisplayTextBoxID
jp LoadScreenTilesFromBuffer1
; calculates the difference |a-b|, setting carry flag if a<b
-CalcDifference:: ; 3636 (0:3636)
+CalcDifference::
sub b
ret nc
cpl
@@ -3230,11 +3230,11 @@ CalcDifference:: ; 3636 (0:3636)
scf
ret
-MoveSprite:: ; 363d (0:363d)
+MoveSprite::
; move the sprite [H_SPRITEINDEX] with the movement pointed to by de
; actually only copies the movement data to wNPCMovementDirections for later
call SetSpriteMovementBytesToFF
-MoveSprite_:: ; 3640 (0:3640)
+MoveSprite_::
push hl
push bc
call GetSpriteMovementByte1Pointer
@@ -3267,7 +3267,7 @@ MoveSprite_:: ; 3640 (0:3640)
ret
; divides [hDividend2] by [hDivisor2] and stores the quotient in [hQuotient2]
-DivideBytes:: ; 366e (0:366e)
+DivideBytes::
push hl
ld hl, hQuotient2
xor a
@@ -3288,7 +3288,7 @@ DivideBytes:: ; 366e (0:366e)
ret
-LoadFontTilePatterns:: ; 3683 (0:3683)
+LoadFontTilePatterns::
ld a, [rLCDC]
bit 7, a ; is the LCD enabled?
jr nz, .on
@@ -3304,7 +3304,7 @@ LoadFontTilePatterns:: ; 3683 (0:3683)
lb bc, BANK(FontGraphics), (FontGraphicsEnd - FontGraphics) / $8
jp CopyVideoDataDouble ; if LCD is on, transfer during V-blank
-LoadTextBoxTilePatterns:: ; 36a3 (0:36a3)
+LoadTextBoxTilePatterns::
ld a, [rLCDC]
bit 7, a ; is the LCD enabled?
jr nz, .on
@@ -3320,7 +3320,7 @@ LoadTextBoxTilePatterns:: ; 36a3 (0:36a3)
lb bc, BANK(TextBoxGraphics), (TextBoxGraphicsEnd - TextBoxGraphics) / $10
jp CopyVideoData ; if LCD is on, transfer during V-blank
-LoadHpBarAndStatusTilePatterns:: ; 36c3 (0:36c3)
+LoadHpBarAndStatusTilePatterns::
ld a, [rLCDC]
bit 7, a ; is the LCD enabled?
jr nz, .on
@@ -3336,7 +3336,7 @@ LoadHpBarAndStatusTilePatterns:: ; 36c3 (0:36c3)
lb bc, BANK(HpBarAndStatusGraphics), (HpBarAndStatusGraphicsEnd - HpBarAndStatusGraphics) / $10
jp CopyVideoData ; if LCD is on, transfer during V-blank
-UncompressSpriteFromDE:: ; 36e3 (0:36e3)
+UncompressSpriteFromDE::
; Decompress pic at a:de.
ld hl, wSpriteInputPtr
ld [hl], e
@@ -3344,20 +3344,20 @@ UncompressSpriteFromDE:: ; 36e3 (0:36e3)
ld [hl], d
jp UncompressSpriteData
-SaveScreenTilesToBuffer2:: ; 36ec (0:36ec)
+SaveScreenTilesToBuffer2::
coord hl, 0, 0
ld de, wTileMapBackup2
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
jp CopyData
-LoadScreenTilesFromBuffer2:: ; 36f8 (0:36f8)
+LoadScreenTilesFromBuffer2::
call LoadScreenTilesFromBuffer2DisableBGTransfer
ld a, $1
ld [H_AUTOBGTRANSFERENABLED], a
ret
; loads screen tiles stored in wTileMapBackup2 but leaves H_AUTOBGTRANSFERENABLED disabled
-LoadScreenTilesFromBuffer2DisableBGTransfer:: ; 3700 (0:3700)
+LoadScreenTilesFromBuffer2DisableBGTransfer::
xor a
ld [H_AUTOBGTRANSFERENABLED], a
ld hl, wTileMapBackup2
@@ -3365,13 +3365,13 @@ LoadScreenTilesFromBuffer2DisableBGTransfer:: ; 3700 (0:3700)
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
jp CopyData
-SaveScreenTilesToBuffer1:: ; 370f (0:370f)
+SaveScreenTilesToBuffer1::
coord hl, 0, 0
ld de, wTileMapBackup
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
jp CopyData
-LoadScreenTilesFromBuffer1:: ; 371b (0:371b)
+LoadScreenTilesFromBuffer1::
xor a
ld [H_AUTOBGTRANSFERENABLED], a
ld hl, wTileMapBackup
@@ -3382,21 +3382,21 @@ LoadScreenTilesFromBuffer1:: ; 371b (0:371b)
ld [H_AUTOBGTRANSFERENABLED], a
ret
-DelayFrames:: ; 372f (0:372f)
+DelayFrames::
; wait c frames
call DelayFrame
dec c
jr nz, DelayFrames
ret
-PlaySoundWaitForCurrent:: ; 3736 (0:3736)
+PlaySoundWaitForCurrent::
push af
call WaitForSoundToFinish
pop af
jp PlaySound
; Wait for sound to finish playing
-WaitForSoundToFinish:: ; 373e (0:373e)
+WaitForSoundToFinish::
ld a, [wLowHealthAlarm]
and $80
ret nz
@@ -3415,7 +3415,7 @@ WaitForSoundToFinish:: ; 373e (0:373e)
pop hl
ret
-NamePointers:: ; 3754 (0:3754)
+NamePointers::
dw MonsterNames
dw MoveNames
dw UnusedNames
@@ -3424,7 +3424,7 @@ NamePointers:: ; 3754 (0:3754)
dw wEnemyMonOT ; enemy's OT names list
dw TrainerNames
-GetName:: ; 3762 (0:3762)
+GetName::
; arguments:
; [wd0b5] = which name
; [wNameListType] = which list
@@ -3507,7 +3507,7 @@ GetName:: ; 3762 (0:3762)
call BankswitchCommon
ret
-GetItemPrice:: ; 37d2 (0:37d2)
+GetItemPrice::
; Stores item's price as BCD at hItemPrice (3 bytes)
; Input: [wcf91] = item id
ld a, [H_LOADEDROMBANK]
@@ -3548,12 +3548,12 @@ GetItemPrice:: ; 37d2 (0:37d2)
ret
; copies a string from [de] to [wcf4b]
-CopyStringToCF4B:: ; 3813 (0:3813)
+CopyStringToCF4B::
ld hl, wcf4b
; fall through
; copies a string from [de] to [hl]
-CopyString:: ; 3816 (0:3816)
+CopyString::
ld a, [de]
inc de
ld [hli], a
@@ -3576,7 +3576,7 @@ CopyString:: ; 3816 (0:3816)
; report only one button press.
; 3. Same as 2, but report no buttons as pressed if A or B is held down.
; ([hJoy7] == 1, [hJoy6] == 0)
-JoypadLowSensitivity:: ; 381e (0:381e)
+JoypadLowSensitivity::
call Joypad
ld a, [hJoy7] ; flag
and a ; get all currently pressed buttons or only newly pressed buttons?
@@ -3615,7 +3615,7 @@ JoypadLowSensitivity:: ; 381e (0:381e)
ld [H_FRAMECOUNTER], a
ret
-WaitForTextScrollButtonPress:: ; 3852 (0:3852)
+WaitForTextScrollButtonPress::
ld a, [H_DOWNARROWBLINKCNT1]
push af
ld a, [H_DOWNARROWBLINKCNT2]
@@ -3650,7 +3650,7 @@ WaitForTextScrollButtonPress:: ; 3852 (0:3852)
ret
; (unless in link battle) waits for A or B being pressed and outputs the scrolling sound effect
-ManualTextScroll:: ; 388e (0:388e)
+ManualTextScroll::
ld a, [wLinkState]
cp LINK_STATE_BATTLING
jr z, .inLinkBattle
@@ -3669,7 +3669,7 @@ ManualTextScroll:: ; 388e (0:388e)
; FF99 = multiplier
; OUTPUT
; FF95-FF98 = product
-Multiply:: ; 38a5 (0:38a5)
+Multiply::
push hl
push bc
callab _Multiply ; 3d:660e
@@ -3686,7 +3686,7 @@ Multiply:: ; 38a5 (0:38a5)
; OUTPUT
; FF95-FF98 = quotient
; FF99 = remainder
-Divide:: ; 38b2 (0:38b2)
+Divide::
push hl
push de
push bc
@@ -3699,7 +3699,7 @@ Divide:: ; 38b2 (0:38b2)
; This function is used to wait a short period after printing a letter to the
; screen unless the player presses the A/B button or the delay is turned off
; through the [wd730] or [wLetterPrintingDelayFlags] flags.
-PrintLetterDelay:: ; 38c8 (0:38c8)
+PrintLetterDelay::
ld a, [wd730]
bit 6, a
ret nz
@@ -3745,7 +3745,7 @@ PrintLetterDelay:: ; 38c8 (0:38c8)
; Copies [hl, bc) to [de, bc - hl).
; In other words, the source data is from hl up to but not including bc,
; and the destination is de.
-CopyDataUntil:: ; 3908 (0:3908)
+CopyDataUntil::
ld a, [hli]
ld [de], a
inc de
@@ -3761,10 +3761,10 @@ CopyDataUntil:: ; 3908 (0:3908)
; wWhichPokemon determines the pokemon.
; [wRemoveMonFromBox] == 0 specifies the party.
; [wRemoveMonFromBox] != 0 specifies the current box.
-RemovePokemon:: ; 3914 (0:3914)
+RemovePokemon::
jpab _RemovePokemon
-AddPartyMon:: ; 391c (0:391c)
+AddPartyMon::
push hl
push de
push bc
@@ -3775,7 +3775,7 @@ AddPartyMon:: ; 391c (0:391c)
ret
; calculates all 5 stats of current mon and writes them to [de]
-CalcStats:: ; 392b (0:392b)
+CalcStats::
ld c, $0
.statsLoop
inc c
@@ -3795,7 +3795,7 @@ CalcStats:: ; 392b (0:392b)
; c: stat to calc (HP=1, Atk=2, Def=3, Spd=4, Spc=5)
; b: consider stat exp?
; hl: base ptr to stat exp values ([hl + 2*c - 1] and [hl + 2*c])
-CalcStat:: ; 393f (0:393f)
+CalcStat::
push hl
push de
push bc
@@ -3974,17 +3974,17 @@ CalcStat:: ; 393f (0:393f)
pop hl
ret
-AddEnemyMonToPlayerParty:: ; 3a48 (0:3a48)
+AddEnemyMonToPlayerParty::
homecall_sf _AddEnemyMonToPlayerParty
ret
-MoveMon:: ; 3a59 (0:3a59)
+MoveMon::
homecall_sf _MoveMon
ret
; skips a text entries, each of size NAME_LENGTH (like trainer name, OT name, rival name, ...)
; hl: base pointer, will be incremented by NAME_LENGTH * a
-SkipFixedLengthTextEntries:: ; 3a6a (0:3a6a)
+SkipFixedLengthTextEntries::
and a
ret z
ld bc, NAME_LENGTH
@@ -3994,7 +3994,7 @@ SkipFixedLengthTextEntries:: ; 3a6a (0:3a6a)
jr nz, .skipLoop
ret
-AddNTimes:: ; 3a74 (0:3a74)
+AddNTimes::
; add bc to hl a times
and a
ret z
@@ -4006,7 +4006,7 @@ AddNTimes:: ; 3a74 (0:3a74)
; Compare strings, c bytes in length, at de and hl.
; Often used to compare big endian numbers in battle calculations.
-StringCmp:: ; 3a7b (0:3a7b)
+StringCmp::
ld a, [de]
cp [hl]
ret nz
@@ -4021,7 +4021,7 @@ StringCmp:: ; 3a7b (0:3a7b)
; b = Y coordinate of upper left corner of sprite
; c = X coordinate of upper left corner of sprite
; de = base address of 4 tile number and attribute pairs
-WriteOAMBlock:: ; 3a84 (0:3a84)
+WriteOAMBlock::
ld h, wOAMBuffer / $100
swap a ; multiply by 16
ld l, a
@@ -4053,11 +4053,11 @@ WriteOAMBlock:: ; 3a84 (0:3a84)
ld [hli], a
ret
-HandleMenuInput:: ; 3aab (0:3aab)
+HandleMenuInput::
xor a
ld [wPartyMenuAnimMonEnabled], a
-HandleMenuInputPokemonSelection:: ; 3aaf (0:3aaf)
+HandleMenuInputPokemonSelection::
ld a, [H_DOWNARROWBLINKCNT1]
push af
ld a, [H_DOWNARROWBLINKCNT2]
@@ -4173,7 +4173,7 @@ HandleMenuInputPokemonSelection:: ; 3aaf (0:3aaf)
jr z, .checkOtherKeys
jr .checkIfAButtonOrBButtonPressed
-PlaceMenuCursor:: ; 3b6d (0:3b6d)
+PlaceMenuCursor::
ld a, [wTopMenuItemY]
and a ; is the y coordinate 0?
jr z, .adjustForXCoord
@@ -4248,7 +4248,7 @@ PlaceMenuCursor:: ; 3b6d (0:3b6d)
; manipulated. In the case of submenus, this is used to show the location of
; the menu cursor in the parent menu. In the case of swapping items in list,
; this is used to mark the item that was first chosen to be swapped.
-PlaceUnfilledArrowMenuCursor:: ; 3bd9 (0:3bd9)
+PlaceUnfilledArrowMenuCursor::
ld b, a
ld a, [wMenuCursorLocation]
ld l, a
@@ -4259,7 +4259,7 @@ PlaceUnfilledArrowMenuCursor:: ; 3bd9 (0:3bd9)
ret
; Replaces the menu cursor with a blank space.
-EraseMenuCursor:: ; 3be6 (0:3be6)
+EraseMenuCursor::
ld a, [wMenuCursorLocation]
ld l, a
ld a, [wMenuCursorLocation + 1]
@@ -4275,7 +4275,7 @@ EraseMenuCursor:: ; 3be6 (0:3be6)
; initliazed with a down arrow, this function does nothing.
; That allows this to be called without worrying about if a down arrow should
; be blinking.
-HandleDownArrowBlinkTiming:: ; 3bf1 (0:3bf1)
+HandleDownArrowBlinkTiming::
ld a, [hl]
ld b, a
ld a, $ee ; down arrow
@@ -4320,20 +4320,20 @@ HandleDownArrowBlinkTiming:: ; 3bf1 (0:3bf1)
; text boxes by DisplayTextID. Both functions cause DisplayTextID to wait
; for a button press after displaying text (unless [wEnteringCableClub] is set).
-EnableAutoTextBoxDrawing:: ; 3c29 (0:3c29)
+EnableAutoTextBoxDrawing::
xor a
jr AutoTextBoxDrawingCommon
-DisableAutoTextBoxDrawing:: ; 3c2c (0:3c2c)
+DisableAutoTextBoxDrawing::
ld a, $01
-AutoTextBoxDrawingCommon:: ; 3c2e (0:3c2d)
+AutoTextBoxDrawingCommon::
ld [wAutoTextBoxDrawingControl], a
xor a
ld [wDoNotWaitForButtonPressAfterDisplayingText], a ; make DisplayTextID wait for button press
ret
-PrintText:: ; 3c36 (0:3c36)
+PrintText::
; Print text hl at (1, 14).
push hl
ld a, MESSAGE_BOX
@@ -4342,11 +4342,11 @@ PrintText:: ; 3c36 (0:3c36)
call UpdateSprites
call Delay3
pop hl
-PrintText_NoCreatingTextBox:: ; 3c46 (0:3c46)
+PrintText_NoCreatingTextBox::
coord bc, 1, 14
jp TextCommandProcessor
-FarPrintText:: ; 3c4c (0:3c4c)
+FarPrintText::
; print text b:hl at (1, 14)
ld a, [H_LOADEDROMBANK]
push af
@@ -4357,7 +4357,7 @@ FarPrintText:: ; 3c4c (0:3c4c)
call BankswitchCommon
ret
-PrintNumber:: ; 3c5b (0:3c5b)
+PrintNumber::
; Print the c-digit, b-byte value at de.
; Allows 2 to 7 digits. For 1-digit numbers, add
; the value to char "0" instead of calling PrintNumber.
@@ -4479,7 +4479,7 @@ endm
pop bc
ret
-.PrintDigit: ; 3d21 (0:3d21)
+.PrintDigit:
; Divide by the current decimal place.
; Print the quotient, and keep the modulus.
ld c, 0
@@ -4554,13 +4554,13 @@ endm
ld [H_PASTLEADINGZEROES], a
ret
-.PrintLeadingZero: ; 3d7f (0:3d7f)
+.PrintLeadingZero:
bit BIT_LEADING_ZEROES, d
ret z
ld [hl], "0"
ret
-.NextDigit: ; 3d85 (0:3d85)
+.NextDigit:
; Increment unless the number is left-aligned,
; leading zeroes are not printed, and no digits
; have been printed yet.
@@ -4576,7 +4576,7 @@ endm
ret
-JumpTable:: ; 3d93 (0:3d93)
+JumpTable::
; Call function a in jumptable hl.
; de is not preserved.
push hl
@@ -4599,13 +4599,13 @@ JumpTable:: ; 3d93 (0:3d93)
ret
-IsInArray:: ; 3da7 (0:3da7)
+IsInArray::
; Search an array at hl for the value in a.
; Entry size is de bytes.
; Return count b and carry if found.
ld b, 0
-IsInRestOfArray:: ; 3da9 (0:3da9)
+IsInRestOfArray::
ld c, a
.loop
ld a, [hl]
@@ -4625,10 +4625,10 @@ IsInRestOfArray:: ; 3da9 (0:3da9)
scf
ret
-InitMapSprites:: ; 3dba (0:3dba)
+InitMapSprites::
jpab _InitMapSprites
-RestoreScreenTilesAndReloadTilePatterns:: ; 3dc2 (0:3dc2)
+RestoreScreenTilesAndReloadTilePatterns::
call ClearSprites
ld a, $1
ld [wUpdateSpritesEnabled], a
@@ -4639,16 +4639,16 @@ RestoreScreenTilesAndReloadTilePatterns:: ; 3dc2 (0:3dc2)
jr Delay3
-GBPalWhiteOutWithDelay3:: ; 3dd8 (0:3dd8)
+GBPalWhiteOutWithDelay3::
call GBPalWhiteOut
-Delay3:: ; 3ddb (0:3ddb)
+Delay3::
; The bg map is updated each frame in thirds.
; Wait three frames to let the bg map fully update.
ld c, 3
jp DelayFrames
-GBPalNormal:: ; 3de0 (0:3de0)
+GBPalNormal::
; Reset BGP and OBP0.
ld a, %11100100 ; 3210
ld [rBGP], a
@@ -4659,7 +4659,7 @@ GBPalNormal:: ; 3de0 (0:3de0)
call UpdateGBCPal_OBP1
ret
-GBPalWhiteOut:: ; 3df2 (0:3df2)
+GBPalWhiteOut::
; White out all palettes.
xor a
ld [rBGP], a
@@ -4671,15 +4671,15 @@ GBPalWhiteOut:: ; 3df2 (0:3df2)
ret
-RunDefaultPaletteCommand:: ; 3e03 (0:3e03)
+RunDefaultPaletteCommand::
ld b, $ff
-RunPaletteCommand:: ; 3e05 (0:3e05)
+RunPaletteCommand::
ld a, [wOnSGB]
and a
ret z
predef_jump _RunPaletteCommand
-GetHealthBarColor:: ; 3e0f (0:3e0f)
+GetHealthBarColor::
; Return at hl the palette of
; an HP bar e pixels long.
ld a, e
@@ -4696,7 +4696,7 @@ GetHealthBarColor:: ; 3e0f (0:3e0f)
; Copy the current map's sprites' tile patterns to VRAM again after they have
; been overwritten by other tile patterns.
-ReloadMapSpriteTilePatterns:: ; 3e1e (0:3e1e)
+ReloadMapSpriteTilePatterns::
ld hl, wFontLoaded
ld a, [hl]
push af
@@ -4715,7 +4715,7 @@ ReloadMapSpriteTilePatterns:: ; 3e1e (0:3e1e)
jp UpdateSprites
-GiveItem:: ; 3e3f (0:3e3f)
+GiveItem::
; Give player quantity c of item b,
; and copy the item's name to wcf4b.
; Return carry on success.
@@ -4732,7 +4732,7 @@ GiveItem:: ; 3e3f (0:3e3f)
scf
ret
-GivePokemon:: ; 3e59 (0:3e59)
+GivePokemon::
; Give the player monster b at level c.
ld a, b
ld [wcf91], a
@@ -4742,7 +4742,7 @@ GivePokemon:: ; 3e59 (0:3e59)
ld [wMonDataLocation], a
jpba _GivePokemon ; 3d:66fa
-Random:: ; 3e6d (0:3e6d)
+Random::
; Return a random number in a.
; For battles, use BattleRandom.
push hl
@@ -4755,12 +4755,12 @@ Random:: ; 3e6d (0:3e6d)
pop hl
ret
-BankswitchCommon:: ; 3e7e (0:3e7e)
+BankswitchCommon::
ld [H_LOADEDROMBANK], a
ld [MBC1RomBank], a
ret
-Bankswitch:: ; 3e84 (0:3e84)
+Bankswitch::
; self-contained bankswitch, use this when not in the home bank
; switches to the bank in b
ld a, [H_LOADEDROMBANK]
@@ -4774,10 +4774,10 @@ Bankswitch:: ; 3e84 (0:3e84)
ld [H_LOADEDROMBANK], a
ld [MBC1RomBank], a
ret
-JumpToAddress:: ; 3e98 (0:3e98)
+JumpToAddress::
jp [hl]
-SwitchSRAMBankAndLatchClockData:: ; 3e99 (0:3e99)
+SwitchSRAMBankAndLatchClockData::
push af
ld a, $1
ld [MBC1SRamBankingMode], a
@@ -4787,7 +4787,7 @@ SwitchSRAMBankAndLatchClockData:: ; 3e99 (0:3e99)
ld [MBC1SRamBank], a
ret
-PrepareRTCDataAndDisableSRAM:: ; 3ea9 (0:3ea9)
+PrepareRTCDataAndDisableSRAM::
push af
ld a, $0
ld [MBC1SRamBankingMode], a
@@ -4797,12 +4797,12 @@ PrepareRTCDataAndDisableSRAM:: ; 3ea9 (0:3ea9)
INCLUDE "home/predef.asm"
-UpdateCinnabarGymGateTileBlocks:: ; 3ef0 (0:3ef0)
+UpdateCinnabarGymGateTileBlocks::
callba UpdateCinnabarGymGateTileBlocks_
ret ; again?
;jp Bankswitch
-CheckForHiddenObjectOrBookshelfOrCardKeyDoor:: ; 3ef9 (0:3ef9)
+CheckForHiddenObjectOrBookshelfOrCardKeyDoor::
ld a, [H_LOADEDROMBANK]
push af
ld a, [hJoyHeld]
@@ -4834,7 +4834,7 @@ CheckForHiddenObjectOrBookshelfOrCardKeyDoor:: ; 3ef9 (0:3ef9)
call BankswitchCommon
ret
-PrintPredefTextID:: ; 3f3a (0:3f3a)
+PrintPredefTextID::
ld [hSpriteIndexOrTextID], a ; $ff8c
ld hl, TextPredefs
call SetMapTextPointer
@@ -4842,7 +4842,7 @@ PrintPredefTextID:: ; 3f3a (0:3f3a)
set 0, [hl]
call DisplayTextID
-RestoreMapTextPointer:: ; 3f4a (0:3f4a)
+RestoreMapTextPointer::
ld hl, wMapTextPtr
ld a, [$ffec]
ld [hli], a
@@ -4850,7 +4850,7 @@ RestoreMapTextPointer:: ; 3f4a (0:3f4a)
ld [hl], a
ret
-SetMapTextPointer:: ; 3f54 (0:3f54)
+SetMapTextPointer::
ld a, [wMapTextPtr]
ld [$ffec], a
ld a, [wMapTextPtr + 1]
@@ -4861,7 +4861,7 @@ SetMapTextPointer:: ; 3f54 (0:3f54)
ld [wMapTextPtr + 1], a
ret
-TextPredefs:: ; 3f67 (0:3f67)
+TextPredefs::
const_value = 1
add_tx_pre CardKeySuccessText ; 01
diff --git a/home/audio.asm b/home/audio.asm
index f71aa3d0..8157e758 100644
--- a/home/audio.asm
+++ b/home/audio.asm
@@ -1,4 +1,4 @@
-PlayDefaultMusic:: ; 216b (0:216b)
+PlayDefaultMusic::
call WaitForSoundToFinish
xor a
ld c, a
@@ -6,7 +6,7 @@ PlayDefaultMusic:: ; 216b (0:216b)
ld [wLastMusicSoundID], a
jr PlayDefaultMusicCommon
-PlayDefaultMusicFadeOutCurrent:: ; 2176 (0:2176)
+PlayDefaultMusicFadeOutCurrent::
; Fade out the current music and then play the default music.
ld c, 10
ld d, 0
@@ -17,7 +17,7 @@ PlayDefaultMusicFadeOutCurrent:: ; 2176 (0:2176)
ld [wLastMusicSoundID], a
ld c, 8
ld d, c
-PlayDefaultMusicCommon:: ; 2118 (0:2118)
+PlayDefaultMusicCommon::
ld a, [wWalkBikeSurfState]
and a
jr z, .walking
@@ -67,7 +67,7 @@ PlayDefaultMusicCommon:: ; 2118 (0:2118)
ld [wNewSoundID], a
jp PlaySound
-CheckForNoBikingMusicMap:: ; 21c8 (0:21c8)
+CheckForNoBikingMusicMap::
; probably used to not change music upon getting on bike
ld a, [wCurMap]
cp ROUTE_23
@@ -86,7 +86,7 @@ CheckForNoBikingMusicMap:: ; 21c8 (0:21c8)
scf
ret
-UpdateMusic6Times:: ; 21e3 (0:21e3)
+UpdateMusic6Times::
ld c, $6
UpdateMusicCTimes::
.loop
@@ -99,7 +99,7 @@ UpdateMusicCTimes::
jr nz, .loop
ret
-CompareMapMusicBankWithCurrentBank:: ; 21f5 (0:21f5)
+CompareMapMusicBankWithCurrentBank::
; Compares the map music's audio ROM bank with the current audio ROM bank
; and updates the audio ROM bank variables.
; Returns whether the banks are different in carry.
@@ -126,7 +126,7 @@ CompareMapMusicBankWithCurrentBank:: ; 21f5 (0:21f5)
scf
ret
-PlayMusic:: ; 2211 (0:2211)
+PlayMusic::
ld b, a
ld [wNewSoundID], a
xor a
@@ -137,7 +137,7 @@ PlayMusic:: ; 2211 (0:2211)
ld a, b
jr PlaySound
-Func_2223:: ; 2223 (0:2223)
+Func_2223::
xor a
ld [wChannelSoundIDs + CH4], a
ld [wChannelSoundIDs + CH5], a
@@ -146,11 +146,11 @@ Func_2223:: ; 2223 (0:2223)
ld [rNR10], a
ret
-StopAllMusic:: ; 2233 (0:2233)
+StopAllMusic::
ld a, $FF
ld [wNewSoundID], a
; plays music specified by a. If value is $ff, music is stopped
-PlaySound:: ; 2238 (0:2238)
+PlaySound::
push hl
push de
push bc
@@ -197,7 +197,7 @@ PlaySound:: ; 2238 (0:2238)
pop hl
ret
-GetNextMusicByte:: ; 2288 (0:2288)
+GetNextMusicByte::
ld a, [H_LOADEDROMBANK]
push af
ld a, [wAudioROMBank]
@@ -223,7 +223,7 @@ GetNextMusicByte:: ; 2288 (0:2288)
ld a, e
ret
-InitMusicVariables:: ; 22aa (0:22aa)
+InitMusicVariables::
push hl
push de
push bc
@@ -233,7 +233,7 @@ InitMusicVariables:: ; 22aa (0:22aa)
pop hl
ret
-InitSFXVariables:: ; 22c0 (0:22c0)
+InitSFXVariables::
push hl
push de
push bc
@@ -243,7 +243,7 @@ InitSFXVariables:: ; 22c0 (0:22c0)
pop hl
ret
-StopAllAudio:: ; 22d6 (0:22d6)
+StopAllAudio::
push hl
push de
push bc
@@ -253,7 +253,7 @@ StopAllAudio:: ; 22d6 (0:22d6)
pop hl
ret
-DetermineAudioFunction:: ; 22ec (0:22ec)
+DetermineAudioFunction::
ld a, [H_LOADEDROMBANK]
push af
ld a, [wAudioROMBank]
diff --git a/home/copy.asm b/home/copy.asm
index d073f54c..4f1d5017 100644
--- a/home/copy.asm
+++ b/home/copy.asm
@@ -1,4 +1,4 @@
-FarCopyData:: ; 009d (0:009d)
+FarCopyData::
; Copy bc bytes from a:hl to de.
ld [wFarCopyDataSavedROMBank], a
ld a, [H_LOADEDROMBANK]
@@ -10,7 +10,7 @@ FarCopyData:: ; 009d (0:009d)
call BankswitchCommon
ret
-CopyData:: ; 00b1 (0:00b1)
+CopyData::
; Copy bc bytes from hl to de.
ld a,b
and a
@@ -33,7 +33,7 @@ CopyData:: ; 00b1 (0:00b1)
jr nz, .copybytes
ret
-CopyVideoDataAlternate:: ; 00c8 (0:00c8)
+CopyVideoDataAlternate::
ld a, [rLCDC]
bit 7,a ; LCD enabled?
jp nz, CopyVideoData ; if yes, then copy video data
@@ -53,7 +53,7 @@ CopyVideoDataAlternate:: ; 00c8 (0:00c8)
pop af
jp FarCopyData
-CopyVideoDataDoubleAlternate:: ; 00e3 (0:00e3)
+CopyVideoDataDoubleAlternate::
ld a, [rLCDC]
bit 7,a ; LCD enabled?
jp nz, CopyVideoDataDouble ; if yes, then copy video data
diff --git a/home/copy2.asm b/home/copy2.asm
index 07eeb6b2..ad47c4a0 100644
--- a/home/copy2.asm
+++ b/home/copy2.asm
@@ -1,4 +1,4 @@
-FarCopyDataDouble:: ; 15d4 (0:15d4)
+FarCopyDataDouble::
; Expand bc bytes of 1bpp image data
; from a:de to 2bpp data at hl.
ld [wFarCopyDataSavedROMBank],a
@@ -33,7 +33,7 @@ FarCopyDataDouble:: ; 15d4 (0:15d4)
call BankswitchCommon
ret
-CopyVideoData:: ; 15fe (0:15fe)
+CopyVideoData::
; Wait for the next VBlank, then copy c 2bpp
; tiles from b:de to hl, 8 tiles at a time.
; This takes c/8 frames.
@@ -82,7 +82,7 @@ CopyVideoData:: ; 15fe (0:15fe)
ld c, a
jr .loop
-CopyVideoDataDouble:: ; 1636 (0:1636)
+CopyVideoDataDouble::
; Wait for the next VBlank, then copy c 1bpp
; tiles from b:de to hl, 8 tiles at a time.
; This takes c/8 frames.
@@ -129,7 +129,7 @@ CopyVideoDataDouble:: ; 1636 (0:1636)
ld c, a
jr .loop
-FillMemory:: ; 166e (0:166e)
+FillMemory::
push af
ld a,b
and a
@@ -149,7 +149,7 @@ FillMemory:: ; 166e (0:166e)
jr nz, .loop
ret
-GetFarByte:: ; 1681 (0:1681)
+GetFarByte::
; get a byte from a:hl
; and return it in a
push bc
@@ -165,7 +165,7 @@ GetFarByte:: ; 1681 (0:1681)
pop bc
ret
-ClearScreenArea:: ; 1692 (0:1692)
+ClearScreenArea::
; Clear tilemap area cxb at hl.
ld a, " " ; blank tile
ld de, 20 ; screen width
@@ -183,7 +183,7 @@ ClearScreenArea:: ; 1692 (0:1692)
jr nz, .y
ret
-CopyScreenTileBufferToVRAM:: ; 16a4 (0:16a4)
+CopyScreenTileBufferToVRAM::
; Copy wTileMap to the BG Map starting at b * $100.
; This is done in thirds of 6 rows, so it takes 3 frames.
@@ -218,7 +218,7 @@ CopyScreenTileBufferToVRAM:: ; 16a4 (0:16a4)
ld [H_VBCOPYBGSRC], a
ret
-ClearScreen:: ; 16dd (0:16dd)
+ClearScreen::
; Clear wTileMap, then wait
; for the bg map to update.
ld bc, 20 * 18
diff --git a/home/fade.asm b/home/fade.asm
index 7ac2e1c2..1259f92b 100644
--- a/home/fade.asm
+++ b/home/fade.asm
@@ -1,6 +1,6 @@
; These routines manage gradual fading
; (e.g., entering a doorway)
-LoadGBPal:: ; 1e6f (0:1e6f)
+LoadGBPal::
ld a, [wMapPalOffset] ; tells if wCurMap is dark (requires HM5_FLASH?)
ld b, a
ld hl, FadePal4
@@ -21,16 +21,16 @@ LoadGBPal:: ; 1e6f (0:1e6f)
call UpdateGBCPal_OBP1
ret
-GBFadeInFromBlack:: ; 1e8f (0:1e8f)
+GBFadeInFromBlack::
ld hl, FadePal1
ld b, 4
jr GBFadeIncCommon
-GBFadeOutToWhite:: ; 1e96 (0:1e96)
+GBFadeOutToWhite::
ld hl, FadePal6
ld b, 3
-GBFadeIncCommon: ; 1e9b (0:1e9b)
+GBFadeIncCommon:
ld a, [hli]
ld [rBGP], a
ld a, [hli]
@@ -46,7 +46,7 @@ GBFadeIncCommon: ; 1e9b (0:1e9b)
jr nz, GBFadeIncCommon
ret
-GBFadeOutToBlack:: ; 1eb6 (0:1eb6)
+GBFadeOutToBlack::
ld hl, FadePal4 + 2
ld b, 4
jr GBFadeDecCommon
diff --git a/home/init.asm b/home/init.asm
index ad602a99..6aa14608 100644
--- a/home/init.asm
+++ b/home/init.asm
@@ -1,9 +1,9 @@
-SoftReset:: ; 1d08 (0:1d08)
+SoftReset::
call StopAllSounds
call GBPalWhiteOut
ld c, 32
call DelayFrames
-Init:: ; 1d10 (0:1d10)
+Init::
; Program init.
rLCDC_DEFAULT EQU %11100011
@@ -118,7 +118,7 @@ rLCDC_DEFAULT EQU %11100011
jp SetDefaultNamesBeforeTitlescreen
-ClearVram: ; 1dc6 (0:1dc6)
+ClearVram:
ld hl, $8000
ld bc, $2000
xor a
diff --git a/home/lcdc.asm b/home/lcdc.asm
index f94cdb19..6172dd0d 100644
--- a/home/lcdc.asm
+++ b/home/lcdc.asm
@@ -1,4 +1,4 @@
-LCDC:: ; 15ac (0:15ac)
+LCDC::
push af
ld a, [hLCDCPointer] ; doubles as enabling byte
and a
diff --git a/home/overworld.asm b/home/overworld.asm
index 484e19c3..0b2f527f 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -1,4 +1,4 @@
-EnterMap:: ; 01d7 (0:01d7)
+EnterMap::
; Load a new map.
ld a, $ff
ld [wJoyIgnore], a
@@ -40,9 +40,9 @@ EnterMap:: ; 01d7 (0:01d7)
xor a
ld [wJoyIgnore], a
-OverworldLoop:: ; 0242 (0:0242)
+OverworldLoop::
call DelayFrame
-OverworldLoopLessDelay:: ; 0245 (0:0245)
+OverworldLoopLessDelay::
call DelayFrame
call IsSurfingPikachuInParty
call LoadGBPal
@@ -303,7 +303,7 @@ OverworldLoopLessDelay:: ; 0245 (0:0245)
call DelayFrames
jp EnterMap
-StepCountCheck:: ; 0457 (0:0457)
+StepCountCheck::
ld a, [wd730]
bit 7, a
jr nz, .doneStepCounting ; if button presses are being simulated, don't count steps
@@ -321,7 +321,7 @@ StepCountCheck:: ; 0457 (0:0457)
.doneStepCounting
ret
-AllPokemonFainted:: ; 0475 (0:0475)
+AllPokemonFainted::
ld a, $ff
ld [wIsInBattle], a
call RunMapScript
@@ -329,7 +329,7 @@ AllPokemonFainted:: ; 0475 (0:0475)
; function to determine if there will be a battle and execute it (either a trainer battle or wild battle)
; sets carry if a battle occurred and unsets carry if not
-NewBattle:: ; 0480 (0:0480)
+NewBattle::
ld a, [wd72d]
bit 4, a
jr nz, .noBattle
@@ -343,7 +343,7 @@ NewBattle:: ; 0480 (0:0480)
and a
ret
-DoBikeSpeedup:: ; 049d (0:049d)
+DoBikeSpeedup::
ld a, [wWalkBikeSurfState]
dec a ; riding a bike?
ret nz
@@ -364,7 +364,7 @@ DoBikeSpeedup:: ; 049d (0:049d)
ret
; check if the player has stepped onto a warp after having not collided
-CheckWarpsNoCollision:: ; 04bd (0:04bd)
+CheckWarpsNoCollision::
ld a, [wNumberOfWarps]
and a
jp z, CheckMapConnections
@@ -376,7 +376,7 @@ CheckWarpsNoCollision:: ; 04bd (0:04bd)
ld a, [wXCoord]
ld e, a
ld hl, wWarpEntries
-CheckWarpsNoCollisionLoop:: ; 04d5 (0:04d5)
+CheckWarpsNoCollisionLoop::
ld a, [hli] ; check if the warp's Y position matches
cp d
jr nz, CheckWarpsNoCollisionRetry1
@@ -412,19 +412,19 @@ CheckWarpsNoCollisionLoop:: ; 04d5 (0:04d5)
jr z, CheckWarpsNoCollisionRetry2 ; if directional buttons aren't being pressed, do not pass through the warp
jr WarpFound1
-CheckWarpsNoCollisionRetry1:: ; 050f (0:050f)
+CheckWarpsNoCollisionRetry1::
inc hl
-CheckWarpsNoCollisionRetry2:: ; 0510 (0:0510)
+CheckWarpsNoCollisionRetry2::
inc hl
inc hl
-ContinueCheckWarpsNoCollisionLoop:: ; 0512 (0:0512)
+ContinueCheckWarpsNoCollisionLoop::
inc b ; increment warp number
dec c ; decrement number of warps
jp nz, CheckWarpsNoCollisionLoop
jp CheckMapConnections
; check if the player has stepped onto a warp after having collided
-CheckWarpsCollision:: ; 051a (0:051a)
+CheckWarpsCollision::
ld a, [wNumberOfWarps]
ld c, a
ld hl, wWarpEntries
@@ -454,13 +454,13 @@ CheckWarpsCollision:: ; 051a (0:051a)
jr nz, .loop
jp OverworldLoop
-WarpFound1:: ; 0543 (0:0543)
+WarpFound1::
ld a, [hli]
ld [wDestinationWarpID], a
ld a, [hli]
ld [hWarpDestinationMap], a
-WarpFound2:: ; 054a (0:054a)
+WarpFound2::
ld a, [wNumberOfWarps]
sub c
ld [wWarpedFromWhichWarp], a ; save ID of used warp
@@ -526,7 +526,7 @@ WarpFound2:: ; 054a (0:054a)
jp EnterMap
; if no matching warp was found
-CheckMapConnections:: ; 05db (0:05db)
+CheckMapConnections::
.checkWestMap
ld a, [wXCoord]
cp $ff
@@ -673,7 +673,7 @@ CheckMapConnections:: ; 05db (0:05db)
jp OverworldLoop
; function to play a sound when changing maps
-PlayMapChangeSound:: ; 06ef (0:06ef)
+PlayMapChangeSound::
ld a, [wCurMapTileset]
cp FACILITY
jr z, .didNotGoThroughDoor
@@ -694,7 +694,7 @@ PlayMapChangeSound:: ; 06ef (0:06ef)
ret nz
jp GBFadeOutToBlack
-CheckIfInOutsideMap:: ; 0712 (0:0712)
+CheckIfInOutsideMap::
; If the player is in an outside map (a town or route), set the z flag
ld a, [wCurMapTileset]
and a ; most towns/routes have tileset 0 (OVERWORLD)
@@ -708,7 +708,7 @@ CheckIfInOutsideMap:: ; 0712 (0:0712)
; "function 1" passes when the player is at the edge of the map and is facing towards the outside of the map
; "function 2" passes when the the tile in front of the player is among a certain set
; sets carry if the check passes, otherwise clears carry
-ExtraWarpCheck:: ; 071a (0:071a)
+ExtraWarpCheck::
ld a, [wCurMap]
cp SS_ANNE_3
jr z, .useFunction1
@@ -739,14 +739,14 @@ ExtraWarpCheck:: ; 071a (0:071a)
ld b, BANK(IsWarpTileInFrontOfPlayer)
jp Bankswitch
-MapEntryAfterBattle:: ; 0750 (0:0750)
+MapEntryAfterBattle::
callba IsPlayerStandingOnWarp ; for enabling warp testing after collisions
ld a, [wMapPalOffset]
and a
jp z, GBFadeInFromWhite
jp LoadGBPal
-HandleBlackOut:: ; 0762 (0:0762)
+HandleBlackOut::
; For when all the player's pokemon faint.
; Does not print the "blacked out" message.
@@ -761,7 +761,7 @@ HandleBlackOut:: ; 0762 (0:0762)
call PlayDefaultMusicFadeOutCurrent
jp SpecialEnterMap
-StopMusic:: ; 0788 (0:0788)
+StopMusic::
ld [wAudioFadeOutControl], a
call StopAllMusic
.wait
@@ -770,7 +770,7 @@ StopMusic:: ; 0788 (0:0788)
jr nz, .wait
jp StopAllSounds
-HandleFlyWarpOrDungeonWarp:: ; 0794 (0:0794)
+HandleFlyWarpOrDungeonWarp::
call UpdateSprites
call Delay3
xor a
@@ -785,10 +785,10 @@ HandleFlyWarpOrDungeonWarp:: ; 0794 (0:0794)
callbs SpecialWarpIn
jp SpecialEnterMap
-LeaveMapAnim:: ; 07bc (0:07bc)
+LeaveMapAnim::
jpba _LeaveMapAnim
-Func_07c4:: ; 07c4 (0:07c4)
+Func_07c4::
ld a, [wWalkBikeSurfState]
and a
ret z
@@ -800,7 +800,7 @@ Func_07c4:: ; 07c4 (0:07c4)
call PlayDefaultMusic
ret
-LoadPlayerSpriteGraphics:: ; 07d7 (0:07d7)
+LoadPlayerSpriteGraphics::
; Load sprite graphics based on whether the player is standing, biking, or surfing.
; 0: standing
@@ -838,7 +838,7 @@ LoadPlayerSpriteGraphics:: ; 07d7 (0:07d7)
jp z, LoadSurfingPlayerSpriteGraphics2
jp LoadWalkingPlayerSpriteGraphics
-IsBikeRidingAllowed:: ; 0805 (0:0805)
+IsBikeRidingAllowed::
; The bike can be used on Route 23 and Indigo Plateau,
; or maps with tilesets in BikeRidingTilesets.
; Return carry if biking is allowed.
@@ -868,7 +868,7 @@ IsBikeRidingAllowed:: ; 0805 (0:0805)
INCLUDE "data/bike_riding_tilesets.asm"
; load the tile pattern data of the current tileset into VRAM
-LoadTilesetTilePatternData:: ; 0828 (0:0828)
+LoadTilesetTilePatternData::
ld a, [wTilesetGFXPtr]
ld l, a
ld a, [wTilesetGFXPtr + 1]
@@ -880,7 +880,7 @@ LoadTilesetTilePatternData:: ; 0828 (0:0828)
; this loads the current maps complete tile map (which references blocks, not individual tiles) to C6E8
; it can also load partial tile maps of connected maps into a border of length 3 around the current map
-LoadTileBlockMap:: ; 083c (0:083c)
+LoadTileBlockMap::
; fill C6E8-CBFB with the background tile
ld hl, wOverworldMap
ld bc, $0514
@@ -1002,7 +1002,7 @@ LoadTileBlockMap:: ; 083c (0:083c)
.done
ret
-LoadNorthSouthConnectionsTileMap:: ; 0919 (0:0919)
+LoadNorthSouthConnectionsTileMap::
ld c, MAP_BORDER
.loop
push de
@@ -1034,7 +1034,7 @@ LoadNorthSouthConnectionsTileMap:: ; 0919 (0:0919)
jr nz, .loop
ret
-LoadEastWestConnectionsTileMap:: ; 093d (0:093d)
+LoadEastWestConnectionsTileMap::
push hl
push de
ld c, MAP_BORDER
@@ -1065,7 +1065,7 @@ LoadEastWestConnectionsTileMap:: ; 093d (0:093d)
; function to check if there is a sign or sprite in front of the player
; if so, carry is set. otherwise, carry is cleared
-IsSpriteOrSignInFrontOfPlayer:: ; 095e (0:095e)
+IsSpriteOrSignInFrontOfPlayer::
xor a
ld [hSpriteIndexOrTextID], a
ld a, [wNumSigns]
@@ -1089,9 +1089,9 @@ IsSpriteOrSignInFrontOfPlayer:: ; 095e (0:095e)
jr nz, .counterTilesLoop
; sets carry flag if a sprite is in front of the player, resets if not
-IsSpriteInFrontOfPlayer:: ; 0983 (0:0983)
+IsSpriteInFrontOfPlayer::
ld d, $10 ; talking range in pixels (normal range)
-IsSpriteInFrontOfPlayer2:: ; 0985 (0:0985)
+IsSpriteInFrontOfPlayer2::
lb bc, $3c, $40 ; Y and X position of player sprite
ld a, [wPlayerFacingDirection] ; direction the player is facing
.checkIfPlayerFacingUp
@@ -1182,7 +1182,7 @@ IsSpriteInFrontOfPlayer2:: ; 0985 (0:0985)
scf
ret
-SignLoop:: ; 09f2 (0:09f2)
+SignLoop::
; search if a player is facing a sign
ld hl, wSignCoords ; start of sign coordinates
ld a, [wNumSigns] ; number of signs in the map
@@ -1223,7 +1223,7 @@ SignLoop:: ; 09f2 (0:09f2)
; function to check if the player will jump down a ledge and check if the tile ahead is passable (when not surfing)
; sets the carry flag if there is a collision, and unsets it if there isn't a collision
-CollisionCheckOnLand:: ; 0a1c (0:0a1c)
+CollisionCheckOnLand::
ld a, [wd736]
bit 6, a ; is the player jumping?
jr nz, .noCollision
@@ -1281,7 +1281,7 @@ CollisionCheckOnLand:: ; 0a1c (0:0a1c)
; function that checks if the tile in front of the player is passable
; clears carry if it is, sets carry if not
-CheckTilePassable:: ; 0a79 (0:0a79)
+CheckTilePassable::
predef GetTileAndCoordsInFrontOfPlayer ; get tile in front of player
ld a, [wTileInFrontOfPlayer] ; tile in front of player
ld c, a
@@ -1292,7 +1292,7 @@ CheckTilePassable:: ; 0a79 (0:0a79)
; and check for collisions that only occur between certain pairs of tiles
; Input: hl - address of directional collision data
; sets carry if there is a collision and unsets carry if not
-CheckForJumpingAndTilePairCollisions:: ; 0a86 (0:0a86)
+CheckForJumpingAndTilePairCollisions::
push hl
predef GetTileAndCoordsInFrontOfPlayer ; get the tile in front of the player
push de
@@ -1308,11 +1308,11 @@ CheckForJumpingAndTilePairCollisions:: ; 0a86 (0:0a86)
ret nz
; if not jumping
-CheckForTilePairCollisions2:: ; 0aa0 (0:0aa0)
+CheckForTilePairCollisions2::
aCoord 8, 9 ; tile the player is on
ld [wTilePlayerStandingOn], a
-CheckForTilePairCollisions:: ; 0aa6 (0:0aa6)
+CheckForTilePairCollisions::
ld a, [wTileInFrontOfPlayer]
ld c, a
.tilePairCollisionLoop
@@ -1366,7 +1366,7 @@ CheckForTilePairCollisions:: ; 0aa6 (0:0aa6)
; these entries indicate that the player may not cross between tile 1 and tile 2
; it's mainly used to simulate differences in elevation
-TilePairCollisionsLand:: ; 0ada (0:0ada)
+TilePairCollisionsLand::
db CAVERN, $20, $05
db CAVERN, $41, $05
db FOREST, $30, $2E
@@ -1380,14 +1380,14 @@ TilePairCollisionsLand:: ; 0ada (0:0ada)
db FOREST, $5F, $2E
db $FF
-TilePairCollisionsWater:: ; 0afc (0:0afc)
+TilePairCollisionsWater::
db FOREST, $14, $2E
db FOREST, $48, $2E
db CAVERN, $14, $05
db $FF
; this builds a tile map from the tile block map based on the current X/Y coordinates of the player's character
-LoadCurrentMapView:: ; 0b06 (0:0b06)
+LoadCurrentMapView::
ld a, [H_LOADEDROMBANK]
push af
ld a, [wTilesetBank] ; tile data ROM bank
@@ -1475,7 +1475,7 @@ LoadCurrentMapView:: ; 0b06 (0:0b06)
call BankswitchCommon ; restore previous ROM bank
ret
-AdvancePlayerSprite:: ; 0b7f (0:0b7f)
+AdvancePlayerSprite::
ld a, [wUpdateSpritesEnabled]
push af
ld a, $FF
@@ -1490,7 +1490,7 @@ AdvancePlayerSprite:: ; 0b7f (0:0b7f)
; the following 6 functions are used to tell the V-blank handler to redraw
; the portion of the map that was newly exposed due to the player's movement
-ScheduleNorthRowRedraw:: ; 0b95 (0:0b95)
+ScheduleNorthRowRedraw::
coord hl, 0, 0
call CopyToRedrawRowOrColumnSrcTiles
ld a, [wMapViewVRAMPointer]
@@ -1501,7 +1501,7 @@ ScheduleNorthRowRedraw:: ; 0b95 (0:0b95)
ld [hRedrawRowOrColumnMode], a
ret
-CopyToRedrawRowOrColumnSrcTiles:: ; 0baa (0:0baa)
+CopyToRedrawRowOrColumnSrcTiles::
ld de, wRedrawRowOrColumnSrcTiles
ld c, 2 * SCREEN_WIDTH
.loop
@@ -1512,7 +1512,7 @@ CopyToRedrawRowOrColumnSrcTiles:: ; 0baa (0:0baa)
jr nz, .loop
ret
-ScheduleSouthRowRedraw:: ; 0bb6 (0:0bb6)
+ScheduleSouthRowRedraw::
coord hl, 0, 16
call CopyToRedrawRowOrColumnSrcTiles
ld a, [wMapViewVRAMPointer]
@@ -1531,7 +1531,7 @@ ScheduleSouthRowRedraw:: ; 0bb6 (0:0bb6)
ld [hRedrawRowOrColumnMode], a
ret
-ScheduleEastColumnRedraw:: ; 0bd6 (0:0bd7)
+ScheduleEastColumnRedraw::
coord hl, 18, 0
call ScheduleColumnRedrawHelper
ld a, [wMapViewVRAMPointer]
@@ -1549,7 +1549,7 @@ ScheduleEastColumnRedraw:: ; 0bd6 (0:0bd7)
ld [hRedrawRowOrColumnMode], a
ret
-ScheduleColumnRedrawHelper:: ; 0bf6 (0:0bf6)
+ScheduleColumnRedrawHelper::
ld de, wRedrawRowOrColumnSrcTiles
ld c, SCREEN_HEIGHT
.loop
@@ -1569,7 +1569,7 @@ ScheduleColumnRedrawHelper:: ; 0bf6 (0:0bf6)
jr nz, .loop
ret
-ScheduleWestColumnRedraw:: ; 0c0c (0:0c0c)
+ScheduleWestColumnRedraw::
coord hl, 0, 0
call ScheduleColumnRedrawHelper
ld a, [wMapViewVRAMPointer]
@@ -1582,7 +1582,7 @@ ScheduleWestColumnRedraw:: ; 0c0c (0:0c0c)
; function to write the tiles that make up a tile block to memory
; Input: c = tile block ID, hl = destination address
-DrawTileBlock:: ; 0c21 (0:0c21)
+DrawTileBlock::
push hl
ld a, [wTileSetBlocksPtr] ; pointer to tiles
ld l, a
@@ -1623,7 +1623,7 @@ DrawTileBlock:: ; 0c21 (0:0c21)
ret
; function to update joypad state and simulate button presses
-JoypadOverworld:: ; 0c51 (0:0c51)
+JoypadOverworld::
xor a
ld [wSpriteStateData1 + 3], a
ld [wSpriteStateData1 + 5], a
@@ -1633,7 +1633,7 @@ JoypadOverworld:: ; 0c51 (0:0c51)
call AreInputsSimulated
ret
-ForceBikeDown:: ; 0c65 (0:0c65)
+ForceBikeDown::
ld a, [wFlags_D733]
bit 3, a ; check if a trainer wants a challenge
ret nz
@@ -1647,7 +1647,7 @@ ForceBikeDown:: ; 0c65 (0:0c65)
ld [hJoyHeld], a ; on the cycling road, if there isn't a trainer and the player isn't pressing buttons, simulate a down press
ret
-AreInputsSimulated:: ; 0c7b (0:0c7b)
+AreInputsSimulated::
ld a, [wd730]
bit 7, a
ret z
@@ -1682,7 +1682,7 @@ AreInputsSimulated:: ; 0c7b (0:0c7b)
res 7, [hl]
ret
-GetSimulatedInput:: ; 0cb3 (0:0cb3)
+GetSimulatedInput::
ld hl, wSimulatedJoypadStatesIndex
dec [hl]
ld a, [hl]
@@ -1712,7 +1712,7 @@ GetSimulatedInput:: ; 0cb3 (0:0cb3)
; so the old value of c is used. 2429 is always called before this function,
; and 2429 always sets c to 0xF0. There is no 0xF0 background tile, so it
; is considered impassable and it is detected as a collision.
-CollisionCheckOnWater:: ; 0cca (0:0cca)
+CollisionCheckOnWater::
ld a, [wd730]
bit 7, a
jp nz, .noCollision ; return and clear carry if button presses are being simulated
@@ -1763,7 +1763,7 @@ CollisionCheckOnWater:: ; 0cca (0:0cca)
ret
; function to run the current map's script
-RunMapScript:: ; 0d2c (0:0d2c)
+RunMapScript::
push hl
push de
push bc
@@ -1789,7 +1789,7 @@ RunMapScript:: ; 0d2c (0:0d2c)
.return
ret
-LoadWalkingPlayerSpriteGraphics:: ; 0d5e (0:0d5e)
+LoadWalkingPlayerSpriteGraphics::
; new sprite copy stuff
xor a
ld [wd473], a
@@ -1797,7 +1797,7 @@ LoadWalkingPlayerSpriteGraphics:: ; 0d5e (0:0d5e)
ld de, RedSprite ; $4180
jr LoadPlayerSpriteGraphicsCommon
-LoadSurfingPlayerSpriteGraphics2:: ; 0d69 (0:0d69)
+LoadSurfingPlayerSpriteGraphics2::
ld a, [wd473]
and a
jr z, .asm_0d75
@@ -1814,15 +1814,15 @@ LoadSurfingPlayerSpriteGraphics2:: ; 0d69 (0:0d69)
ld de, SurfingPikachuSprite ; 3f:6def
jr LoadPlayerSpriteGraphicsCommon
-LoadSurfingPlayerSpriteGraphics:: ; 0d83 (0:0d83)
+LoadSurfingPlayerSpriteGraphics::
ld b, BANK(RedSprite) ; not sure, but probably same bank (5)
ld de, SeelSprite
jr LoadPlayerSpriteGraphicsCommon
-LoadBikePlayerSpriteGraphics:: ; 0d8a (0:0d8a)
+LoadBikePlayerSpriteGraphics::
ld b, BANK(RedCyclingSprite)
ld de, RedCyclingSprite
-LoadPlayerSpriteGraphicsCommon:: ; 0d8f (0:0d8f)
+LoadPlayerSpriteGraphicsCommon::
ld hl, vNPCSprites
push de
push hl
@@ -1843,7 +1843,7 @@ LoadPlayerSpriteGraphicsCommon:: ; 0d8f (0:0d8f)
jp CopyVideoData
; function to load data from the map header
-LoadMapHeader:: ; 0dab (0:0dab)
+LoadMapHeader::
callba MarkTownVisitedAndLoadMissableObjects
jr asm_0dbd
@@ -1975,7 +1975,7 @@ asm_0dbd
; function to copy map connection data from ROM to WRAM
; Input: hl = source, de = destination
-CopyMapConnectionHeader:: ; 0eaa (0:0eaa)
+CopyMapConnectionHeader::
ld c, $0b
.loop
ld a, [hli]
@@ -1985,7 +1985,7 @@ CopyMapConnectionHeader:: ; 0eaa (0:0eaa)
jr nz, .loop
ret
-CopySignData:: ; 0eb3 (0:0eb3)
+CopySignData::
ld de, wSignCoords ; start of sign coords
ld bc, wSignTextIDs ; start of sign text ids
ld a, [wNumSigns] ; number of signs
@@ -2006,7 +2006,7 @@ CopySignData:: ; 0eb3 (0:0eb3)
ret
; function to load map data
-LoadMapData:: ; 1241 (0:1241)
+LoadMapData::
ld a, [H_LOADEDROMBANK]
push af
call DisableLCD
@@ -2035,13 +2035,13 @@ LoadMapData:: ; 1241 (0:1241)
call BankswitchCommon
ret
-LoadScreenRelatedData:: ; 0f0c (0:0f0c)
+LoadScreenRelatedData::
call LoadTileBlockMap
call LoadTilesetTilePatternData
call LoadCurrentMapView
ret
-ReloadMapAfterSurfingMinigame:: ; 0f16 (0:0f16)
+ReloadMapAfterSurfingMinigame::
ld a, [H_LOADEDROMBANK]
push af
call DisableLCD
@@ -2058,7 +2058,7 @@ ReloadMapAfterSurfingMinigame:: ; 0f16 (0:0f16)
call BankswitchCommon
jr asm_0f4d
-ReloadMapAfterPrinter:: ; 0f3d (0:0f3d)
+ReloadMapAfterPrinter::
ld a, [H_LOADEDROMBANK]
push af
ld a, [wCurMap]
@@ -2066,11 +2066,11 @@ ReloadMapAfterPrinter:: ; 0f3d (0:0f3d)
call LoadTileBlockMap
pop af
call BankswitchCommon
-asm_0f4d: ; 0f4d (0:0f4d)
+asm_0f4d:
jpab SetMapSpecificScriptFlagsOnMapReload
ret ; useless?
-ResetMapVariables:: ; 0f56 (0:0f56)
+ResetMapVariables::
ld a, $98
ld [wMapViewVRAMPointer + 1], a
xor a
@@ -2083,10 +2083,10 @@ ResetMapVariables:: ; 0f56 (0:0f56)
ld [wWalkBikeSurfStateCopy], a
ret
-CopyMapViewToVRAM:: ; 0f70 (0:0f70)
+CopyMapViewToVRAM::
; copy current map view to VRAM
ld de, vBGMap0
-CopyMapViewToVRAM2: ; 0f73 (0:0f73)
+CopyMapViewToVRAM2:
ld hl, wTileMap
ld b, 18
.vramCopyLoop
@@ -2109,7 +2109,7 @@ CopyMapViewToVRAM2: ; 0f73 (0:0f73)
; function to switch to the ROM bank that a map is stored in
; Input: a = map number
-SwitchToMapRomBank:: ; 0f8b (0:0f8b)
+SwitchToMapRomBank::
push hl
push bc
ld c, a
@@ -2127,7 +2127,7 @@ SwitchToMapRomBank:: ; 0f8b (0:0f8b)
pop hl
ret
-GetMapHeaderPointer:: ; 0fa7 (0:0fa7)
+GetMapHeaderPointer::
ld a, [H_LOADEDROMBANK]
push af
switchbank MapHeaderPointers ; 3f:41f2
@@ -2145,7 +2145,7 @@ GetMapHeaderPointer:: ; 0fa7 (0:0fa7)
pop af
jp BankswitchCommon
-IgnoreInputForHalfSecond: ; 0fc3 (0:0fc3)
+IgnoreInputForHalfSecond:
ld a, 30
ld [wIgnoreInputCounter], a
ld hl, wd730
@@ -2154,12 +2154,12 @@ IgnoreInputForHalfSecond: ; 0fc3 (0:0fc3)
ld [hl], a ; set ignore input bit
ret
-ResetUsingStrengthOutOfBattleBit: ; 0fd0 (0:0fd0)
+ResetUsingStrengthOutOfBattleBit:
ld hl, wd728
res 0, [hl]
ret
-ForceBikeOrSurf:: ; 0fd6 (0:0fd6)
+ForceBikeOrSurf::
ld b, BANK(RedSprite)
ld hl, LoadPlayerSpriteGraphics
call Bankswitch
@@ -2167,23 +2167,23 @@ ForceBikeOrSurf:: ; 0fd6 (0:0fd6)
; Handle the player jumping down
; a ledge in the overworld.
-HandleMidJump:: ; 0fe1 (0:0fe1)
+HandleMidJump::
ld a, [wd736]
bit 6, a ; jumping down a ledge?
ret z
callba _HandleMidJump
ret
-IsSpinning:: ; 0ff0 (0:0ff0)
+IsSpinning::
ld a, [wd736]
bit 7, a
ret z ; no spinning
jpba LoadSpinnerArrowTiles ; spin while moving
-Func_0ffe:: ; 0ffe (0:0ffe)
+Func_0ffe::
jpab IsPlayerTalkingToPikachu
-InitSprites:: ; 1006 (0:1006)
+InitSprites::
ld a, [hli]
ld [wNumSprites], a ; save the number of sprites
push hl
@@ -2237,7 +2237,7 @@ InitSprites:: ; 1006 (0:1006)
jr nz, .loadSpriteLoop
ret
-ZeroSpriteStateData:: ; 1050 (0:1050)
+ZeroSpriteStateData::
; zero C110-C1EF and C210-C2EF
; C1F0-C1FF and C2F0-C2FF is used for Pikachu
ld hl, wSpriteStateData1 + $10
@@ -2252,7 +2252,7 @@ ZeroSpriteStateData:: ; 1050 (0:1050)
jr nz, .loop
ret
-DisableRegularSprites:: ; 1060 (0:1060)
+DisableRegularSprites::
; initialize all C100-C1FF sprite entries to disabled (other than player's and pikachu)
ld hl, wSpriteStateData1 + 1 * $10 + 2
ld de, $10
@@ -2264,7 +2264,7 @@ DisableRegularSprites:: ; 1060 (0:1060)
jr nz, .loop
ret
-LoadSprite:: ; 106f (0:106f)
+LoadSprite::
push hl
ld b, $0
ld hl, wMapSpriteData
diff --git a/home/pic.asm b/home/pic.asm
index 37abaecd..d0645a8c 100644
--- a/home/pic.asm
+++ b/home/pic.asm
@@ -1,6 +1,6 @@
; bankswitches and runs _UncompressSpriteData
; bank is given in a, sprite input stream is pointed to in wSpriteInputPtr
-UncompressSpriteData:: ; 23f8 (0:23f8)
+UncompressSpriteData::
ld b, a
ld a, [H_LOADEDROMBANK]
push af
@@ -15,7 +15,7 @@ UncompressSpriteData:: ; 23f8 (0:23f8)
ret
; initializes necessary data to load a sprite and runs UncompressSpriteDataLoop
-_UncompressSpriteData:: ; 2410 (0:2410)
+_UncompressSpriteData::
ld hl, sSpriteBuffer1
ld c, (2*SPRITEBUFFERSIZE) % $100
ld b, (2*SPRITEBUFFERSIZE) / $100
@@ -52,7 +52,7 @@ _UncompressSpriteData:: ; 2410 (0:2410)
; uncompresses a chunk from the sprite input data stream (pointed to at wd0da) into sSpriteBuffer1 or sSpriteBuffer2
; each chunk is a 1bpp sprite. A 2bpp sprite consist of two chunks which are merged afterwards
; note that this is an endless loop which is terminated during a call to MoveToNextBufferPosition by manipulating the stack
-UncompressSpriteDataLoop:: ; 244c (0:244c)
+UncompressSpriteDataLoop::
ld hl, sSpriteBuffer1
ld a, [wSpriteLoadFlags]
bit 0, a
@@ -142,7 +142,7 @@ UncompressSpriteDataLoop:: ; 244c (0:244c)
; moves output pointer to next position
; also cancels the calling function if the all output is done (by removing the return pointer from stack)
; and calls postprocessing functions according to the unpack mode
-MoveToNextBufferPosition:: ; 24ce (0:24ce)
+MoveToNextBufferPosition::
ld a, [wSpriteHeight]
ld b, a
ld a, [wSpriteCurPosY]
@@ -203,7 +203,7 @@ MoveToNextBufferPosition:: ; 24ce (0:24ce)
jp UnpackSprite
; writes 2 bits (from a) to the output buffer (pointed to from wSpriteOutputPtr)
-WriteSpriteBitsToBuffer:: ; 253f (0:253f)
+WriteSpriteBitsToBuffer::
ld e, a
ld a, [wSpriteOutputBitOffset]
and a
@@ -231,7 +231,7 @@ WriteSpriteBitsToBuffer:: ; 253f (0:253f)
ret
; reads next bit from input stream and returns it in a
-ReadNextInputBit:: ; 2566 (0:2566)
+ReadNextInputBit::
ld a, [wSpriteInputBitCounter]
dec a
jr nz, .curByteHasMoreBitsToRead
@@ -247,7 +247,7 @@ ReadNextInputBit:: ; 2566 (0:2566)
ret
; reads next byte from input stream and returns it in a
-ReadNextInputByte:: ; 2581 (0:2581)
+ReadNextInputByte::
ld a, [wSpriteInputPtr]
ld l, a
ld a, [wSpriteInputPtr+1]
@@ -262,7 +262,7 @@ ReadNextInputByte:: ; 2581 (0:2581)
ret
; the nth item is 2^n - 1
-LengthEncodingOffsetList:: ; 2595 (0:2595)
+LengthEncodingOffsetList::
dw %0000000000000001
dw %0000000000000011
dw %0000000000000111
@@ -281,7 +281,7 @@ LengthEncodingOffsetList:: ; 2595 (0:2595)
dw %1111111111111111
; unpacks the sprite data depending on the unpack mode
-UnpackSprite:: ; 25b5 (0:25b5)
+UnpackSprite::
ld a, [wSpriteUnpackMode]
cp $2
jp z, UnpackSpriteMode2
@@ -294,7 +294,7 @@ UnpackSprite:: ; 25b5 (0:25b5)
; decodes differential encoded sprite data
; input bit value 0 preserves the current bit value and input bit value 1 toggles it (starting from initial value 0).
-SpriteDifferentialDecode:: ; 25ca (0:25ca)
+SpriteDifferentialDecode::
xor a
ld [wSpriteCurPosX], a
ld [wSpriteCurPosY], a
@@ -379,7 +379,7 @@ SpriteDifferentialDecode:: ; 25ca (0:25ca)
ret
; decodes the nybble stored in a. Last decoded data is assumed to be in e (needed to determine if initial value is 0 or 1)
-DifferentialDecodeNybble:: ; 2663 (0:2663)
+DifferentialDecodeNybble::
srl a ; c=a%2, a/=2
ld c, $0
jr nc, .evenNumber
@@ -421,7 +421,7 @@ DifferentialDecodeNybble:: ; 2663 (0:2663)
ld e, a ; update last decoded data
ret
-DecodeNybble0Table:: ; 269d (0:269d)
+DecodeNybble0Table::
dn $0, $1
dn $3, $2
dn $7, $6
@@ -430,7 +430,7 @@ DecodeNybble0Table:: ; 269d (0:269d)
dn $c, $d
dn $8, $9
dn $b, $a
-DecodeNybble1Table:: ; 26a5 (0:26a5)
+DecodeNybble1Table::
dn $f, $e
dn $c, $d
dn $8, $9
@@ -439,7 +439,7 @@ DecodeNybble1Table:: ; 26a5 (0:26a5)
dn $3, $2
dn $7, $6
dn $4, $5
-DecodeNybble0TableFlipped:: ; 26ad (0:26ad)
+DecodeNybble0TableFlipped::
dn $0, $8
dn $c, $4
dn $e, $6
@@ -448,7 +448,7 @@ DecodeNybble0TableFlipped:: ; 26ad (0:26ad)
dn $3, $b
dn $1, $9
dn $d, $5
-DecodeNybble1TableFlipped:: ; 26b5 (0:26b5)
+DecodeNybble1TableFlipped::
dn $f, $7
dn $3, $b
dn $1, $9
@@ -459,7 +459,7 @@ DecodeNybble1TableFlipped:: ; 26b5 (0:26b5)
dn $2, $a
; combines the two loaded chunks with xor (the chunk loaded second is the destination). The source chunk is differeintial decoded beforehand.
-XorSpriteChunks:: ; 26bd (0:26bd)
+XorSpriteChunks::
xor a
ld [wSpriteCurPosX], a
ld [wSpriteCurPosY], a
@@ -524,7 +524,7 @@ XorSpriteChunks:: ; 26bd (0:26bd)
ret
; reverses the bits in the nybble given in register a
-ReverseNybble:: ; 272d (0:272d)
+ReverseNybble::
ld de, NybbleReverseTable
add e
ld e, a
@@ -535,7 +535,7 @@ ReverseNybble:: ; 272d (0:272d)
ret
; resets sprite buffer pointers to buffer 1 and 2, depending on wSpriteLoadFlags
-ResetSpriteBufferPointers:: ; 2737 (0:2737)
+ResetSpriteBufferPointers::
ld a, [wSpriteLoadFlags] ; wd0a8
bit 0, a
jr nz, .buffer2Selected
@@ -557,11 +557,11 @@ ResetSpriteBufferPointers:: ; 2737 (0:2737)
ret
; maps each nybble to its reverse
-NybbleReverseTable:: ; 275d (0:275d)
+NybbleReverseTable::
db $0, $8, $4, $c, $2, $a, $6 ,$e, $1, $9, $5, $d, $3, $b, $7 ,$f
; combines the two loaded chunks with xor (the chunk loaded second is the destination). Both chunks are differeintial decoded beforehand.
-UnpackSpriteMode2:: ; 276d (0:276d)
+UnpackSpriteMode2::
call ResetSpriteBufferPointers
ld a, [wSpriteFlipped]
push af
@@ -578,7 +578,7 @@ UnpackSpriteMode2:: ; 276d (0:276d)
jp XorSpriteChunks
; stores hl into the output pointers
-StoreSpriteOutputPointer:: ; 278d (0:278d)
+StoreSpriteOutputPointer::
ld a, l
ld [wSpriteOutputPtr], a
ld [wSpriteOutputPtrCached], a
diff --git a/home/pikachu.asm b/home/pikachu.asm
index c2521208..d16e95db 100755
--- a/home/pikachu.asm
+++ b/home/pikachu.asm
@@ -1,4 +1,4 @@
-Func_1510:: ; 1510 (0:1510)
+Func_1510::
push hl
ld hl, wPikachuOverworldStateFlags
set 7, [hl]
@@ -7,21 +7,21 @@ Func_1510:: ; 1510 (0:1510)
pop hl
ret
-Func_151d:: ; 151d (0:151d)
+Func_151d::
push hl
ld hl, wPikachuOverworldStateFlags
res 7, [hl]
pop hl
ret
-EnablePikachuOverworldSpriteDrawing:: ; 1525 (0:1525)
+EnablePikachuOverworldSpriteDrawing::
push hl
ld hl, wPikachuOverworldStateFlags
res 3, [hl]
pop hl
ret
-DisablePikachuOverworldSpriteDrawing:: ; 152d (0:152d)
+DisablePikachuOverworldSpriteDrawing::
push hl
ld hl, wPikachuOverworldStateFlags
set 3, [hl]
@@ -30,28 +30,28 @@ DisablePikachuOverworldSpriteDrawing:: ; 152d (0:152d)
pop hl
ret
-DisablePikachuFollowingPlayer:: ; 153a (0:153a)
+DisablePikachuFollowingPlayer::
push hl
ld hl, wPikachuOverworldStateFlags
set 1, [hl]
pop hl
ret
-EnablePikachuFollowingPlayer:: ; 1542 (0:1542)
+EnablePikachuFollowingPlayer::
push hl
ld hl, wPikachuOverworldStateFlags
res 1, [hl]
pop hl
ret
-CheckPikachuFollowingPlayer:: ; 154a (0:154a)
+CheckPikachuFollowingPlayer::
push hl
ld hl, wPikachuOverworldStateFlags
bit 1, [hl]
pop hl
ret
-SpawnPikachu:: ; 1552 (0:1552)
+SpawnPikachu::
ld a, [hl]
dec a
swap a
@@ -59,7 +59,7 @@ SpawnPikachu:: ; 1552 (0:1552)
homecall SpawnPikachu_ ; 3f:46d5
ret
-Pikachu_IsInArray:: ; 1568 (0:1568)
+Pikachu_IsInArray::
ld b, $0
ld c, a
.loop
@@ -80,7 +80,7 @@ Pikachu_IsInArray:: ; 1568 (0:1568)
and a
ret
-GetPikachuMovementScriptByte:: ; 157c (0:157c)
+GetPikachuMovementScriptByte::
push hl
push bc
ld a, [H_LOADEDROMBANK]
@@ -104,7 +104,7 @@ GetPikachuMovementScriptByte:: ; 157c (0:157c)
pop hl
ret
-ApplyPikachuMovementData:: ; 159b (0:159b)
+ApplyPikachuMovementData::
ld a, [H_LOADEDROMBANK]
ld b, a
push af
diff --git a/home/play_time.asm b/home/play_time.asm
index 8044d15c..47b2a690 100644
--- a/home/play_time.asm
+++ b/home/play_time.asm
@@ -1,4 +1,4 @@
-TrackPlayTime: ; 1ef5 (0:1ef5)
+TrackPlayTime:
call CountDownIgnoreInputBitReset
ld hl, wd47a
bit 0, [hl]
@@ -46,7 +46,7 @@ TrackPlayTime: ; 1ef5 (0:1ef5)
ld [wPlayTimeMaxed], a
ret
-CountDownIgnoreInputBitReset: ; 1f54 (0:1f54)
+CountDownIgnoreInputBitReset:
ld a, [wIgnoreInputCounter]
and a
jr nz, .asm_1f5e
diff --git a/home/predef.asm b/home/predef.asm
index 5d879ddc..c55760d7 100644
--- a/home/predef.asm
+++ b/home/predef.asm
@@ -1,4 +1,4 @@
-Predef:: ; 3eb4 (0:3eb4)
+Predef::
; Call predefined function a.
; To preserve other registers, have the
; destination call GetPredefRegisters.
@@ -30,7 +30,7 @@ Predef:: ; 3eb4 (0:3eb4)
call BankswitchCommon
ret
-GetPredefRegisters:: ; 3ed7 (0:3ed7)
+GetPredefRegisters::
; Restore the contents of register pairs
; when GetPredefPointer was called.
ld a, [wPredefRegisters + 0]
diff --git a/home/serial.asm b/home/serial.asm
index c8c7cbe9..508148df 100644
--- a/home/serial.asm
+++ b/home/serial.asm
@@ -1,4 +1,4 @@
-Serial:: ; 1f78 (0:1f78)
+Serial::
push af
push bc
push de
@@ -55,7 +55,7 @@ Serial:: ; 1f78 (0:1f78)
; hl = send data
; de = receive data
; bc = length of data
-Serial_ExchangeBytes:: ; 216f (0:216f)
+Serial_ExchangeBytes::
ld a, 1
ld [hSerialIgnoringInitialData], a
.loop
@@ -89,7 +89,7 @@ Serial_ExchangeBytes:: ; 216f (0:216f)
jr nz, .loop
ret
-Serial_ExchangeByte:: ; 1ff6 (0:1ff6)
+Serial_ExchangeByte::
xor a
ld [hSerialReceivedNewData], a
ld a, [hSerialConnectionStatus]
@@ -177,14 +177,14 @@ Serial_ExchangeByte:: ; 1ff6 (0:1ff6)
call DelayFrame
jp Serial_ExchangeByte
-WaitLoop_15Iterations:: ; 208d (0:208d)
+WaitLoop_15Iterations::
ld a, 15
.waitLoop
dec a
jr nz, .waitLoop
ret
-IsUnknownCounterZero:: ; 2093 (0:2093)
+IsUnknownCounterZero::
push hl
ld hl, wUnknownSerialCounter
ld a, [hli]
@@ -193,7 +193,7 @@ IsUnknownCounterZero:: ; 2093 (0:2093)
ret
; a is always 0 when this is called
-SetUnknownCounterToFFFF:: ; 209b (0:209b)
+SetUnknownCounterToFFFF::
dec a
ld [wUnknownSerialCounter], a
ld [wUnknownSerialCounter + 1], a
@@ -201,7 +201,7 @@ SetUnknownCounterToFFFF:: ; 209b (0:209b)
; This is used to exchange the button press and selected menu item on the link menu.
; The data is sent thrice and read twice to increase reliability.
-Serial_ExchangeLinkMenuSelection:: ; 2247 (0:2247)
+Serial_ExchangeLinkMenuSelection::
ld hl, wLinkMenuSelectionSendBuffer
ld de, wLinkMenuSelectionReceiveBuffer
ld c, 2 ; number of bytes to save
@@ -226,13 +226,13 @@ Serial_ExchangeLinkMenuSelection:: ; 2247 (0:2247)
jr nz, .loop
ret
-Serial_PrintWaitingTextAndSyncAndExchangeNybble:: ; 20ca (0:20ca)
+Serial_PrintWaitingTextAndSyncAndExchangeNybble::
call SaveScreenTilesToBuffer1
callab PrintWaitingText ; 1:4b89
call Serial_SyncAndExchangeNybble
jp LoadScreenTilesFromBuffer1
-Serial_SyncAndExchangeNybble:: ; 20db (0:20db)
+Serial_SyncAndExchangeNybble::
ld a, $ff
ld [wSerialExchangeNybbleReceiveData], a
.loop1
@@ -272,7 +272,7 @@ Serial_SyncAndExchangeNybble:: ; 20db (0:20db)
ld [wSerialSyncAndExchangeNybbleReceiveData], a
ret
-Serial_ExchangeNybble:: ; 211f (0:211f)
+Serial_ExchangeNybble::
call .doExchange
ld a, [wSerialExchangeNybbleSendData]
add $60
@@ -295,7 +295,7 @@ Serial_ExchangeNybble:: ; 211f (0:211f)
ld [wSerialExchangeNybbleReceiveData], a
ret
-Serial_SendZeroByte:: ; 2149 (0:2149)
+Serial_SendZeroByte::
xor a
ld [hSerialSendData], a
ld a, [hSerialConnectionStatus]
@@ -305,7 +305,7 @@ Serial_SendZeroByte:: ; 2149 (0:2149)
ld [rSC], a
ret
-Serial_TryEstablishingExternallyClockedConnection:: ; 22fa (0:22fa)
+Serial_TryEstablishingExternallyClockedConnection::
ld a, ESTABLISH_CONNECTION_WITH_EXTERNAL_CLOCK
ld [rSB], a
xor a
@@ -314,10 +314,10 @@ Serial_TryEstablishingExternallyClockedConnection:: ; 22fa (0:22fa)
ld [rSC], a
ret
-PrinterSerial__:: ; 2162 (0:2162)
+PrinterSerial__::
call PrinterSerial
pop hl
pop de
pop bc
pop af
- reti \ No newline at end of file
+ reti
diff --git a/home/text.asm b/home/text.asm
index 15fe3177..43c1631a 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -1,4 +1,4 @@
-TextBoxBorder:: ; 16f0 (0:16f0)
+TextBoxBorder::
; Draw a cxb text box at hl.
; top row
@@ -37,7 +37,7 @@ TextBoxBorder:: ; 16f0 (0:16f0)
ld [hl], "┘"
ret
-NPlaceChar:: ; 171d (0:171d)
+NPlaceChar::
; Place char a c times.
ld d, c
.loop
@@ -46,9 +46,9 @@ NPlaceChar:: ; 171d (0:171d)
jr nz, .loop
ret
-PlaceString:: ; 1723 (0:1723)
+PlaceString::
push hl
-PlaceNextChar:: ; 1724 (0:1724)
+PlaceNextChar::
ld a, [de]
cp "@"
@@ -58,7 +58,7 @@ PlaceNextChar:: ; 1724 (0:1724)
pop hl
ret
-Char4ETest:: ; 172d (0:172d)
+Char4ETest::
cp $4E ; next
jr nz, .next
ld bc, 2 * SCREEN_WIDTH
@@ -113,11 +113,11 @@ endm
ld [hli], a
call PrintLetterDelay
-PlaceNextChar_inc:: ; 17b6 (0:17b6)
+PlaceNextChar_inc::
inc de
jp PlaceNextChar
-Char00:: ; 17ba (0:17ba)
+Char00::
ld b, h
ld c, l
pop hl
@@ -174,7 +174,7 @@ Char4A:: ; 17f7 (0:17f7) ; PKMN
ld de, Char4AText
jr FinishDTE
-Char59:: ; 17fb (0:17fb)
+Char59::
; depending on whose turn it is, print
; enemy active monster’s name, prefixed with “Enemy ”
; or
@@ -184,13 +184,13 @@ Char59:: ; 17fb (0:17fb)
xor 1
jr MonsterNameCharsCommon
-Char5A:: ; 1803 (0:1803)
+Char5A::
; depending on whose turn it is, print
; player active monster’s name
; or
; enemy active monster’s name, prefixed with “Enemy ”
ld a, [H_WHOSETURN]
-MonsterNameCharsCommon:: ; 1a37 (0:1a37)
+MonsterNameCharsCommon::
push de
and a
jr nz, .Enemy
@@ -205,7 +205,7 @@ MonsterNameCharsCommon:: ; 1a37 (0:1a37)
ld l, c
ld de, wEnemyMonNick ; enemy active monster name
-FinishDTE:: ; 1819 (0:1819)
+FinishDTE::
call PlaceString
ld h, b
ld l, c
@@ -213,24 +213,24 @@ FinishDTE:: ; 1819 (0:1819)
inc de
jp PlaceNextChar
-Char5CText:: ; 1823 (0:1823)
+Char5CText::
db "TM@"
-Char5DText:: ; 1826 (0:1826)
+Char5DText::
db "TRAINER@"
-Char5BText:: ; 182e (0:182e)
+Char5BText::
db "PC@"
-Char5EText:: ; 1831 (0:1830)
+Char5EText::
db "ROCKET@"
-Char54Text:: ; 1838 (0:1838)
+Char54Text::
db "POKé@"
-Char56Text:: ; 183d (0:183d)
+Char56Text::
db "……@"
-Char5AText:: ; 1840 (0:1840)
+Char5AText::
db "Enemy @"
-Char4AText:: ; 1847 (0:1847)
+Char4AText::
db $E1, $E2, "@" ; PKMN
-Char55:: ; 184a (0:184a)
+Char55::
push de
ld b, h
ld c, l
@@ -242,12 +242,12 @@ Char55:: ; 184a (0:184a)
inc de
jp PlaceNextChar
-Char55Text:: ; 185a (0:185a)
+Char55Text::
; equivalent to Char4B
TX_FAR _Char55Text ; a0c73 (28:4c73)
db "@"
-Char5F:: ; 185f (0:185f)
+Char5F::
; ends a Pokédex entry
ld [hl], "."
pop hl
@@ -270,7 +270,7 @@ Char57:: ; 1aad (0:1aad) done
dec de
ret
-Char58Text:: ; 1881 (0:1881)
+Char58Text::
db "@"
Char51:: ; 1882 (0:1882) para
@@ -288,7 +288,7 @@ Char51:: ; 1882 (0:1882) para
coord hl, 1, 14
jp PlaceNextChar_inc
-Char49:: ; 18a3 (0:18a3)
+Char49::
ld a, [hFlags_0xFFFA]
bit 3, a
jr z, .Char49
@@ -312,7 +312,7 @@ Char49:: ; 18a3 (0:18a3)
push hl
jp PlaceNextChar_inc
-Char4B:: ; 18d1 (0:18d1)
+Char4B::
ld a, $EE
Coorda 18, 16
call ProtectedDelay3
@@ -322,7 +322,7 @@ Char4B:: ; 18d1 (0:18d1)
ld a, " "
Coorda 18, 16
;fall through
-Char4C:: ; 18e3 (0:18e3)
+Char4C::
push de
call ScrollTextUpOneLine ; 18f1
call ScrollTextUpOneLine
@@ -330,7 +330,7 @@ Char4C:: ; 18e3 (0:18e3)
pop de
jp PlaceNextChar_inc
-ScrollTextUpOneLine:: ; 18f1 (0:18f1)
+ScrollTextUpOneLine::
coord hl, 0, 14
coord de, 0, 13
ld b, 60
@@ -357,13 +357,13 @@ ScrollTextUpOneLine:: ; 18f1 (0:18f1)
ret
-ProtectedDelay3:: ; 1913 (0:1913)
+ProtectedDelay3::
push bc
call Delay3
pop bc
ret
-TextCommandProcessor:: ; 1919 (0:1919)
+TextCommandProcessor::
ld a, [wLetterPrintingDelayFlags]
push af
set 1, a
@@ -376,7 +376,7 @@ TextCommandProcessor:: ; 1919 (0:1919)
ld a, b
ld [wTextDestinationTileAddrBuffer + 1], a
-NextTextCommand:: ; 192e (0:192e)
+NextTextCommand::
ld a, [hli]
cp a, "@" ; terminator
jr nz, .doTextCommand
@@ -407,7 +407,7 @@ NextTextCommand:: ; 192e (0:192e)
; AAAA = address of upper left corner
; BB = height
; CC = width
-TextCommand04:: ; 1951 (0:1951)
+TextCommand04::
pop hl
ld a, [hli]
ld e, a
@@ -426,7 +426,7 @@ TextCommand04:: ; 1951 (0:1951)
; place string inline
; 00{string}
-TextCommand00:: ; 1963 (0:1963)
+TextCommand00::
pop hl
ld d, h
ld e, l
@@ -441,7 +441,7 @@ TextCommand00:: ; 1963 (0:1963)
; place string from RAM
; 01AAAA
; AAAA = address of string
-TextCommand01:: ; 1970 (0:1970)
+TextCommand01::
pop hl
ld a, [hli]
ld e, a
@@ -460,7 +460,7 @@ TextCommand01:: ; 1970 (0:1970)
; BB
; bits 0-4 = length in bytes
; bits 5-7 = unknown flags
-TextCommand02:: ; 197e (0:197e)
+TextCommand02::
pop hl
ld a, [hli]
ld e, a
@@ -480,7 +480,7 @@ TextCommand02:: ; 197e (0:197e)
; repoint destination address
; 03AAAA
; AAAA = new destination address
-TextCommand03:: ; 1990 (0:1990)
+TextCommand03::
pop hl
ld a, [hli]
ld [wTextDestinationTileAddrBuffer], a
@@ -493,7 +493,7 @@ TextCommand03:: ; 1990 (0:1990)
; repoint destination to second line of dialogue text box
; 05
; (no arguments)
-TextCommand05:: ; 199e (0:199e)
+TextCommand05::
pop hl
coord bc, 1, 16 ; address of second line of dialogue text box
jp NextTextCommand
@@ -501,7 +501,7 @@ TextCommand05:: ; 199e (0:199e)
; blink arrow and wait for A or B to be pressed
; 06
; (no arguments)
-TextCommand06:: ; 19a5 (0:19a5)
+TextCommand06::
ld a, [wLinkState]
cp a, LINK_STATE_BATTLING
jp z, TextCommand0D
@@ -518,7 +518,7 @@ TextCommand06:: ; 19a5 (0:19a5)
; scroll text up one line
; 07
; (no arguments)
-TextCommand07:: ; 19c0 (0:19c0)
+TextCommand07::
ld a, " "
Coorda 18, 16 ; place blank space in lower right corner of dialogue text box
call ScrollTextUpOneLine ; scroll up text
@@ -529,7 +529,7 @@ TextCommand07:: ; 19c0 (0:19c0)
; execute asm inline
; 08{code}
-TextCommand08:: ; 19d2 (0:19d2)
+TextCommand08::
pop hl
ld de, NextTextCommand
push de ; return address
@@ -541,7 +541,7 @@ TextCommand08:: ; 19d2 (0:19d2)
; BB
; bits 0-3 = how many digits to display
; bits 4-7 = how long the number is in bytes
-TextCommand09:: ; 19d8 (0:19d8)
+TextCommand09::
pop hl
ld a, [hli]
ld e, a
@@ -568,7 +568,7 @@ TextCommand09:: ; 19d8 (0:19d8)
; wait half a second if the user doesn't hold A or B
; 0A
; (no arguments)
-TextCommand0A:: ; 19f6 (0:19f6)
+TextCommand0A::
push bc
call Joypad
ld a, [hJoyHeld]
@@ -584,7 +584,7 @@ TextCommand0A:: ; 19f6 (0:19f6)
; plays sounds
; this actually handles various command ID's, not just 0B
; (no arguments)
-TextCommand0B:: ; 1a0a (0:1a0a)
+TextCommand0B::
pop hl
push bc
dec hl
@@ -621,7 +621,7 @@ TextCommand0B:: ; 1a0a (0:1a0a)
jp NextTextCommand
; format: text command ID, sound ID or cry ID
-TextCommandSounds:: ; 1a3d (0:1a3d)
+TextCommandSounds::
db $0B, SFX_GET_ITEM_1
db $12, SFX_TURN_OFF_PC
db $0E, SFX_POKEDEX_RATING
@@ -636,7 +636,7 @@ TextCommandSounds:: ; 1a3d (0:1a3d)
; draw ellipses
; 0CAA
; AA = number of ellipses to draw
-TextCommand0C:: ; 1a51 (0:1a51)
+TextCommand0C::
pop hl
ld a, [hli]
ld d, a
@@ -665,7 +665,7 @@ TextCommand0C:: ; 1a51 (0:1a51)
; wait for A or B to be pressed
; 0D
; (no arguments)
-TextCommand0D:: ; 1a73 (0:1a73)
+TextCommand0D::
push bc
call ManualTextScroll ; wait for A or B to be pressed
pop bc
@@ -676,7 +676,7 @@ TextCommand0D:: ; 1a73 (0:1a73)
; 17AAAABB
; AAAA = address of text commands
; BB = bank
-TextCommand17:: ; 1a7c (0:1a7c)
+TextCommand17::
pop hl
ld a, [H_LOADEDROMBANK]
push af
@@ -697,7 +697,7 @@ TextCommand17:: ; 1a7c (0:1a7c)
ld [MBC1RomBank], a
jp NextTextCommand
-TextCommandJumpTable:: ; 1a9a (0:1a9a)
+TextCommandJumpTable::
dw TextCommand00
dw TextCommand01
dw TextCommand02
diff --git a/home/timer.asm b/home/timer.asm
index 8578df1a..05e307bd 100644
--- a/home/timer.asm
+++ b/home/timer.asm
@@ -1,3 +1,3 @@
; timer interrupt is apparently not invoked anyway
-Timer:: ; 2306 (0:2306)
+Timer::
reti
diff --git a/home/vblank.asm b/home/vblank.asm
index 24159a4c..9cc8d42f 100644
--- a/home/vblank.asm
+++ b/home/vblank.asm
@@ -1,4 +1,4 @@
-VBlank:: ; 1de5 (0:1de5)
+VBlank::
push af
push bc
@@ -78,7 +78,7 @@ VBlank:: ; 1de5 (0:1de5)
reti
-DelayFrame:: ; 1e64 (0:1e64)
+DelayFrame::
; Wait for the next vblank interrupt.
; As a bonus, this saves battery.
diff --git a/home/vcopy.asm b/home/vcopy.asm
index 464faf51..2974dfec 100644
--- a/home/vcopy.asm
+++ b/home/vcopy.asm
@@ -1,7 +1,7 @@
; this function seems to be used only once
; it store the address of a row and column of the VRAM background map in hl
; INPUT: h - row, l - column, b - high byte of background tile map address in VRAM
-GetRowColAddressBgMap:: ; 1cdd (0:1cdd)
+GetRowColAddressBgMap::
xor a
srl h
rr a
@@ -18,7 +18,7 @@ GetRowColAddressBgMap:: ; 1cdd (0:1cdd)
; clears a VRAM background map with blank space tiles
; INPUT: h - high byte of background tile map address in VRAM
-ClearBgMap:: ; 1cf0 (0:1cf0)
+ClearBgMap::
ld a," "
jr .next
ld a,l
@@ -39,7 +39,7 @@ ClearBgMap:: ; 1cf0 (0:1cf0)
; row or column is more efficient than redrawing the entire screen.
; However, this function is also called repeatedly to redraw the whole screen
; when necessary. It is also used in trade animation and elevator code.
-RedrawRowOrColumn:: ; 1ada (0:1ada)
+RedrawRowOrColumn::
ld a,[hRedrawRowOrColumnMode]
and a
ret z
@@ -119,7 +119,7 @@ RedrawRowOrColumn:: ; 1ada (0:1ada)
; on when talking to sprites, battling, using menus, etc. This is because
; the above function, RedrawRowOrColumn, is used when walking to
; improve efficiency.
-AutoBgMapTransfer:: ; 1b30 (0:1b30)
+AutoBgMapTransfer::
ld a,[H_AUTOBGTRANSFERENABLED]
and a
ret z
@@ -163,7 +163,7 @@ AutoBgMapTransfer:: ; 1b30 (0:1b30)
ld [H_AUTOBGTRANSFERPORTION],a ; store next portion
ld b,6
-TransferBgRows:: ; 1d9e (0:1d9e)
+TransferBgRows::
; unrolled loop and using pop for speed
rept 20 / 2 - 1
@@ -197,7 +197,7 @@ TransferBgRows:: ; 1d9e (0:1d9e)
; Copies [H_VBCOPYBGNUMROWS] rows from H_VBCOPYBGSRC to H_VBCOPYBGDEST.
; If H_VBCOPYBGSRC is XX00, the transfer is disabled.
-VBlankCopyBgMap:: ; 1bb5 (0:1bb5)
+VBlankCopyBgMap::
ld a,[H_VBCOPYBGSRC] ; doubles as enabling byte
and a
ret z
@@ -218,7 +218,7 @@ VBlankCopyBgMap:: ; 1bb5 (0:1bb5)
jr TransferBgRows
-VBlankCopyDouble:: ; 1bd1 (0:1bd1)
+VBlankCopyDouble::
; Copy [H_VBCOPYDOUBLESIZE] 1bpp tiles
; from H_VBCOPYDOUBLESRC to H_VBCOPYDOUBLEDEST.
@@ -286,7 +286,7 @@ VBlankCopyDouble:: ; 1bd1 (0:1bd1)
ret
-VBlankCopy:: ; 1c21 (0:1c21)
+VBlankCopy::
; Copy [H_VBCOPYSIZE] 2bpp tiles (or 16 * [H_VBCOPYSIZE] tile map entries)
; from H_VBCOPYSRC to H_VBCOPYDEST.
@@ -345,7 +345,7 @@ VBlankCopy:: ; 1c21 (0:1c21)
ret
-UpdateMovingBgTiles:: ; 1c75 (0:1c75)
+UpdateMovingBgTiles::
; Animate water and flower
; tiles in the overworld.
diff --git a/main.asm b/main.asm
index 158e8e02..96469270 100755
--- a/main.asm
+++ b/main.asm
@@ -693,7 +693,7 @@ FossilKabutopsPic: INCBIN "pic/ymon/fossilkabutops.pic"
INCLUDE "engine/battle/display_effectiveness.asm"
INCLUDE "engine/items/tmhm.asm"
-Func_2fd6a: ; 2fd6a (b:7d6a)
+Func_2fd6a:
callab IsThisPartymonStarterPikachu_Party
ret nc
ld a, $3
diff --git a/scripts/silphco11_2.asm b/scripts/silphco11_2.asm
index 419efe24..bf575de5 100755
--- a/scripts/silphco11_2.asm
+++ b/scripts/silphco11_2.asm
@@ -73,4 +73,4 @@ MissableObjects_f25ce
db HS_SILPH_CO_11F_JAMES
db HS_SILPH_CO_11F_2
db HS_SILPH_CO_11F_JESSIE
- db $ff \ No newline at end of file
+ db $ff
diff --git a/text/credits_text.asm b/text/credits_text.asm
index 54b52c97..0010b93a 100755
--- a/text/credits_text.asm
+++ b/text/credits_text.asm
@@ -1,4 +1,4 @@
-CreditsTextPointers: ; 742c3 (1d:42c3)
+CreditsTextPointers:
dw CreditsText_Version
dw CreditsText_Tajiri
dw CreditsText_Oota
diff --git a/text/item_names.asm b/text/item_names.asm
index 6a401597..e436d74d 100755
--- a/text/item_names.asm
+++ b/text/item_names.asm
@@ -1,4 +1,4 @@
-ItemNames: ; 45b7 (1:45b7)
+ItemNames:
db "MASTER BALL@"
db "ULTRA BALL@"
db "GREAT BALL@"
diff --git a/text/map_names.asm b/text/map_names.asm
index 0338cba3..c2642942 100755
--- a/text/map_names.asm
+++ b/text/map_names.asm
@@ -1,107 +1,107 @@
-MapNames: ; 71473 (1c:5473)
-PalletTownName: ; 71473 (1c:5473)
+MapNames:
+PalletTownName:
db "PALLET TOWN@"
-ViridianCityName: ; 7147f (1c:547f)
+ViridianCityName:
db "VIRIDIAN CITY@"
-PewterCityName: ; 7148d (1c:548d)
+PewterCityName:
db "PEWTER CITY@"
-CeruleanCityName: ; 71499 (1c:5499)
+CeruleanCityName:
db "CERULEAN CITY@"
-LavenderTownName: ; 714a7 (1c:54a7)
+LavenderTownName:
db "LAVENDER TOWN@"
-VermilionCityName: ; 714b5 (1c:54b5)
+VermilionCityName:
db "VERMILION CITY@"
-CeladonCityName: ; 714c4 (1c:54c4)
+CeladonCityName:
db "CELADON CITY@"
-FuchsiaCityName: ; 714d1 (1c:54d1)
+FuchsiaCityName:
db "FUCHSIA CITY@"
-CinnabarIslandName: ; 714de (1c:54de)
+CinnabarIslandName:
db "CINNABAR ISLAND@"
-IndigoPlateauName: ; 714ee (1c:54ee)
+IndigoPlateauName:
db "INDIGO PLATEAU@"
-SaffronCityName: ; 714fd (1c:54fd)
+SaffronCityName:
db "SAFFRON CITY@"
-Route1Name: ; 7150a (1c:550a)
+Route1Name:
db "ROUTE 1@"
-Route2Name: ; 71512 (1c:5512)
+Route2Name:
db "ROUTE 2@"
-Route3Name: ; 7151a (1c:551a)
+Route3Name:
db "ROUTE 3@"
-Route4Name: ; 71522 (1c:5522)
+Route4Name:
db "ROUTE 4@"
-Route5Name: ; 7152a (1c:552a)
+Route5Name:
db "ROUTE 5@"
-Route6Name: ; 71532 (1c:5532)
+Route6Name:
db "ROUTE 6@"
-Route7Name: ; 7153a (1c:553a)
+Route7Name:
db "ROUTE 7@"
-Route8Name: ; 71542 (1c:5542)
+Route8Name:
db "ROUTE 8@"
-Route9Name: ; 7154a (1c:554a)
+Route9Name:
db "ROUTE 9@"
-Route10Name: ; 71552 (1c:5552)
+Route10Name:
db "ROUTE 10@"
-Route11Name: ; 7155b (1c:555b)
+Route11Name:
db "ROUTE 11@"
-Route12Name: ; 71564 (1c:5564)
+Route12Name:
db "ROUTE 12@"
-Route13Name: ; 7156d (1c:556d)
+Route13Name:
db "ROUTE 13@"
-Route14Name: ; 71576 (1c:5576)
+Route14Name:
db "ROUTE 14@"
-Route15Name: ; 7157f (1c:557f)
+Route15Name:
db "ROUTE 15@"
-Route16Name: ; 71588 (1c:5588)
+Route16Name:
db "ROUTE 16@"
-Route17Name: ; 71591 (1c:5591)
+Route17Name:
db "ROUTE 17@"
-Route18Name: ; 7159a (1c:559a)
+Route18Name:
db "ROUTE 18@"
-Route19Name: ; 715a3 (1c:55a3)
+Route19Name:
db "SEA ROUTE 19@"
-Route20Name: ; 715b0 (1c:55b0)
+Route20Name:
db "SEA ROUTE 20@"
-Route21Name: ; 715bd (1c:55bd)
+Route21Name:
db "SEA ROUTE 21@"
-Route22Name: ; 715ca (1c:55ca)
+Route22Name:
db "ROUTE 22@"
-Route23Name: ; 715d3 (1c:55d3)
+Route23Name:
db "ROUTE 23@"
-Route24Name: ; 715dc (1c:55dc)
+Route24Name:
db "ROUTE 24@"
-Route25Name: ; 715e5 (1c:55e5)
+Route25Name:
db "ROUTE 25@"
-ViridianForestName: ; 715ee (1c:55ee)
+ViridianForestName:
db "VIRIDIAN FOREST@"
-MountMoonName: ; 715fe (1c:55fe)
+MountMoonName:
db "MT.MOON@"
-RockTunnelName: ; 71606 (1c:5606)
+RockTunnelName:
db "ROCK TUNNEL@"
-SeaCottageName: ; 71612 (1c:5612)
+SeaCottageName:
db "SEA COTTAGE@"
-SSAnneName: ; 7161e (1c:561e)
+SSAnneName:
db "S.S.ANNE@"
-PokemonLeagueName: ; 71627 (1c:5627)
+PokemonLeagueName:
db "#MON LEAGUE@"
-UndergroundPathName: ; 71633 (1c:5633)
+UndergroundPathName:
db "UNDERGROUND PATH@"
-PokemonTowerName: ; 71644 (1c:5644)
+PokemonTowerName:
db "#MON TOWER@"
-SeafoamIslandsName: ; 7164f (1c:564f)
+SeafoamIslandsName:
db "SEAFOAM ISLANDS@"
-VictoryRoadName: ; 7165f (1c:565f)
+VictoryRoadName:
db "VICTORY ROAD@"
-DiglettsCaveName: ; 7166c (1c:566c)
+DiglettsCaveName:
db "DIGLETT's CAVE@"
-RocketHQName: ; 7167a (1c:567a)
+RocketHQName:
db "ROCKET HQ@"
-SilphCoName: ; 71684 (1c:5684)
+SilphCoName:
db "SILPH CO.@"
-PokemonMansionName: ; 7168e (1c:568e)
+PokemonMansionName:
db "<pkmn> MANSION@"
-SafariZoneName: ; 71698 (1c:5698)
+SafariZoneName:
db "SAFARI ZONE@"
-CeruleanCaveName: ; 716a4 (1c:56a4)
+CeruleanCaveName:
db "CERULEAN CAVE@"
-PowerPlantName: ; 716b2 (1c:56b2)
+PowerPlantName:
db "POWER PLANT@"
diff --git a/text/maps/daycare.asm b/text/maps/daycare.asm
index dbca93d6..8375ead0 100644
--- a/text/maps/daycare.asm
+++ b/text/maps/daycare.asm
@@ -89,4 +89,4 @@ _DayCareHeresYourMonText::
_DayCareNotEnoughMoneyText::
text "Hey, you don't"
line "have enough ¥!"
- done \ No newline at end of file
+ done
diff --git a/text/maps/fuchsia_gym.asm b/text/maps/fuchsia_gym.asm
index f2bb8c9c..6beebc69 100644
--- a/text/maps/fuchsia_gym.asm
+++ b/text/maps/fuchsia_gym.asm
@@ -211,4 +211,4 @@ _FuchsiaGymText_75653::
text "It's amazing how"
line "ninja can terrify"
cont "even now!"
- done \ No newline at end of file
+ done
diff --git a/text/maps/lorelei.asm b/text/maps/lorelei.asm
index db032c78..666aa47f 100644
--- a/text/maps/lorelei.asm
+++ b/text/maps/lorelei.asm
@@ -38,4 +38,4 @@ _LoreleiAfterBattleText::
_LoreleiDontRunAwayText::
text "Someone's voice:"
line "Don't run away!"
- done \ No newline at end of file
+ done
diff --git a/text/maps/school.asm b/text/maps/school.asm
index 2bd526f9..3c5f6379 100644
--- a/text/maps/school.asm
+++ b/text/maps/school.asm
@@ -17,4 +17,4 @@ _SchoolText2::
para "Be sure to read"
line "the blackboard"
cont "carefully!"
- done \ No newline at end of file
+ done
diff --git a/text/maps/underground_path_route_7_entrance_unused.asm b/text/maps/underground_path_route_7_entrance_unused.asm
index 1a66e8b1..02c95a5c 100644
--- a/text/maps/underground_path_route_7_entrance_unused.asm
+++ b/text/maps/underground_path_route_7_entrance_unused.asm
@@ -29,4 +29,4 @@ _UGPathRoute7EntranceUnusedText_5d782::
line "to CERULEAN, go"
cont "to the building"
cont "across the road."
- done \ No newline at end of file
+ done
diff --git a/text/monster_names.asm b/text/monster_names.asm
index 3262ec02..a62b1bd9 100755
--- a/text/monster_names.asm
+++ b/text/monster_names.asm
@@ -1,4 +1,4 @@
-MonsterNames: ; e8000 (3a:4000)
+MonsterNames:
db "RHYDON@@@@"
db "KANGASKHAN"
db "NIDORAN♂@@"
diff --git a/text/move_names.asm b/text/move_names.asm
index a9265f51..cbb1a322 100644
--- a/text/move_names.asm
+++ b/text/move_names.asm
@@ -1,4 +1,4 @@
-MoveNames:: ; b0000 (2c:4000)
+MoveNames::
db "POUND@"
db "KARATE CHOP@"
db "DOUBLESLAP@"
diff --git a/text/trainer_names.asm b/text/trainer_names.asm
index 087d79ef..7736738b 100755
--- a/text/trainer_names.asm
+++ b/text/trainer_names.asm
@@ -1,4 +1,4 @@
-TrainerNames: ; 3997e (e:597e)
+TrainerNames:
db "YOUNGSTER@"
db "BUG CATCHER@"
db "LASS@"
diff --git a/text/type_names.asm b/text/type_names.asm
index 5658b683..d94675b8 100755
--- a/text/type_names.asm
+++ b/text/type_names.asm
@@ -1,4 +1,4 @@
-TypeNames: ; 27d63 (9:7d63)
+TypeNames:
dw .Normal
dw .Fighting
diff --git a/text/unused_names.asm b/text/unused_names.asm
index 27752b63..dd4c9a12 100644
--- a/text/unused_names.asm
+++ b/text/unused_names.asm
@@ -1,4 +1,4 @@
-UnusedNames: ; 491e (1:491e)
+UnusedNames:
db "かみなりバッヂ@"
db "かいがらバッヂ@"
db "おじぞうバッヂ@"
@@ -17,4 +17,4 @@ UnusedNames: ; 491e (1:491e)
db "キャプテン@"
db "プチマスター@"
db "マスター@"
- db "エクセレント" ; note the lack of a terminator \ No newline at end of file
+ db "エクセレント" ; note the lack of a terminator