summaryrefslogtreecommitdiff
path: root/home/text_script.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:50:30 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:50:30 -0500
commitd3e81422d50f937b91df19e058c25ac7288f6063 (patch)
tree6de026ed81054668b3885d780fd047fc69fca0ef /home/text_script.asm
parentabaf9fee7c73e708ef8c3e7a1ed710bfc9ec6f6e (diff)
Sync home and macro code with pokeyellow
Diffstat (limited to 'home/text_script.asm')
-rw-r--r--home/text_script.asm20
1 files changed, 2 insertions, 18 deletions
diff --git a/home/text_script.asm b/home/text_script.asm
index b9c3c8e4..a6881dc5 100644
--- a/home/text_script.asm
+++ b/home/text_script.asm
@@ -146,15 +146,7 @@ DisplayPokemartDialogue::
call LoadItemList
ld a, PRICEDITEMLISTMENU
ld [wListMenuID], a
- ldh a, [hLoadedROMBank]
- push af
- ld a, BANK(DisplayPokemartDialogue_)
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
- call DisplayPokemartDialogue_
- pop af
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ homecall DisplayPokemartDialogue_
jp AfterDisplayingTextID
PokemartGreetingText::
@@ -185,15 +177,7 @@ DisplayPokemonCenterDialogue::
ldh [hItemPrice + 2], a
inc hl
- ldh a, [hLoadedROMBank]
- push af
- ld a, BANK(DisplayPokemonCenterDialogue_)
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
- call DisplayPokemonCenterDialogue_
- pop af
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ homecall DisplayPokemonCenterDialogue_
jp AfterDisplayingTextID
DisplaySafariGameOverText::