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:
@@ -36,23 +36,7 @@ BrockScript_0x1a2864:
|
||||
end
|
||||
|
||||
TrainerCamperJerry:
|
||||
; bit/flag number
|
||||
dw EVENT_BEAT_CAMPER_JERRY
|
||||
|
||||
; trainer group && trainer id
|
||||
db CAMPER, JERRY
|
||||
|
||||
; text when seen
|
||||
dw CamperJerrySeenText
|
||||
|
||||
; text when trainer beaten
|
||||
dw CamperJerryBeatenText
|
||||
|
||||
; script when lost
|
||||
dw $0000
|
||||
|
||||
; script when talk again
|
||||
dw CamperJerryScript
|
||||
trainer EVENT_BEAT_CAMPER_JERRY, CAMPER, JERRY, CamperJerrySeenText, CamperJerryBeatenText, $0000, CamperJerryScript
|
||||
|
||||
CamperJerryScript:
|
||||
talkaftercancel
|
||||
|
Reference in New Issue
Block a user