diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-09-13 14:24:07 -0400 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-09-17 16:50:17 -0500 |
commit | aac9658a8ee9a23bbb7cf8a56496a49b8cdbe61d (patch) | |
tree | 9356521698b20844deb99aee7fecca22b323a4f7 /data/event_scripts.s | |
parent | 06af24bce58b9285166d27fc371ad3c3dbb63a29 (diff) |
Document some field_specials data
Diffstat (limited to 'data/event_scripts.s')
-rw-r--r-- | data/event_scripts.s | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/data/event_scripts.s b/data/event_scripts.s index a7ca8ce4f..f4f2169d9 100644 --- a/data/event_scripts.s +++ b/data/event_scripts.s @@ -7,6 +7,7 @@ #include "constants/event_objects.h" #include "constants/event_object_movement_constants.h" #include "constants/field_effects.h" +#include "constants/field_specials.h" #include "constants/flags.h" #include "constants/decorations.h" #include "constants/items.h" @@ -1505,7 +1506,7 @@ Std_FindItem:: @ 8271BFD EventScript_PickItemUp:: @ 8271C3A removeobject VAR_LAST_TALKED giveitem VAR_0x8004, VAR_0x8005 - specialvar VAR_RESULT, sub_81398C0 + specialvar VAR_RESULT, BufferTMHMMoveName copyvar VAR_0x8008, VAR_RESULT compare VAR_0x8008, 1 call_if_eq EventScript_271C8F @@ -1557,7 +1558,7 @@ EventScript_HiddenItemScript:: @ 8271CB7 EventScript_271CE8:: @ 8271CE8 copyvar VAR_0x8008, VAR_0x8004 copyvar VAR_0x8004, VAR_0x8005 - specialvar VAR_RESULT, sub_81398C0 + specialvar VAR_RESULT, BufferTMHMMoveName compare VAR_RESULT, 1 goto_if_eq EventScript_271D0E compare VAR_RESULT, 0 @@ -2945,7 +2946,7 @@ EventScript_Questionnaire:: @ 827381B call Common_ShowEasyChatScreen lock faceplayer - specialvar VAR_0x8008, sub_813B490 + specialvar VAR_0x8008, GetMartEmployeeObjectEventId compare VAR_0x8004, 1 goto_if_eq EventScript_27386D compare VAR_0x8004, 2 |