shithub: pokered

ref: 412d3c7a920659615af70097f942e7ffe6d95a21
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"