shithub: pokered

ref: 6b19b301f481e404a34ec3d90f35b23fba74b716
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"