Reference TMs and HMs by move instead of number (#1732)
This commit is contained in:
@@ -4,7 +4,7 @@ FortreeCity_House2_MapScripts::
|
||||
FortreeCity_House2_EventScript_HiddenPowerGiver::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_TM10, FortreeCity_House2_EventScript_ExplainHiddenPower
|
||||
goto_if_set FLAG_RECEIVED_TM_HIDDEN_POWER, 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
|
||||
@@ -19,9 +19,9 @@ FortreeCity_House2_EventScript_HiddenPowerGiver::
|
||||
switch VAR_RESULT
|
||||
case 0, FortreeCity_House2_EventScript_WrongGuess
|
||||
msgbox FortreeCity_House2_Text_YourHiddenPowerHasAwoken, MSGBOX_DEFAULT
|
||||
giveitem ITEM_TM10
|
||||
giveitem ITEM_TM_HIDDEN_POWER
|
||||
goto_if_eq VAR_RESULT, 0, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM10
|
||||
setflag FLAG_RECEIVED_TM_HIDDEN_POWER
|
||||
msgbox FortreeCity_House2_Text_ExplainHiddenPower, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user