shithub: pokered

ref: eeb45036e2083f22d5d20ea3b06b26d56f560f53
dir: /engine/overworld/saffron_guards.asm/

View raw version
RemoveGuardDrink::
	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

INCLUDE "data/guard_drink_items.asm"