From 26f9776f6fa0d74b1e89688e9c618e65b917e7f8 Mon Sep 17 00:00:00 2001 From: Diegoisawesome Date: Mon, 23 Oct 2017 22:18:35 -0500 Subject: Fix some stuff --- asm/macros/event.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'asm/macros') diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 12aacf88d..117629a89 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -1489,3 +1489,9 @@ compare_var_to_value 0x8000, \condition goto_eq \dest .endm + + .macro giveitem item, amount=1, function=0 + setorcopyvar 0x8000, \item + setorcopyvar 0x8001, \amount + callstd \function + .endm -- cgit v1.2.3