aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/saffron_guards.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-20 17:40:25 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-20 17:40:25 -0500
commit13e28b0ece7c7888cba792cc6f7219b384213427 (patch)
tree4dcd58e0fe7ac33bf38817f423754dc758cb902f /engine/overworld/saffron_guards.asm
parentMerge branch 'master' of https://github.com/YamaArashi/pokered (diff)
parentconstants for flag actions (diff)
downloadpokeyellow-13e28b0ece7c7888cba792cc6f7219b384213427.tar.gz
pokeyellow-13e28b0ece7c7888cba792cc6f7219b384213427.tar.xz
pokeyellow-13e28b0ece7c7888cba792cc6f7219b384213427.zip
Merge pull request #106 from YamaArashi/master
jpab/jpba macros
Diffstat (limited to 'engine/overworld/saffron_guards.asm')
-rwxr-xr-xengine/overworld/saffron_guards.asm4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/overworld/saffron_guards.asm b/engine/overworld/saffron_guards.asm
index 8e584a2d..c0d6a985 100755
--- a/engine/overworld/saffron_guards.asm
+++ b/engine/overworld/saffron_guards.asm
@@ -10,9 +10,7 @@ RemoveGuardDrink: ; 5a59f (16:659f)
call IsItemInBag
pop hl
jr z, .drinkLoop
- ld b, BANK(RemoveItemByID)
- ld hl, RemoveItemByID
- jp Bankswitch
+ jpba RemoveItemByID
GuardDrinksList: ; 5a5b7 (16:65b7)
db FRESH_WATER, SODA_POP, LEMONADE, $00