summaryrefslogtreecommitdiff
path: root/data/maps/TwoIsland_JoyfulGameCorner/scripts.inc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-10-21 09:58:14 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-10-21 09:58:14 -0400
commita1bddb8f8c3f43d0942e2874f9d873d4bcf05371 (patch)
tree679283620e586e95daab351afd1ce43d8bd56c8e /data/maps/TwoIsland_JoyfulGameCorner/scripts.inc
parent3ab70c735e86369dc927beb5cddf7adc2e96afd9 (diff)
Remaining story flags referenced in event scripts
Diffstat (limited to 'data/maps/TwoIsland_JoyfulGameCorner/scripts.inc')
-rw-r--r--data/maps/TwoIsland_JoyfulGameCorner/scripts.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/TwoIsland_JoyfulGameCorner/scripts.inc b/data/maps/TwoIsland_JoyfulGameCorner/scripts.inc
index 84d0350cd..7d4bb6684 100644
--- a/data/maps/TwoIsland_JoyfulGameCorner/scripts.inc
+++ b/data/maps/TwoIsland_JoyfulGameCorner/scripts.inc
@@ -6,7 +6,7 @@ TwoIsland_JoyfulGameCorner_MapScripts:: @ 81713D0
.byte 0
TwoIsland_JoyfulGameCorner_MapScript1_1713E5:: @ 81713E5
- checkflag FLAG_0x2FB
+ checkflag FLAG_GOT_MOON_STONE_FROM_JOYFUL_GAME_CORNER
call_if TRUE, EventScript_1713EF
end
@@ -143,7 +143,7 @@ TwoIsland_JoyfulGameCorner_EventScript_17155F:: @ 817155F
faceplayer
compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND_JOYFUL_GAME_CORNER, 4
goto_if eq, EventScript_1BC0CE
- checkflag FLAG_0x2FB
+ checkflag FLAG_GOT_MOON_STONE_FROM_JOYFUL_GAME_CORNER
goto_if TRUE, EventScript_1715F5
compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND_JOYFUL_GAME_CORNER, 3
goto_if eq, EventScript_17158A
@@ -152,7 +152,7 @@ TwoIsland_JoyfulGameCorner_EventScript_17155F:: @ 817155F
end
EventScript_17158A:: @ 817158A
- checkflag FLAG_0x2FE
+ checkflag FLAG_NO_ROOM_FOR_JOYFUL_GAME_CORNER_MOON_STONE
goto_if TRUE, EventScript_1715C4
msgbox gUnknown_81A296A
setvar VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 2
@@ -172,7 +172,7 @@ EventScript_1715C4:: @ 81715C4
compare_var_to_value VAR_RESULT, 0
goto_if eq, EventScript_1715FF
additem ITEM_MOON_STONE, 1
- setflag FLAG_0x2FB
+ setflag FLAG_GOT_MOON_STONE_FROM_JOYFUL_GAME_CORNER
giveitemfanfaremsg gUnknown_81A2A9A, ITEM_MOON_STONE
release
end
@@ -183,7 +183,7 @@ EventScript_1715F5:: @ 81715F5
end
EventScript_1715FF:: @ 81715FF
- setflag FLAG_0x2FE
+ setflag FLAG_NO_ROOM_FOR_JOYFUL_GAME_CORNER_MOON_STONE
msgbox gUnknown_81A2ACA
release
end