diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-03 22:35:36 -0500 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-03 22:35:36 -0500 |
commit | 91ea4a2f9b3d169a8e06aed62f19466c643eff83 (patch) | |
tree | 86ec987d1627e018373d754785abfa5c8bf961f3 /engine/scripting.asm | |
parent | c5527a02ae1423479af567acf7dc38708f50f9b3 (diff) |
Battle Tower trainer text
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r-- | engine/scripting.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm index 9458efb3e..246314f79 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -236,7 +236,7 @@ ENDC dw Script_halloffame dw Script_credits dw Script_warpfacing - dw Script_storetext + dw Script_battletowertext dw Script_displaylocation dw Script_trainerclassname dw Script_name @@ -537,7 +537,7 @@ Script_interpretmenu: ; 0x96f41 ret ; 0x96f52 -Script_storetext: ; 0x96f52 +Script_battletowertext: ; 0x96f52 ; script command 0xa4 ; parameters: ; pointer (PointerLabelBeforeBank) @@ -546,7 +546,7 @@ Script_storetext: ; 0x96f52 call SetUpTextBox call GetScriptByte ld c, a - callba StoreText + callba BattleTowerText ret ; 0x96f60 @@ -2370,8 +2370,8 @@ Script_takeitem: ; 0x977f0 ld [CurItem], a call GetScriptByte ld [wItemQuantityChangeBuffer], a - ld a, $ff - ld [wd107], a + ld a, -1 + ld [ItemCountBuffer], a ld hl, NumItems call TossItem ret nc |