Document Pokemon League scripts

This commit is contained in:
GriffinR
2020-01-26 16:38:17 -05:00
parent a09e66b53f
commit 91844cdfb2
26 changed files with 438 additions and 427 deletions
+6 -6
View File
@@ -177,12 +177,12 @@ SevenIsland_SevaultCanyon_EventScript_1ACF95:: @ 81ACF95
release
end
IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE:: @ 81ACFAE
IndigoPlateau_PokemonCenter_1F_EventScript_BlackBelt:: @ 81ACFAE
lock
faceplayer
famechecker FAMECHECKER_AGATHA, 1
famechecker FAMECHECKER_AGATHA, 2
msgbox Text_19A9E7
msgbox IndigoPlateau_PokemonCenter_1F_Text_AgathaWhuppedUs
release
end
@@ -235,20 +235,20 @@ CeladonCity_DepartmentStore_2F_EventScript_1AD053:: @ 81AD053
release
end
IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C:: @ 81AD06C
IndigoPlateau_PokemonCenter_1F_EventScript_PokemonJournal:: @ 81AD06C
lock
faceplayer
famechecker FAMECHECKER_LANCE, 4
textcolor 3
msgbox gUnknown_81B1A31
msgbox PokemonJournal_Text_SpecialFeatureLance
release
end
IndigoPlateau_PokemonCenter_1F_EventScript_1AD087:: @ 81AD087
IndigoPlateau_PokemonCenter_1F_EventScript_CooltrainerM:: @ 81AD087
lock
faceplayer
famechecker FAMECHECKER_LANCE, 5
msgbox Text_19AB16
msgbox IndigoPlateau_PokemonCenter_1F_Text_LancesCousinGymLeaderFarAway
release
end
+64
View File
@@ -0,0 +1,64 @@
PokemonLeague_EventScript_OpenDoor:: @ 81A7506
applymovement OBJ_EVENT_ID_PLAYER, Movement_Delay32
waitmovement 0
playse SE_DOOR
call PokemonLeague_EventScript_SetDoorOpen
special DrawWholeMapView
setflag FLAG_TEMP_4
return
PokemonLeague_EventScript_EnterRoom:: @ 81A751F
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkUp5
waitmovement 0
setflag FLAG_TEMP_2
playse SE_KI_GASYAN
call PokemonLeague_EventScript_CloseEntry
special DrawWholeMapView
return
PokemonLeague_EventScript_SetDoorOpen:: @ 81A7538
setmetatile 6, 1, METATILE_PokemonLeague_Door_Top_Open, 1
setmetatile 6, 2, METATILE_PokemonLeague_Door_Mid_Open, 0
return
PokemonLeague_EventScript_PreventExit:: @ 81A754B
lockall
textcolor 0
msgbox Text_VoiceRangOutDontRunAway
closemessage
applymovement OBJ_EVENT_ID_PLAYER, PokemonLeague_Movement_ForcePlayerIn
waitmovement 0
releaseall
end
PokemonLeague_EventScript_OpenDoorLance:: @ 81A7563
applymovement OBJ_EVENT_ID_PLAYER, Movement_Delay32
waitmovement 0
playse SE_DOOR
setmetatile 6, 4, METATILE_PokemonLeague_Door_Top_Open, 1
setmetatile 6, 5, METATILE_PokemonLeague_Door_Mid_Open, 0
special DrawWholeMapView
setflag FLAG_TEMP_4
return
PokemonLeague_EventScript_SetDoorOpenLance:: @ 81A7589
setmetatile 6, 4, METATILE_PokemonLeague_Door_Top_Open, 1
setmetatile 6, 5, METATILE_PokemonLeague_Door_Mid_Open, 0
return
PokemonLeague_EventScript_CloseEntry:: @ 81A759C
setmetatile 5, 11, METATILE_PokemonLeague_Entry_TopLeft_Closed, 1
setmetatile 6, 11, METATILE_PokemonLeague_Entry_TopMid_Closed, 1
setmetatile 7, 11, METATILE_PokemonLeague_Entry_TopRight_Closed, 1
setmetatile 5, 12, METATILE_PokemonLeague_Entry_BottomLeft_Closed, 1
setmetatile 6, 12, METATILE_PokemonLeague_Entry_BottomMid_Closed, 1
setmetatile 7, 12, METATILE_PokemonLeague_Entry_BottomRight_Closed, 1
return
PokemonLeague_Movement_ForcePlayerIn:: @ 81A75D3
walk_up
step_end
PokemonLeague_EventScript_DoLightingEffect:: @ 81A75D5
special Special_PokemonLeagueLightingEffect
return