pokeyellow/engine/overworld/saffron_guards.asm
luckytyphlosion 5b53dbe15d Bank7 misc functions
Also delete gfx/intro_nido pngs (aren't used in the build)
2016-05-23 15:52:20 -04:00

17 lines
273 B
NASM
Executable File

RemoveGuardDrink: ; 5a53a (16:653a)
ld hl, GuardDrinksList
.drinkLoop
ld a, [hli]
ld [$ffdb], a
and a
ret z
push hl
ld b, a
call IsItemInBag
pop hl
jr z, .drinkLoop
jpba RemoveItemByID
GuardDrinksList: ; 5a552 (16:6552)
db FRESH_WATER, SODA_POP, LEMONADE, $00