Document trainer approach funcs, and use movement type constants in scripts

This commit is contained in:
Marcus Huderle
2019-01-20 10:11:45 -06:00
committed by huderlem
parent e81838dba3
commit 36a1825bbe
33 changed files with 126 additions and 124 deletions

View File

@@ -19,7 +19,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9CCD:: @ 81F9CCD
specialvar VAR_RESULT, HasAllHoennMons
compare VAR_RESULT, 1
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1F9CE9
setobjectmovementtype 3, 3
setobjectmovementtype 3, MOVEMENT_TYPE_WANDER_UP_AND_DOWN
setobjectxyperm 3, 5, 10
end
@@ -33,7 +33,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9CF3:: @ 81F9CF3
LittlerootTown_ProfessorBirchsLab_EventScript_1F9CF7:: @ 81F9CF7
setmaplayoutindex 432
setobjectmovementtype 3, 3
setobjectmovementtype 3, MOVEMENT_TYPE_WANDER_UP_AND_DOWN
setobjectxyperm 3, 5, 10
end