You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user