mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
33 lines
1.0 KiB
PHP
33 lines
1.0 KiB
PHP
InsideOfStartBoat_0F_MapScripts::
|
|
.byte 0
|
|
|
|
InsideOfStartBoat_0F_EventScript_BirchsBag::
|
|
lock
|
|
faceplayer
|
|
setflag FLAG_SYS_POKEMON_GET
|
|
setflag FLAG_RESCUED_BIRCH
|
|
fadescreen FADE_TO_BLACK
|
|
removeobject LOCALID_ZIGZAGOON
|
|
setobjectxy OBJ_EVENT_ID_PLAYER, 6, 13
|
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
|
|
waitmovement 0
|
|
special ChooseStarter
|
|
waitstate
|
|
//applymovement LOCALID_BIRCH, Route101_Movement_BirchApproachPlayer
|
|
//waitmovement 0
|
|
//msgbox Route101_Text_YouSavedMe, MSGBOX_DEFAULT
|
|
special HealPlayerParty
|
|
//setflag FLAG_HIDE_ROUTE_101_BIRCH_ZIGZAGOON_BATTLE
|
|
//clearflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_BIRCH
|
|
setflag FLAG_HIDE_INSIDE_OF_BOAT_BIRCH_STARTERS_BAG
|
|
//setvar VAR_BIRCH_LAB_STATE, 2
|
|
//setvar VAR_ROUTE101_STATE, 3
|
|
clearflag FLAG_HIDE_MAP_NAME_POPUP
|
|
//checkplayergender
|
|
//call_if_eq VAR_RESULT, MALE, Route101_EventScript_HideMayInBedroom
|
|
//call_if_eq VAR_RESULT, FEMALE, Route101_EventScript_HideBrendanInBedroom
|
|
warp MAP_INSIDE_OF_START_BOAT_CABINS, 35, 16
|
|
waitstate
|
|
release
|
|
end
|