summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-01-16 09:53:08 -0500
committerGitHub <noreply@github.com>2020-01-16 09:53:08 -0500
commitfad367402892e1c25634c4448936d84a621c341c (patch)
treeb796aba2ae57729cae5f78767336082dd46a6b21 /asm/macros
parent0bc479db34154988c6322bf5f2bb6d48556f62c3 (diff)
parent884b46a5dc26ae9e0c0abcf7e0d69c1122a30e22 (diff)
Merge pull request #225 from GriffinRichards/doc-questlog
Document some quest log
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/event.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index ab7b06932..1be118154 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1627,9 +1627,9 @@
call EventScript_SetGymTrainers
.endm
- @ Appears frequently at start of NPC scripts. Should be used once named/understood
- .macro unk_questlog
- special sub_8110AB4
+ @ Jumps to dest if the Quest Log is currently showing playback scenes (dest is usually a release/end)
+ .macro goto_if_questlog dest:req
+ special Special_GetQuestLogState
compare VAR_RESULT, 2
- goto_if_eq EventScript_1A7AE0
+ goto_if_eq \dest
.endm