Reference TMs and HMs by move instead of number (#1732)
This commit is contained in:
@@ -4,11 +4,11 @@ SootopolisCity_House1_MapScripts::
|
||||
SootopolisCity_House1_EventScript_BrickBreakBlackBelt::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_TM31, SootopolisCity_House1_EventScript_ReceivedBrickBreak
|
||||
goto_if_set FLAG_RECEIVED_TM_BRICK_BREAK, SootopolisCity_House1_EventScript_ReceivedBrickBreak
|
||||
msgbox SootopolisCity_House1_Text_DevelopedThisTM, MSGBOX_DEFAULT
|
||||
giveitem ITEM_TM31
|
||||
giveitem ITEM_TM_BRICK_BREAK
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM31
|
||||
setflag FLAG_RECEIVED_TM_BRICK_BREAK
|
||||
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user