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:
PikalaxALT
2015-07-18 23:45:39 -04:00
parent e674869018
commit 60cd04b023
116 changed files with 2148 additions and 8705 deletions

View File

@@ -178,23 +178,7 @@ YoungsterScript_0x5ce54:
jumptextfaceplayer UnknownText_0x5d4ac
TrainerGruntM3:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_3
; trainer group && trainer id
db GRUNTM, 3
; text when seen
dw GruntM3SeenText
; text when trainer beaten
dw GruntM3BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM3Script
trainer EVENT_BEAT_ROCKET_GRUNTM_3, GRUNTM, 3, GruntM3SeenText, GruntM3BeatenText, $0000, GruntM3Script
GruntM3Script:
talkaftercancel