shithub: pokered

ref: a75dd222709c92ae136d835ff2451391d5a88e45
dir: /engine/events/saffron_guards.asm/

View raw version
RemoveGuardDrink::
	ld hl, GuardDrinksList
.drinkLoop
	ld a, [hli]
	ldh [hItemToRemoveID], a
	and a
	ret z
	push hl
	ld b, a
	call IsItemInBag
	pop hl
	jr z, .drinkLoop
	farjp RemoveItemByID

INCLUDE "data/items/guard_drink_items.asm"