From d3cc861d334c8b773c1b6c662ed9924c43cef009 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 4 Apr 2018 22:26:07 +0200 Subject: [PATCH] Fix snake_case filenames Renamed a bunch of files, most of them one-off functions, to better fit the general snake_case naming scheme. Also renamed some awfully long filenames. --- ...battlescene.asm => check_battle_scene.asm} | 0 ...sumehelditem.asm => consume_held_item.asm} | 0 ...ebattlehuds.asm => update_battle_huds.asm} | 0 ...pokeballwobble.asm => pokeball_wobble.asm} | 0 .../{loadfishinggfx.asm => fishing_gfx.asm} | 0 engine/events/haircut.asm | 82 ++++++++++++++++++ .../{playslowcry.asm => play_slow_cry.asm} | 0 engine/events/{specials_2.asm => shuckle.asm} | 83 ------------------- ...rworldfont.asm => load_overworld_font.asm} | 0 .../{loadpushoam.asm => load_push_oam.asm} | 0 .../{placegraphic.asm => place_graphic.asm} | 0 ...emonfrontpic.asm => trademon_frontpic.asm} | 0 .../pack_kris.asm} | 0 ...ription.asm => print_item_description.asm} | 0 ...iption.asm => update_item_description.asm} | 0 engine/link/{initlist.asm => init_list.asm} | 0 ...waitingtext.asm => place_waiting_text.asm} | 0 ...{getsquareroot.asm => get_square_root.asm} | 0 engine/math/{printnum.asm => print_num.asm} | 0 .../{emptyallsrambanks.asm => empty_sram.asm} | 0 .../{loadmappart.asm => load_map_part.asm} | 0 ...pokedexentry.asm => new_pokedex_entry.asm} | 0 engine/pokemon/{billspc.asm => bills_pc.asm} | 0 .../{billspctop.asm => bills_pc_top.asm} | 0 ...elgrowth.asm => breedmon_level_growth.asm} | 0 ...cknickerrors.asm => check_nick_errors.asm} | 0 ...ayerparty.asm => correct_party_errors.asm} | 2 +- .../pokemon/{knowsmove.asm => knows_move.asm} | 0 ...appinessmod.asm => level_up_happiness.asm} | 0 ...rinthoursmins.asm => print_hours_mins.asm} | 0 .../{timeofdaypals.asm => timeofday_pals.asm} | 0 main.asm | 61 +++++++------- 32 files changed, 114 insertions(+), 114 deletions(-) rename engine/battle/{checkbattlescene.asm => check_battle_scene.asm} (100%) rename engine/battle/{consumehelditem.asm => consume_held_item.asm} (100%) rename engine/battle/{updatebattlehuds.asm => update_battle_huds.asm} (100%) rename engine/battle_anims/{getpokeballwobble.asm => pokeball_wobble.asm} (100%) rename engine/events/{loadfishinggfx.asm => fishing_gfx.asm} (100%) create mode 100644 engine/events/haircut.asm rename engine/events/{playslowcry.asm => play_slow_cry.asm} (100%) rename engine/events/{specials_2.asm => shuckle.asm} (58%) rename engine/gfx/{loadoverworldfont.asm => load_overworld_font.asm} (100%) rename engine/gfx/{loadpushoam.asm => load_push_oam.asm} (100%) rename engine/gfx/{placegraphic.asm => place_graphic.asm} (100%) rename engine/gfx/{trademonfrontpic.asm => trademon_frontpic.asm} (100%) rename engine/{gfx/drawkrispackgfx.asm => items/pack_kris.asm} (100%) rename engine/items/{printitemdescription.asm => print_item_description.asm} (100%) rename engine/items/{updateitemdescription.asm => update_item_description.asm} (100%) rename engine/link/{initlist.asm => init_list.asm} (100%) rename engine/link/{placewaitingtext.asm => place_waiting_text.asm} (100%) rename engine/math/{getsquareroot.asm => get_square_root.asm} (100%) rename engine/math/{printnum.asm => print_num.asm} (100%) rename engine/menus/{emptyallsrambanks.asm => empty_sram.asm} (100%) rename engine/overworld/{loadmappart.asm => load_map_part.asm} (100%) rename engine/pokedex/{newpokedexentry.asm => new_pokedex_entry.asm} (100%) rename engine/pokemon/{billspc.asm => bills_pc.asm} (100%) rename engine/pokemon/{billspctop.asm => bills_pc_top.asm} (100%) rename engine/pokemon/{getbreedmonlevelgrowth.asm => breedmon_level_growth.asm} (100%) rename engine/pokemon/{checknickerrors.asm => check_nick_errors.asm} (100%) rename engine/pokemon/{correcterrorsinplayerparty.asm => correct_party_errors.asm} (98%) rename engine/pokemon/{knowsmove.asm => knows_move.asm} (100%) rename engine/pokemon/{leveluphappinessmod.asm => level_up_happiness.asm} (100%) rename engine/rtc/{printhoursmins.asm => print_hours_mins.asm} (100%) rename engine/tilesets/{timeofdaypals.asm => timeofday_pals.asm} (100%) diff --git a/engine/battle/checkbattlescene.asm b/engine/battle/check_battle_scene.asm similarity index 100% rename from engine/battle/checkbattlescene.asm rename to engine/battle/check_battle_scene.asm diff --git a/engine/battle/consumehelditem.asm b/engine/battle/consume_held_item.asm similarity index 100% rename from engine/battle/consumehelditem.asm rename to engine/battle/consume_held_item.asm diff --git a/engine/battle/updatebattlehuds.asm b/engine/battle/update_battle_huds.asm similarity index 100% rename from engine/battle/updatebattlehuds.asm rename to engine/battle/update_battle_huds.asm diff --git a/engine/battle_anims/getpokeballwobble.asm b/engine/battle_anims/pokeball_wobble.asm similarity index 100% rename from engine/battle_anims/getpokeballwobble.asm rename to engine/battle_anims/pokeball_wobble.asm diff --git a/engine/events/loadfishinggfx.asm b/engine/events/fishing_gfx.asm similarity index 100% rename from engine/events/loadfishinggfx.asm rename to engine/events/fishing_gfx.asm diff --git a/engine/events/haircut.asm b/engine/events/haircut.asm new file mode 100644 index 000000000..0e4400235 --- /dev/null +++ b/engine/events/haircut.asm @@ -0,0 +1,82 @@ +BillsGrandfather: ; 73f7 + farcall SelectMonFromParty + jr c, .cancel + ld a, [wCurPartySpecies] + ld [wScriptVar], a + ld [wNamedObjectIndexBuffer], a + call GetPokemonName + jp CopyPokemonName_Buffer1_Buffer3 + +.cancel + xor a + ld [wScriptVar], a + ret + +YoungerHaircutBrother: ; 7413 + ld hl, HappinessData_YoungerHaircutBrother + jr HaircutOrGrooming + +OlderHaircutBrother: ; 7418 + ld hl, HappinessData_OlderHaircutBrother + jr HaircutOrGrooming + +DaisysGrooming: ; 741d + ld hl, HappinessData_DaisysGrooming + ; fallthrough + +HaircutOrGrooming: ; 7420 + push hl + farcall SelectMonFromParty + pop hl + jr c, .nope + ld a, [wCurPartySpecies] + cp EGG + jr z, .egg + push hl + call GetCurNick + call CopyPokemonName_Buffer1_Buffer3 + pop hl + call Random +; Bug: Subtracting $ff from $ff fails to set c. +; This can result in overflow into the next data array. +; In the case of getting a grooming from Daisy, we bleed +; into CopyPokemonName_Buffer1_Buffer3, which passes +; $d0 to ChangeHappiness and returns $73 to the script. +; The end result is that there is a 0.4% chance your +; Pokemon's happiness will not change at all. +.loop + sub [hl] + jr c, .ok + inc hl + inc hl + inc hl + jr .loop + +.ok + inc hl + ld a, [hli] + ld [wScriptVar], a + ld c, [hl] + call ChangeHappiness + ret + +.nope + xor a + ld [wScriptVar], a + ret + +.egg + ld a, 1 + ld [wScriptVar], a + ret + +INCLUDE "data/events/happiness_probabilities.asm" + +CopyPokemonName_Buffer1_Buffer3: ; 746e + ld hl, wStringBuffer1 + ld de, wStringBuffer3 + ld bc, MON_NAME_LENGTH + jp CopyBytes + +DummyPredef1: ; 747a + ret diff --git a/engine/events/playslowcry.asm b/engine/events/play_slow_cry.asm similarity index 100% rename from engine/events/playslowcry.asm rename to engine/events/play_slow_cry.asm diff --git a/engine/events/specials_2.asm b/engine/events/shuckle.asm similarity index 58% rename from engine/events/specials_2.asm rename to engine/events/shuckle.asm index 9a83b982b..99fcd7924 100644 --- a/engine/events/specials_2.asm +++ b/engine/events/shuckle.asm @@ -140,86 +140,3 @@ ReturnShuckle: ; 737e ld a, SHUCKIE_FAINTED ld [wScriptVar], a ret - -BillsGrandfather: ; 73f7 - farcall SelectMonFromParty - jr c, .cancel - ld a, [wCurPartySpecies] - ld [wScriptVar], a - ld [wNamedObjectIndexBuffer], a - call GetPokemonName - jp CopyPokemonName_Buffer1_Buffer3 - -.cancel - xor a - ld [wScriptVar], a - ret - -YoungerHaircutBrother: ; 7413 - ld hl, HappinessData_YoungerHaircutBrother - jr HaircutOrGrooming - -OlderHaircutBrother: ; 7418 - ld hl, HappinessData_OlderHaircutBrother - jr HaircutOrGrooming - -DaisysGrooming: ; 741d - ld hl, HappinessData_DaisysGrooming - ; fallthrough - -HaircutOrGrooming: ; 7420 - push hl - farcall SelectMonFromParty - pop hl - jr c, .nope - ld a, [wCurPartySpecies] - cp EGG - jr z, .egg - push hl - call GetCurNick - call CopyPokemonName_Buffer1_Buffer3 - pop hl - call Random -; Bug: Subtracting $ff from $ff fails to set c. -; This can result in overflow into the next data array. -; In the case of getting a grooming from Daisy, we bleed -; into CopyPokemonName_Buffer1_Buffer3, which passes -; $d0 to ChangeHappiness and returns $73 to the script. -; The end result is that there is a 0.4% chance your -; Pokemon's happiness will not change at all. -.loop - sub [hl] - jr c, .ok - inc hl - inc hl - inc hl - jr .loop - -.ok - inc hl - ld a, [hli] - ld [wScriptVar], a - ld c, [hl] - call ChangeHappiness - ret - -.nope - xor a - ld [wScriptVar], a - ret - -.egg - ld a, 1 - ld [wScriptVar], a - ret - -INCLUDE "data/events/happiness_probabilities.asm" - -CopyPokemonName_Buffer1_Buffer3: ; 746e - ld hl, wStringBuffer1 - ld de, wStringBuffer3 - ld bc, MON_NAME_LENGTH - jp CopyBytes - -DummyPredef1: ; 747a - ret diff --git a/engine/gfx/loadoverworldfont.asm b/engine/gfx/load_overworld_font.asm similarity index 100% rename from engine/gfx/loadoverworldfont.asm rename to engine/gfx/load_overworld_font.asm diff --git a/engine/gfx/loadpushoam.asm b/engine/gfx/load_push_oam.asm similarity index 100% rename from engine/gfx/loadpushoam.asm rename to engine/gfx/load_push_oam.asm diff --git a/engine/gfx/placegraphic.asm b/engine/gfx/place_graphic.asm similarity index 100% rename from engine/gfx/placegraphic.asm rename to engine/gfx/place_graphic.asm diff --git a/engine/gfx/trademonfrontpic.asm b/engine/gfx/trademon_frontpic.asm similarity index 100% rename from engine/gfx/trademonfrontpic.asm rename to engine/gfx/trademon_frontpic.asm diff --git a/engine/gfx/drawkrispackgfx.asm b/engine/items/pack_kris.asm similarity index 100% rename from engine/gfx/drawkrispackgfx.asm rename to engine/items/pack_kris.asm diff --git a/engine/items/printitemdescription.asm b/engine/items/print_item_description.asm similarity index 100% rename from engine/items/printitemdescription.asm rename to engine/items/print_item_description.asm diff --git a/engine/items/updateitemdescription.asm b/engine/items/update_item_description.asm similarity index 100% rename from engine/items/updateitemdescription.asm rename to engine/items/update_item_description.asm diff --git a/engine/link/initlist.asm b/engine/link/init_list.asm similarity index 100% rename from engine/link/initlist.asm rename to engine/link/init_list.asm diff --git a/engine/link/placewaitingtext.asm b/engine/link/place_waiting_text.asm similarity index 100% rename from engine/link/placewaitingtext.asm rename to engine/link/place_waiting_text.asm diff --git a/engine/math/getsquareroot.asm b/engine/math/get_square_root.asm similarity index 100% rename from engine/math/getsquareroot.asm rename to engine/math/get_square_root.asm diff --git a/engine/math/printnum.asm b/engine/math/print_num.asm similarity index 100% rename from engine/math/printnum.asm rename to engine/math/print_num.asm diff --git a/engine/menus/emptyallsrambanks.asm b/engine/menus/empty_sram.asm similarity index 100% rename from engine/menus/emptyallsrambanks.asm rename to engine/menus/empty_sram.asm diff --git a/engine/overworld/loadmappart.asm b/engine/overworld/load_map_part.asm similarity index 100% rename from engine/overworld/loadmappart.asm rename to engine/overworld/load_map_part.asm diff --git a/engine/pokedex/newpokedexentry.asm b/engine/pokedex/new_pokedex_entry.asm similarity index 100% rename from engine/pokedex/newpokedexentry.asm rename to engine/pokedex/new_pokedex_entry.asm diff --git a/engine/pokemon/billspc.asm b/engine/pokemon/bills_pc.asm similarity index 100% rename from engine/pokemon/billspc.asm rename to engine/pokemon/bills_pc.asm diff --git a/engine/pokemon/billspctop.asm b/engine/pokemon/bills_pc_top.asm similarity index 100% rename from engine/pokemon/billspctop.asm rename to engine/pokemon/bills_pc_top.asm diff --git a/engine/pokemon/getbreedmonlevelgrowth.asm b/engine/pokemon/breedmon_level_growth.asm similarity index 100% rename from engine/pokemon/getbreedmonlevelgrowth.asm rename to engine/pokemon/breedmon_level_growth.asm diff --git a/engine/pokemon/checknickerrors.asm b/engine/pokemon/check_nick_errors.asm similarity index 100% rename from engine/pokemon/checknickerrors.asm rename to engine/pokemon/check_nick_errors.asm diff --git a/engine/pokemon/correcterrorsinplayerparty.asm b/engine/pokemon/correct_party_errors.asm similarity index 98% rename from engine/pokemon/correcterrorsinplayerparty.asm rename to engine/pokemon/correct_party_errors.asm index e815aa4c8..cf60115ee 100644 --- a/engine/pokemon/correcterrorsinplayerparty.asm +++ b/engine/pokemon/correct_party_errors.asm @@ -1,4 +1,4 @@ -Unreferenced_CorrectErrorsInPlayerParty: +Unreferenced_CorrectPartyErrors: ld hl, wPartyCount ld a, [hl] and a diff --git a/engine/pokemon/knowsmove.asm b/engine/pokemon/knows_move.asm similarity index 100% rename from engine/pokemon/knowsmove.asm rename to engine/pokemon/knows_move.asm diff --git a/engine/pokemon/leveluphappinessmod.asm b/engine/pokemon/level_up_happiness.asm similarity index 100% rename from engine/pokemon/leveluphappinessmod.asm rename to engine/pokemon/level_up_happiness.asm diff --git a/engine/rtc/printhoursmins.asm b/engine/rtc/print_hours_mins.asm similarity index 100% rename from engine/rtc/printhoursmins.asm rename to engine/rtc/print_hours_mins.asm diff --git a/engine/tilesets/timeofdaypals.asm b/engine/tilesets/timeofday_pals.asm similarity index 100% rename from engine/tilesets/timeofdaypals.asm rename to engine/tilesets/timeofday_pals.asm diff --git a/main.asm b/main.asm index 82e00596b..fac1b8f3f 100644 --- a/main.asm +++ b/main.asm @@ -3,18 +3,19 @@ INCLUDE "constants.asm" SECTION "bank1", ROMX -INCLUDE "engine/link/placewaitingtext.asm" -INCLUDE "engine/gfx/loadpushoam.asm" +INCLUDE "engine/link/place_waiting_text.asm" +INCLUDE "engine/gfx/load_push_oam.asm" INCLUDE "engine/overworld/map_objects.asm" INCLUDE "engine/menus/intro_menu.asm" INCLUDE "engine/overworld/init_map.asm" INCLUDE "engine/pokemon/learn.asm" -INCLUDE "engine/pokemon/checknickerrors.asm" +INCLUDE "engine/pokemon/check_nick_errors.asm" INCLUDE "engine/math/math.asm" INCLUDE "data/items/attributes.asm" INCLUDE "engine/overworld/npc_movement.asm" INCLUDE "engine/events/happiness_egg.asm" -INCLUDE "engine/events/specials_2.asm" +INCLUDE "engine/events/shuckle.asm" +INCLUDE "engine/events/haircut.asm" SECTION "bank2", ROMX @@ -29,19 +30,19 @@ SECTION "bank3", ROMX INCLUDE "engine/events/checktime.asm" INCLUDE "engine/events/specials.asm" -INCLUDE "engine/math/printnum.asm" +INCLUDE "engine/math/print_num.asm" INCLUDE "engine/pokemon/health.asm" INCLUDE "engine/events/overworld.asm" INCLUDE "engine/items/items.asm" INCLUDE "engine/overworld/player_step.asm" INCLUDE "engine/battle/anim_hp_bar.asm" INCLUDE "engine/pokemon/move_mon.asm" -INCLUDE "engine/pokemon/billspctop.asm" -INCLUDE "engine/pokemon/getbreedmonlevelgrowth.asm" +INCLUDE "engine/pokemon/bills_pc_top.asm" +INCLUDE "engine/pokemon/breedmon_level_growth.asm" INCLUDE "engine/events/bug_contest/caught_mon.asm" INCLUDE "engine/items/item_effects.asm" -INCLUDE "engine/battle_anims/getpokeballwobble.asm" -INCLUDE "engine/pokemon/knowsmove.asm" +INCLUDE "engine/battle_anims/pokeball_wobble.asm" +INCLUDE "engine/pokemon/knows_move.asm" SECTION "bank4", ROMX @@ -64,8 +65,8 @@ INCLUDE "engine/events/std_collision.asm" INCLUDE "engine/events/bug_contest/judging.asm" INCLUDE "engine/events/pokerus/apply_pokerus_tick.asm" INCLUDE "engine/events/bug_contest/contest_2.asm" -INCLUDE "engine/pokemon/correcterrorsinplayerparty.asm" -INCLUDE "engine/math/getsquareroot.asm" +INCLUDE "engine/pokemon/correct_party_errors.asm" +INCLUDE "engine/math/get_square_root.asm" SECTION "bank5", ROMX @@ -102,7 +103,7 @@ SECTION "bank9", ROMX INCLUDE "data/text_buffers.asm" INCLUDE "engine/menus/menu.asm" -INCLUDE "engine/items/updateitemdescription.asm" +INCLUDE "engine/items/update_item_description.asm" INCLUDE "engine/events/pokepic.asm" INCLUDE "engine/overworld/map_objects_2.asm" INCLUDE "engine/menus/scrolling_menu.asm" @@ -114,11 +115,11 @@ INCLUDE "engine/items/buy_sell_toss.asm" INCLUDE "engine/menus/trainer_card.asm" INCLUDE "engine/events/prof_oaks_pc.asm" INCLUDE "engine/overworld/decorations.asm" -INCLUDE "engine/pokemon/leveluphappinessmod.asm" +INCLUDE "engine/pokemon/level_up_happiness.asm" INCLUDE "engine/battle/read_trainer_dvs.asm" INCLUDE "data/trainers/dvs.asm" INCLUDE "engine/battle/returntobattle_useball.asm" -INCLUDE "engine/battle/consumehelditem.asm" +INCLUDE "engine/battle/consume_held_item.asm" INCLUDE "data/moves/effects_pointers.asm" INCLUDE "data/moves/effects.asm" INCLUDE "engine/events/kurt_selectquantity_interpretjoypad.asm" @@ -148,7 +149,7 @@ INCLUDE "engine/items/tmhm.asm" INCLUDE "data/moves/descriptions.asm" INCLUDE "engine/events/pokerus/pokerus.asm" INCLUDE "engine/battle/start_battle.asm" -INCLUDE "engine/gfx/placegraphic.asm" +INCLUDE "engine/gfx/place_graphic.asm" SECTION "Effect Commands", ROMX @@ -192,7 +193,7 @@ INCLUDE "engine/pokemon/mail.asm" SECTION "Crystal Features 1", ROMX INCLUDE "engine/menus/init_gender.asm" -INCLUDE "engine/gfx/drawkrispackgfx.asm" +INCLUDE "engine/items/pack_kris.asm" INCLUDE "engine/events/move_tutor.asm" INCLUDE "engine/gfx/crystal_layouts.asm" INCLUDE "engine/events/celebi.asm" @@ -208,11 +209,11 @@ SECTION "bank13", ROMX INCLUDE "engine/tilesets/map_palettes.asm" INCLUDE "gfx/tileset_palette_maps.asm" INCLUDE "data/collision_permissions.asm" -INCLUDE "engine/menus/emptyallsrambanks.asm" +INCLUDE "engine/menus/empty_sram.asm" INCLUDE "engine/menus/savemenu_copytilemapatonce.asm" INCLUDE "engine/events/checksave.asm" INCLUDE "data/maps/scenes.asm" -INCLUDE "engine/overworld/loadmappart.asm" +INCLUDE "engine/overworld/load_map_part.asm" INCLUDE "engine/phone/phonering_copytilemapatonce.asm" Shrink1Pic: ; 4d249 @@ -226,7 +227,7 @@ INCLUDE "engine/rtc/reset_password.asm" INCLUDE "engine/menus/delete_save.asm" INCLUDE "data/tilesets.asm" INCLUDE "engine/smallflag.asm" -INCLUDE "engine/gfx/trademonfrontpic.asm" +INCLUDE "engine/gfx/trademon_frontpic.asm" INCLUDE "engine/events/pokerus/check_pokerus.asm" INCLUDE "engine/events/lucky_number.asm" INCLUDE "engine/pokemon/caught_data.asm" @@ -238,7 +239,7 @@ INCLUDE "engine/movie/init_hof_credits.asm" INCLUDE "engine/events/battle_tower/get_trainer_class.asm" INCLUDE "engine/battle/sliding_intro.asm" INCLUDE "mobile/print_opp_message.asm" -INCLUDE "engine/battle/checkbattlescene.asm" +INCLUDE "engine/battle/check_battle_scene.asm" INCLUDE "engine/movie/gbc_only.asm" INCLUDE "engine/events/poke_seer.asm" @@ -256,7 +257,7 @@ INCLUDE "engine/pokemon/tempmon.asm" INCLUDE "engine/pokemon/types.asm" INCLUDE "engine/battle/unreferenced_getgen1trainerclassname.asm" INCLUDE "engine/pokemon/mon_stats.asm" -INCLUDE "engine/link/initlist.asm" +INCLUDE "engine/link/init_list.asm" INCLUDE "engine/pokemon/experience.asm" INCLUDE "engine/pokemon/switchpartymons.asm" INCLUDE "engine/gfx/load_pics.asm" @@ -305,7 +306,7 @@ INCLUDE "mobile/mobile_22_2.asm" SECTION "bank23", ROMX -INCLUDE "engine/tilesets/timeofdaypals.asm" +INCLUDE "engine/tilesets/timeofday_pals.asm" INCLUDE "engine/battle/battle_transition.asm" INCLUDE "engine/events/field_moves.asm" INCLUDE "engine/events/magnet_train.asm" @@ -356,7 +357,7 @@ SECTION "bank2E", ROMX INCLUDE "engine/events/map_name_sign.asm" INCLUDE "engine/events/checkforhiddenitems.asm" INCLUDE "engine/events/treemons.asm" -INCLUDE "engine/events/loadfishinggfx.asm" +INCLUDE "engine/events/fishing_gfx.asm" INCLUDE "engine/pokegear/radio.asm" INCLUDE "engine/pokemon/mail_2.asm" @@ -434,7 +435,7 @@ INCLUDE "engine/events/print_unown_2.asm" INCLUDE "engine/games/card_flip.asm" INCLUDE "engine/games/unown_puzzle.asm" INCLUDE "engine/games/dummy_game.asm" -INCLUDE "engine/pokemon/billspc.asm" +INCLUDE "engine/pokemon/bills_pc.asm" SECTION "bank39", ROMX @@ -451,8 +452,8 @@ SECTION "bank3E", ROMX INCLUDE "engine/gfx/load_font.asm" INCLUDE "engine/link/time_capsule.asm" INCLUDE "engine/events/name_rater.asm" -INCLUDE "engine/events/playslowcry.asm" -INCLUDE "engine/pokedex/newpokedexentry.asm" +INCLUDE "engine/events/play_slow_cry.asm" +INCLUDE "engine/pokedex/new_pokedex_entry.asm" INCLUDE "engine/link/time_capsule_2.asm" INCLUDE "engine/pokedex/unown_dex.asm" INCLUDE "engine/events/magikarp.asm" @@ -478,7 +479,7 @@ INCLUDE "engine/overworld/warp_connection.asm" INCLUDE "engine/link/mystery_gift.asm" INCLUDE "engine/battle/used_move_text.asm" INCLUDE "mobile/mobile_41.asm" -INCLUDE "engine/gfx/loadoverworldfont.asm" +INCLUDE "engine/gfx/load_overworld_font.asm" SECTION "Mobile 42", ROMX @@ -527,7 +528,7 @@ INCLUDE "data/phone/text/extra2.asm" SECTION "UpdateBattleHUDs", ROMX -INCLUDE "engine/battle/updatebattlehuds.asm" +INCLUDE "engine/battle/update_battle_huds.asm" SECTION "Mobile 5E", ROMX @@ -567,7 +568,7 @@ INCLUDE "data/phone/text/trainers.asm" SECTION "Miscellaneous Text", ROMX INCLUDE "data/items/names.asm" -INCLUDE "engine/items/printitemdescription.asm" +INCLUDE "engine/items/print_item_description.asm" INCLUDE "data/items/descriptions.asm" INCLUDE "data/moves/names.asm" INCLUDE "engine/overworld/landmarks.asm" @@ -583,7 +584,7 @@ INCLUDE "engine/printer/print_party.asm" SECTION "bank77_2", ROMX -INCLUDE "engine/rtc/printhoursmins.asm" +INCLUDE "engine/rtc/print_hours_mins.asm" INCLUDE "engine/events/diploma.asm" INCLUDE "engine/pokedex/pokedex_3.asm" INCLUDE "engine/events/catch_tutorial_input.asm"