import from github

This commit is contained in:
2022-05-19 17:14:13 +00:00
parent 5247c34f50
commit ab32b30591
12612 changed files with 1905035 additions and 83 deletions

View File

@ -0,0 +1,62 @@
{
"id": "MAP_FORTREE_CITY_HOUSE2",
"name": "FortreeCity_House2",
"layout": "LAYOUT_FORTREE_CITY_HOUSE2",
"music": "MUS_FORTREE",
"region_map_section": "MAPSEC_FORTREE_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_EXPERT_F",
"x": 2,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House2_EventScript_HiddenPowerGiver",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_EXPERT_M",
"x": 6,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House2_EventScript_SleepTalkTutor",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 5,
"elevation": 0,
"dest_map": "MAP_FORTREE_CITY",
"dest_warp_id": 4
},
{
"x": 4,
"y": 5,
"elevation": 0,
"dest_map": "MAP_FORTREE_CITY",
"dest_warp_id": 4
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -0,0 +1,81 @@
FortreeCity_House2_MapScripts::
.byte 0
FortreeCity_House2_EventScript_HiddenPowerGiver::
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM10, FortreeCity_House2_EventScript_ExplainHiddenPower
call_if_unset FLAG_MET_HIDDEN_POWER_GIVER, FortreeCity_House2_EventScript_Greeting
msgbox FortreeCity_House2_Text_CoinInWhichHand, MSGBOX_DEFAULT
multichoice 21, 8, MULTI_RIGHTLEFT, TRUE
switch VAR_RESULT
case 1, FortreeCity_House2_EventScript_WrongGuess
msgbox FortreeCity_House2_Text_CorrectTryAgainWhichHand, MSGBOX_DEFAULT
multichoice 21, 8, MULTI_RIGHTLEFT, TRUE
switch VAR_RESULT
case 1, FortreeCity_House2_EventScript_WrongGuess
msgbox FortreeCity_House2_Text_CorrectTryAgainWhichHand2, MSGBOX_DEFAULT
multichoice 21, 8, MULTI_RIGHTLEFT, TRUE
switch VAR_RESULT
case 0, FortreeCity_House2_EventScript_WrongGuess
msgbox FortreeCity_House2_Text_YourHiddenPowerHasAwoken, MSGBOX_DEFAULT
giveitem ITEM_TM10
goto_if_eq VAR_RESULT, 0, Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM10
msgbox FortreeCity_House2_Text_ExplainHiddenPower, MSGBOX_DEFAULT
release
end
FortreeCity_House2_EventScript_Greeting::
msgbox FortreeCity_House2_Text_HiddenPowersArousedByNature, MSGBOX_DEFAULT
setflag FLAG_MET_HIDDEN_POWER_GIVER
return
FortreeCity_House2_EventScript_ExplainHiddenPower::
msgbox FortreeCity_House2_Text_ExplainHiddenPower, MSGBOX_DEFAULT
release
end
FortreeCity_House2_EventScript_WrongGuess::
msgbox FortreeCity_House2_Text_YouGuessedWrong, MSGBOX_DEFAULT
release
end
FortreeCity_House2_Text_HiddenPowersArousedByNature:
.string "People… POKéMON…\p"
.string "Their hidden powers are aroused by\n"
.string "living in natural environments…$"
FortreeCity_House2_Text_CoinInWhichHand:
.string "Let this old woman see if your hidden\n"
.string "power has awoken…\p"
.string "I hold a coin in my hand.\p"
.string "Now, tell me, have I palmed it in\n"
.string "the right hand? Or in the left?$"
FortreeCity_House2_Text_CorrectTryAgainWhichHand:
.string "Oh! Yes, correct!\p"
.string "We shall try again.\p"
.string "In which hand have I palmed the coin?\n"
.string "The right or left?$"
FortreeCity_House2_Text_CorrectTryAgainWhichHand2:
.string "Oh! Yes, correct!\p"
.string "We shall try again.\p"
.string "In which hand have I palmed the coin?\n"
.string "The right or left?$"
FortreeCity_House2_Text_YourHiddenPowerHasAwoken:
.string "Oh! Splendid!\n"
.string "Your hidden power has awoken!\p"
.string "Here, take this and awaken the hidden\n"
.string "power of your POKéMON.$"
FortreeCity_House2_Text_ExplainHiddenPower:
.string "HIDDEN POWER is a move that changes\n"
.string "with the POKéMON.$"
FortreeCity_House2_Text_YouGuessedWrong:
.string "No, too bad.\n"
.string "You guessed wrong.$"