diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-01-08 23:44:55 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-01-08 23:44:55 -0500 |
commit | 16dc234d9964e41443b965dc774a0ff60d3338fa (patch) | |
tree | 2bbdb33e455bdc37e81c388d4005eeebd50e36c0 /asm/macros | |
parent | 33a4b6848647bd18ca1d01e44d15624c195305a9 (diff) |
Some stdscript sync, start syncing cable_club.inc
Diffstat (limited to 'asm/macros')
-rw-r--r-- | asm/macros/event.inc | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc index b6526f96f..c440e7079 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -1432,15 +1432,36 @@ .endm @ Message box types + MSGBOX_NPC = 2 + MSGBOX_SIGN = 3 + MSGBOX_DEFAULT = 4 MSGBOX_YESNO = 5 + MSGBOX_AUTOCLOSE = 6 YES = 1 NO = 0 - .macro giveitem item, amount=1, function=0 + @ Other callstd function names + STD_OBTAIN_ITEM = 0 + STD_FIND_ITEM = 1 + STD_PUT_ITEM_AWAY = 8 + + .macro giveitem item, amount=1 + setorcopyvar 0x8000, \item + setorcopyvar 0x8001, \amount + callstd STD_OBTAIN_ITEM + .endm + + .macro finditem item, amount=1 + setorcopyvar 0x8000, \item + setorcopyvar 0x8001, \amount + callstd STD_FIND_ITEM + .endm + + .macro putitemaway item, amount=1 setorcopyvar 0x8000, \item setorcopyvar 0x8001, \amount - callstd \function + callstd STD_PUT_ITEM_AWAY .endm .macro giveitemfanfaremsg msg, item, amount=1, fanfare=MUS_FANFA1 |