Reference TMs and HMs by move instead of number (#1732)
This commit is contained in:
@@ -19,7 +19,7 @@ FortreeCity_Gym_EventScript_Winona::
|
||||
trainerbattle_single TRAINER_WINONA_1, FortreeCity_Gym_Text_WinonaIntro, FortreeCity_Gym_Text_WinonaDefeat, FortreeCity_Gym_EventScript_WinonaDefeated, NO_MUSIC
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, FortreeCity_Gym_EventScript_WinonaRematch
|
||||
goto_if_unset FLAG_RECEIVED_TM40, FortreeCity_Gym_EventScript_GiveAerialAce2
|
||||
goto_if_unset FLAG_RECEIVED_TM_AERIAL_ACE, FortreeCity_Gym_EventScript_GiveAerialAce2
|
||||
msgbox FortreeCity_Gym_Text_WinonaPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
@@ -48,18 +48,18 @@ FortreeCity_Gym_EventScript_WinonaDefeated::
|
||||
end
|
||||
|
||||
FortreeCity_Gym_EventScript_GiveAerialAce2::
|
||||
giveitem ITEM_TM40
|
||||
giveitem ITEM_TM_AERIAL_ACE
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
msgbox FortreeCity_Gym_Text_ExplainAerialAce, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM40
|
||||
setflag FLAG_RECEIVED_TM_AERIAL_ACE
|
||||
release
|
||||
end
|
||||
|
||||
FortreeCity_Gym_EventScript_GiveAerialAce::
|
||||
giveitem ITEM_TM40
|
||||
giveitem ITEM_TM_AERIAL_ACE
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_BagIsFull
|
||||
msgbox FortreeCity_Gym_Text_ExplainAerialAce, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM40
|
||||
setflag FLAG_RECEIVED_TM_AERIAL_ACE
|
||||
return
|
||||
|
||||
FortreeCity_Gym_EventScript_WinonaRematch::
|
||||
|
||||
Reference in New Issue
Block a user