Document constants with comments, actual names, and more thorough usage
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
PLAYER EQU 0
|
||||
LAST_TALKED EQU -2
|
||||
|
||||
; GetVarAction arguments (see engine/variables.asm)
|
||||
const_def
|
||||
const VAR_STRINGBUFFER2 ; 00
|
||||
const VAR_PARTYCOUNT ; 01
|
||||
@@ -32,10 +33,12 @@ LAST_TALKED EQU -2
|
||||
const VAR_KENJI_BREAK ; 1a
|
||||
NUM_VARS EQU const_value ; 1b
|
||||
|
||||
; variable action types
|
||||
RETVAR_STRBUF2 EQU (0 << 6)
|
||||
RETVAR_ADDR_DE EQU (1 << 6)
|
||||
RETVAR_EXECUTE EQU (2 << 6)
|
||||
|
||||
; PlayerEventScriptPointers indexes (see engine/events.asm)
|
||||
const_value SET -1
|
||||
const PLAYEREVENT_MAPSCRIPT
|
||||
const PLAYEREVENT_NONE
|
||||
|
Reference in New Issue
Block a user