diff options
author | Thomas Winwood <twwinwood@gmail.com> | 2018-07-21 02:06:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 02:06:31 +0100 |
commit | 23ef2f50a7b94c23b50e9e690a7482ac349c9ef3 (patch) | |
tree | 63c20c67efbdf8334c6e273f78065b83135e3886 /constants/script_constants.asm | |
parent | 17a4d0540acc00e3f5ad260009115eb36e72b7d2 (diff) | |
parent | 2d73d040d16a7836f935a7a6cb2a311aed2ca5a2 (diff) |
Merge branch 'master' into the-diffening
Diffstat (limited to 'constants/script_constants.asm')
-rw-r--r-- | constants/script_constants.asm | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/constants/script_constants.asm b/constants/script_constants.asm index 3b9220095..a31394a36 100644 --- a/constants/script_constants.asm +++ b/constants/script_constants.asm @@ -2,7 +2,6 @@ PLAYER EQU 0 LAST_TALKED EQU -2 - ; memory constants const_def const MEM_BUFFER_0 ; use wStringBuffer3 @@ -10,7 +9,6 @@ LAST_TALKED EQU -2 const MEM_BUFFER_2 ; use wStringBuffer5 NUM_MEM_BUFFERS EQU const_value - ; checkmoney/takemoney accounts const_def const YOUR_MONEY ; 0 @@ -36,7 +34,6 @@ NUM_MEM_BUFFERS EQU const_value const PHONE_CONTACTS_FULL ; 1 const PHONE_CONTACT_REFUSED ; 2 - ; writecode/checkcode arguments ; _GetVarAction.VarActionTable indexes (see engine/overworld/variables.asm) const_def @@ -74,7 +71,6 @@ RETVAR_STRBUF2 EQU (0 << 6) RETVAR_ADDR_DE EQU (1 << 6) RETVAR_EXECUTE EQU (2 << 6) - ; PlayerEventScriptPointers indexes (see engine/overworld/events.asm) const_def -1 const PLAYEREVENT_MAPSCRIPT @@ -90,7 +86,6 @@ RETVAR_EXECUTE EQU (2 << 6) const PLAYEREVENT_JOYCHANGEFACING NUM_PLAYER_EVENTS EQU const_value - ; bg_event types ; TryBGEvent arguments (see engine/overworld/events.asm) const_def @@ -115,7 +110,6 @@ NUM_PLAYER_EVENTS EQU const_value const OBJECTTYPE_5 const OBJECTTYPE_6 - ; command queue members CMDQUEUE_TYPE EQU 0 CMDQUEUE_ADDR EQU 1 @@ -125,9 +119,14 @@ CMDQUEUE_05 EQU 5 CMDQUEUE_ENTRY_SIZE EQU 6 CMDQUEUE_CAPACITY EQU 4 -; command queue types -CMDQUEUE_STONETABLE EQU 2 - +; HandleQueuedCommand.Jumptable indexes (see engine/overworld/events.asm) + const_def + const CMDQUEUE_NULL + const CMDQUEUE_NULL2 + const CMDQUEUE_STONETABLE + const CMDQUEUE_TYPE3 + const CMDQUEUE_TYPE4 +NUM_CMDQUEUE_TYPES EQU const_value ; elevfloor macro values ; ElevatorFloorNames indexes (see data/events/elevator_floors.asm) @@ -149,7 +148,6 @@ CMDQUEUE_STONETABLE EQU 2 const FLOOR_11F const FLOOR_ROOF - ; showemote arguments ; Emotes indexes (see data/sprites/emotes.asm) const_def @@ -217,7 +215,6 @@ NUM_FRUIT_TREES EQU const_value + -1 const SWARM_DUNSPARCE ; 0 const SWARM_YANMA ; 1 - ; ActivateFishingSwarm writebyte arguments const_def const FISHSWARM_NONE ; 0 |