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
@@ -7,52 +7,52 @@ IndigoPlateau_PokemonCenter_1F_OnTransition:: @ 816EA65
setrespawn SPAWN_INDIGO_PLATEAU
specialvar VAR_RESULT, IsNationalPokedexEnabled
compare VAR_RESULT, TRUE
call_if_eq EventScript_16EA79
call_if_eq IndigoPlateau_PokemonCenter_1F_EventScript_CheckBlockDoor
end
EventScript_16EA79:: @ 816EA79
IndigoPlateau_PokemonCenter_1F_EventScript_CheckBlockDoor:: @ 816EA79
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_Return
setobjectxyperm 4, 4, 2
return
IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A:: @ 816EA8A
IndigoPlateau_PokemonCenter_1F_EventScript_DoorGuard:: @ 816EA8A
lock
faceplayer
specialvar VAR_RESULT, IsNationalPokedexEnabled
compare VAR_RESULT, TRUE
goto_if_eq EventScript_16EAA6
msgbox gUnknown_819A8D8
goto_if_eq IndigoPlateau_PokemonCenter_1F_EventScript_CheckSeviiIslandComplete
msgbox IndigoPlateau_PokemonCenter_1F_Text_FaceEliteFourGoodLuck
release
end
EventScript_16EAA6:: @ 816EAA6
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_16EAB9
msgbox gUnknown_819A943
IndigoPlateau_PokemonCenter_1F_EventScript_CheckSeviiIslandComplete:: @ 816EAA6
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, IndigoPlateau_PokemonCenter_1F_EventScript_SeviiIslandComplete
msgbox IndigoPlateau_PokemonCenter_1F_Text_LoreleiIsAbsentClosedForTimeBeing
release
end
EventScript_16EAB9:: @ 816EAB9
msgbox gUnknown_819A8D8
IndigoPlateau_PokemonCenter_1F_EventScript_SeviiIslandComplete:: @ 816EAB9
msgbox IndigoPlateau_PokemonCenter_1F_Text_FaceEliteFourGoodLuck
release
end
IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3:: @ 816EAC3
msgbox gUnknown_819A837, MSGBOX_NPC
IndigoPlateau_PokemonCenter_1F_EventScript_GymGuy:: @ 816EAC3
msgbox IndigoPlateau_PokemonCenter_1F_Text_GymGuyAdvice, MSGBOX_NPC
end
IndigoPlateau_PokemonCenter_1F_EventScript_16EACC:: @ 816EACC
IndigoPlateau_PokemonCenter_1F_EventScript_Clerk:: @ 816EACC
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
message Text_MayIHelpYou
waitmessage
pokemart Items_16EAF4
pokemart IndigoPlateau_PokemonCenter_1F_Items
msgbox Text_PleaseComeAgain
release
end
.align 2
Items_16EAF4:: @ 816EAF4
IndigoPlateau_PokemonCenter_1F_Items:: @ 816EAF4
.2byte ITEM_ULTRA_BALL
.2byte ITEM_GREAT_BALL
.2byte ITEM_FULL_RESTORE
@@ -64,7 +64,7 @@ Items_16EAF4:: @ 816EAF4
release
end
IndigoPlateau_PokemonCenter_1F_EventScript_16EB06:: @ 816EB06
IndigoPlateau_PokemonCenter_1F_EventScript_Nurse:: @ 816EB06
lock
faceplayer
call EventScript_PkmnCenterNurse