Trainer data structure and field move functions
Trainer data in map scripts is now a macro-defined structure. Field move functions in main.asm are now nearly completely annotated, with local references. Trailing white space deleted.
This commit is contained in:
@@ -18,23 +18,7 @@ TeacherScript_0x184507:
|
||||
jumptextfaceplayer UnknownText_0x18469d
|
||||
|
||||
TrainerSageChow:
|
||||
; bit/flag number
|
||||
dw EVENT_BEAT_SAGE_CHOW
|
||||
|
||||
; trainer group && trainer id
|
||||
db SAGE, CHOW
|
||||
|
||||
; text when seen
|
||||
dw SageChowSeenText
|
||||
|
||||
; text when trainer beaten
|
||||
dw SageChowBeatenText
|
||||
|
||||
; script when lost
|
||||
dw $0000
|
||||
|
||||
; script when talk again
|
||||
dw SageChowScript
|
||||
trainer EVENT_BEAT_SAGE_CHOW, SAGE, CHOW, SageChowSeenText, SageChowBeatenText, $0000, SageChowScript
|
||||
|
||||
SageChowScript:
|
||||
talkaftercancel
|
||||
|
Reference in New Issue
Block a user