summaryrefslogtreecommitdiff
path: root/engine/events/saffron_guards.asm
blob: 59c2725c835ced8afb40ee676a0da2404ef5fc73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
RemoveGuardDrink::
	ld hl, GuardDrinksList
.drinkLoop
	ld a, [hli]
	ld [hItemToRemoveID], a
	and a
	ret z
	push hl
	ld b, a
	call IsItemInBag
	pop hl
	jr z, .drinkLoop
	jpba RemoveItemByID

INCLUDE "data/items/guard_drink_items.asm"