summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2017-10-26 18:03:19 -0500
committerDiegoisawesome <diego@domoreaweso.me>2017-10-26 18:03:19 -0500
commit7827feaa2f8973e8e9a704ba7bc546e2e77d8f77 (patch)
tree761580229de926fa7f14b2f9d1b255b6775268f7 /asm/macros
parent118b29ed035f138dc2917fc7778bba905d0463f0 (diff)
Final fixes before dump
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/event.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index c224861b0..6a7bc2b47 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1490,6 +1490,17 @@
goto_eq \dest
.endm
+ .macro msgbox text, type=4
+ loadword 0, \text
+ callstd \type
+ .endm
+
+ @ Message box types
+ MSGBOX_YESNO = 5
+
+ YES = 1
+ NO = 0
+
.macro giveitem_std item, amount=1, function=0
setorcopyvar 0x8000, \item
setorcopyvar 0x8001, \amount