From 2435bcc09db545d337c2b45a59d5276fa08ffa08 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 17 Oct 2019 21:24:47 -0400 Subject: sys flag rearrange --- data/maps/TwoIsland/scripts.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc index a9a42eda5..ba2ee8216 100644 --- a/data/maps/TwoIsland/scripts.inc +++ b/data/maps/TwoIsland/scripts.inc @@ -11,7 +11,7 @@ TwoIsland_MapScript1_16756A:: @ 816756A EventScript_167576:: @ 8167576 checkflag FLAG_0x844 goto_if_eq EventScript_167597 - checkflag FLAG_0x82C + checkflag FLAG_SYS_GAME_CLEAR goto_if_eq EventScript_1675B8 checkflag FLAG_0x2A3 goto_if_eq EventScript_1675D9 -- cgit v1.2.3 From 4f15cb02d29707bc30a57db725cbea09aec43eb8 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 18 Oct 2019 12:49:59 -0400 Subject: Rename map scene vars and partially document Oak's lab --- data/maps/TwoIsland/scripts.inc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc index ba2ee8216..9ccc7f1f5 100644 --- a/data/maps/TwoIsland/scripts.inc +++ b/data/maps/TwoIsland/scripts.inc @@ -49,21 +49,21 @@ EventScript_1675E8:: @ 81675E8 end EventScript_1675EE:: @ 81675EE - setvar VAR_0x4078, 1 + setvar VAR_MAP_SCENE_TWO_ISLAND, 1 return EventScript_1675F4:: @ 81675F4 - setvar VAR_0x4078, 2 + setvar VAR_MAP_SCENE_TWO_ISLAND, 2 clearflag FLAG_0x07B return EventScript_1675FD:: @ 81675FD - setvar VAR_0x4078, 3 + setvar VAR_MAP_SCENE_TWO_ISLAND, 3 clearflag FLAG_0x07C return EventScript_167606:: @ 8167606 - setvar VAR_0x4078, 4 + setvar VAR_MAP_SCENE_TWO_ISLAND, 4 clearflag FLAG_0x07D return @@ -73,11 +73,11 @@ TwoIsland_EventScript_16760F:: @ 816760F goto_if_eq EventScript_1A7AE0 lock faceplayer - compare_var_to_value VAR_0x4078, 4 + compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 4 goto_if_eq EventScript_167646 - compare_var_to_value VAR_0x4078, 3 + compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 3 goto_if_eq EventScript_16765E - compare_var_to_value VAR_0x4078, 2 + compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 2 goto_if_eq EventScript_167676 goto EventScript_16768E end @@ -121,11 +121,11 @@ EventScript_16768E:: @ 816768E EventScript_1676A6:: @ 81676A6 message Text_1A6211 waitmessage - compare_var_to_value VAR_0x4078, 4 + compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 4 goto_if_eq EventScript_167728 - compare_var_to_value VAR_0x4078, 3 + compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 3 goto_if_eq EventScript_167708 - compare_var_to_value VAR_0x4078, 2 + compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 2 goto_if_eq EventScript_1676EC goto EventScript_1676D3 end -- cgit v1.2.3 From a7bca8aa92b7696047bcb3da8607ac7981647630 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 18 Oct 2019 15:02:34 -0400 Subject: Hidden item flags --- data/maps/TwoIsland/map.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/map.json b/data/maps/TwoIsland/map.json index ff7b3c601..8f9f15bc6 100644 --- a/data/maps/TwoIsland/map.json +++ b/data/maps/TwoIsland/map.json @@ -191,4 +191,4 @@ "script": "TwoIsland_EventScript_1677A4" } ] -} +} \ No newline at end of file -- cgit v1.2.3 From a16d9af699f367458d6832377a2806659d303bbe Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 18 Oct 2019 15:13:35 -0400 Subject: Document renewable_hidden_items --- data/maps/TwoIsland/map.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/map.json b/data/maps/TwoIsland/map.json index 8f9f15bc6..ff7b3c601 100644 --- a/data/maps/TwoIsland/map.json +++ b/data/maps/TwoIsland/map.json @@ -191,4 +191,4 @@ "script": "TwoIsland_EventScript_1677A4" } ] -} \ No newline at end of file +} -- cgit v1.2.3 From d98d4d887c16e8fa13360e3f243bf019844d3c41 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 19 Oct 2019 15:05:51 -0400 Subject: Set map.json files with map_obj_gfx constants --- data/maps/TwoIsland/map.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/map.json b/data/maps/TwoIsland/map.json index ff7b3c601..b0ff63ec1 100644 --- a/data/maps/TwoIsland/map.json +++ b/data/maps/TwoIsland/map.json @@ -20,7 +20,7 @@ ], "object_events": [ { - "graphics_id": "68", + "graphics_id": "MAP_OBJ_GFX_CLERK", "x": 28, "y": 4, "elevation": 3, @@ -33,7 +33,7 @@ "flag": "0" }, { - "graphics_id": "23", + "graphics_id": "MAP_OBJ_GFX_WOMAN_1", "x": 31, "y": 6, "elevation": 3, @@ -46,7 +46,7 @@ "flag": "123" }, { - "graphics_id": "29", + "graphics_id": "MAP_OBJ_GFX_BEAUTY", "x": 30, "y": 11, "elevation": 3, @@ -59,7 +59,7 @@ "flag": "124" }, { - "graphics_id": "62", + "graphics_id": "MAP_OBJ_GFX_SAILOR", "x": 26, "y": 5, "elevation": 3, @@ -72,7 +72,7 @@ "flag": "0" }, { - "graphics_id": "52", + "graphics_id": "MAP_OBJ_GFX_SUPER_NERD", "x": 27, "y": 6, "elevation": 3, @@ -85,7 +85,7 @@ "flag": "125" }, { - "graphics_id": "95", + "graphics_id": "MAP_OBJ_GFX_CUT_TREE", "x": 30, "y": 16, "elevation": 3, @@ -98,7 +98,7 @@ "flag": "18" }, { - "graphics_id": "92", + "graphics_id": "MAP_OBJ_GFX_ITEM_BALL", "x": 39, "y": 16, "elevation": 3, @@ -111,7 +111,7 @@ "flag": "442" }, { - "graphics_id": "16", + "graphics_id": "MAP_OBJ_GFX_LITTLE_BOY", "x": 37, "y": 12, "elevation": 3, @@ -124,7 +124,7 @@ "flag": "0" }, { - "graphics_id": "19", + "graphics_id": "MAP_OBJ_GFX_BOY", "x": 24, "y": 12, "elevation": 3, -- cgit v1.2.3 From a8b767965a92352de03780fb4671d2a469343d28 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 19 Oct 2019 15:49:26 -0400 Subject: auto-assign map object hide/show flags --- data/maps/TwoIsland/map.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/map.json b/data/maps/TwoIsland/map.json index b0ff63ec1..ce882f5ed 100644 --- a/data/maps/TwoIsland/map.json +++ b/data/maps/TwoIsland/map.json @@ -43,7 +43,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_167755", - "flag": "123" + "flag": "FLAG_0x07B" }, { "graphics_id": "MAP_OBJ_GFX_BEAUTY", @@ -56,7 +56,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_16775E", - "flag": "124" + "flag": "FLAG_0x07C" }, { "graphics_id": "MAP_OBJ_GFX_SAILOR", @@ -82,7 +82,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_167777", - "flag": "125" + "flag": "FLAG_0x07D" }, { "graphics_id": "MAP_OBJ_GFX_CUT_TREE", @@ -95,7 +95,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_1BDF13", - "flag": "18" + "flag": "FLAG_0x012" }, { "graphics_id": "MAP_OBJ_GFX_ITEM_BALL", @@ -108,7 +108,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_1BEAAF", - "flag": "442" + "flag": "FLAG_0x1BA" }, { "graphics_id": "MAP_OBJ_GFX_LITTLE_BOY", -- cgit v1.2.3 From 2ff8af13d5a259fa0ca07afe3ecf4792b6871a80 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 19 Oct 2019 20:30:38 -0400 Subject: Hide/show flags through 07F --- data/maps/TwoIsland/map.json | 8 ++++---- data/maps/TwoIsland/scripts.inc | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/map.json b/data/maps/TwoIsland/map.json index ce882f5ed..ebbabf5c1 100644 --- a/data/maps/TwoIsland/map.json +++ b/data/maps/TwoIsland/map.json @@ -43,7 +43,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_167755", - "flag": "FLAG_0x07B" + "flag": "FLAG_HIDE_TWO_ISLAND_WOMAN" }, { "graphics_id": "MAP_OBJ_GFX_BEAUTY", @@ -56,7 +56,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_16775E", - "flag": "FLAG_0x07C" + "flag": "FLAG_HIDE_TWO_ISLAND_BEAUTY" }, { "graphics_id": "MAP_OBJ_GFX_SAILOR", @@ -82,7 +82,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_167777", - "flag": "FLAG_0x07D" + "flag": "FLAG_HIDE_TWO_ISLAND_SUPER_NERD" }, { "graphics_id": "MAP_OBJ_GFX_CUT_TREE", @@ -95,7 +95,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_1BDF13", - "flag": "FLAG_0x012" + "flag": "FLAG_TEMP_12" }, { "graphics_id": "MAP_OBJ_GFX_ITEM_BALL", diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc index 9ccc7f1f5..5e7753ea9 100644 --- a/data/maps/TwoIsland/scripts.inc +++ b/data/maps/TwoIsland/scripts.inc @@ -54,17 +54,17 @@ EventScript_1675EE:: @ 81675EE EventScript_1675F4:: @ 81675F4 setvar VAR_MAP_SCENE_TWO_ISLAND, 2 - clearflag FLAG_0x07B + clearflag FLAG_HIDE_TWO_ISLAND_WOMAN return EventScript_1675FD:: @ 81675FD setvar VAR_MAP_SCENE_TWO_ISLAND, 3 - clearflag FLAG_0x07C + clearflag FLAG_HIDE_TWO_ISLAND_BEAUTY return EventScript_167606:: @ 8167606 setvar VAR_MAP_SCENE_TWO_ISLAND, 4 - clearflag FLAG_0x07D + clearflag FLAG_HIDE_TWO_ISLAND_SUPER_NERD return TwoIsland_EventScript_16760F:: @ 816760F -- cgit v1.2.3 From 26d8c4d04b174e40b62298a6bf42e2bad67cf81c Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 19 Oct 2019 21:41:03 -0400 Subject: Name all item ball hide/show flags --- data/maps/TwoIsland/map.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/map.json b/data/maps/TwoIsland/map.json index ebbabf5c1..704b95e20 100644 --- a/data/maps/TwoIsland/map.json +++ b/data/maps/TwoIsland/map.json @@ -108,7 +108,7 @@ "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, "script": "TwoIsland_EventScript_1BEAAF", - "flag": "FLAG_0x1BA" + "flag": "FLAG_HIDE_TWO_ISLAND_REVIVE" }, { "graphics_id": "MAP_OBJ_GFX_LITTLE_BOY", -- cgit v1.2.3 From 9d8c5b22506ee867785012db89a9ab1c3006179a Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 19 Oct 2019 22:37:08 -0400 Subject: Two additional script macros --- data/maps/TwoIsland/scripts.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc index 5e7753ea9..dffb46302 100644 --- a/data/maps/TwoIsland/scripts.inc +++ b/data/maps/TwoIsland/scripts.inc @@ -209,9 +209,7 @@ TwoIsland_EventScript_167755:: @ 8167755 TwoIsland_EventScript_16775E:: @ 816775E lock faceplayer - setvar VAR_0x8004, 10 - setvar VAR_0x8005, 4 - special SetFlavorTextFlagFromSpecialVars + famechecker FAMECHECKER_BRUNO, 4 msgbox gUnknown_8181E47 release end -- cgit v1.2.3 From 6b503e306d73c749794cf7b61126287e3941f12f Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 20 Oct 2019 20:38:23 -0400 Subject: script switch/case; name script conditionals --- data/maps/TwoIsland/scripts.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc index dffb46302..b09f1b0c0 100644 --- a/data/maps/TwoIsland/scripts.inc +++ b/data/maps/TwoIsland/scripts.inc @@ -20,27 +20,27 @@ EventScript_167576:: @ 8167576 EventScript_167597:: @ 8167597 checkflag FLAG_0x29D - goto_if 0, EventScript_1675EE + goto_if lt, EventScript_1675EE checkflag FLAG_0x29E - goto_if 0, EventScript_1675F4 + goto_if lt, EventScript_1675F4 checkflag FLAG_0x29F - goto_if 0, EventScript_1675FD + goto_if lt, EventScript_1675FD goto EventScript_167606 end EventScript_1675B8:: @ 81675B8 checkflag FLAG_0x29D - goto_if 0, EventScript_1675EE + goto_if lt, EventScript_1675EE checkflag FLAG_0x2A3 - goto_if 0, EventScript_1675EE + goto_if lt, EventScript_1675EE checkflag FLAG_0x29E - goto_if 0, EventScript_1675F4 + goto_if lt, EventScript_1675F4 goto EventScript_1675FD end EventScript_1675D9:: @ 81675D9 checkflag FLAG_0x29D - goto_if 0, EventScript_1675EE + goto_if lt, EventScript_1675EE goto EventScript_1675F4 end -- cgit v1.2.3 From 9aa5709329f4cbd497d0f21af10218f8a7547151 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 20 Oct 2019 21:24:16 -0400 Subject: use TRUE and FALSE for flag conditionals; more story flags --- data/maps/TwoIsland/scripts.inc | 42 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc index b09f1b0c0..409f477d6 100644 --- a/data/maps/TwoIsland/scripts.inc +++ b/data/maps/TwoIsland/scripts.inc @@ -10,37 +10,37 @@ TwoIsland_MapScript1_16756A:: @ 816756A EventScript_167576:: @ 8167576 checkflag FLAG_0x844 - goto_if_eq EventScript_167597 + goto_if TRUE, EventScript_167597 checkflag FLAG_SYS_GAME_CLEAR - goto_if_eq EventScript_1675B8 + goto_if TRUE, EventScript_1675B8 checkflag FLAG_0x2A3 - goto_if_eq EventScript_1675D9 + goto_if TRUE, EventScript_1675D9 goto EventScript_1675E8 end EventScript_167597:: @ 8167597 checkflag FLAG_0x29D - goto_if lt, EventScript_1675EE + goto_if FALSE, EventScript_1675EE checkflag FLAG_0x29E - goto_if lt, EventScript_1675F4 + goto_if FALSE, EventScript_1675F4 checkflag FLAG_0x29F - goto_if lt, EventScript_1675FD + goto_if FALSE, EventScript_1675FD goto EventScript_167606 end EventScript_1675B8:: @ 81675B8 checkflag FLAG_0x29D - goto_if lt, EventScript_1675EE + goto_if FALSE, EventScript_1675EE checkflag FLAG_0x2A3 - goto_if lt, EventScript_1675EE + goto_if FALSE, EventScript_1675EE checkflag FLAG_0x29E - goto_if lt, EventScript_1675F4 + goto_if FALSE, EventScript_1675F4 goto EventScript_1675FD end EventScript_1675D9:: @ 81675D9 checkflag FLAG_0x29D - goto_if lt, EventScript_1675EE + goto_if FALSE, EventScript_1675EE goto EventScript_1675F4 end @@ -70,21 +70,21 @@ EventScript_167606:: @ 8167606 TwoIsland_EventScript_16760F:: @ 816760F special sub_8110AB4 compare_var_to_value VAR_RESULT, 2 - goto_if_eq EventScript_1A7AE0 + goto_if eq, EventScript_1A7AE0 lock faceplayer compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 4 - goto_if_eq EventScript_167646 + goto_if eq, EventScript_167646 compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 3 - goto_if_eq EventScript_16765E + goto_if eq, EventScript_16765E compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 2 - goto_if_eq EventScript_167676 + goto_if eq, EventScript_167676 goto EventScript_16768E end EventScript_167646:: @ 8167646 checkflag FLAG_0x2A0 - goto_if_eq EventScript_1676A6 + goto_if TRUE, EventScript_1676A6 setflag FLAG_0x2A0 message Text_181CAE waitmessage @@ -93,7 +93,7 @@ EventScript_167646:: @ 8167646 EventScript_16765E:: @ 816765E checkflag FLAG_0x29F - goto_if_eq EventScript_1676A6 + goto_if TRUE, EventScript_1676A6 setflag FLAG_0x29F message Text_181C77 waitmessage @@ -102,7 +102,7 @@ EventScript_16765E:: @ 816765E EventScript_167676:: @ 8167676 checkflag FLAG_0x29E - goto_if_eq EventScript_1676A6 + goto_if TRUE, EventScript_1676A6 setflag FLAG_0x29E message Text_181B7C waitmessage @@ -111,7 +111,7 @@ EventScript_167676:: @ 8167676 EventScript_16768E:: @ 816768E checkflag FLAG_0x29D - goto_if_eq EventScript_1676A6 + goto_if TRUE, EventScript_1676A6 setflag FLAG_0x29D message Text_181AFE waitmessage @@ -122,11 +122,11 @@ EventScript_1676A6:: @ 81676A6 message Text_1A6211 waitmessage compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 4 - goto_if_eq EventScript_167728 + goto_if eq, EventScript_167728 compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 3 - goto_if_eq EventScript_167708 + goto_if eq, EventScript_167708 compare_var_to_value VAR_MAP_SCENE_TWO_ISLAND, 2 - goto_if_eq EventScript_1676EC + goto_if eq, EventScript_1676EC goto EventScript_1676D3 end -- cgit v1.2.3 From 3ab70c735e86369dc927beb5cddf7adc2e96afd9 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 20 Oct 2019 22:14:22 -0400 Subject: Story flags through mystic ticket --- data/maps/TwoIsland/scripts.inc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc index 409f477d6..1b4f2383a 100644 --- a/data/maps/TwoIsland/scripts.inc +++ b/data/maps/TwoIsland/scripts.inc @@ -4,7 +4,7 @@ TwoIsland_MapScripts:: @ 8167564 TwoIsland_MapScript1_16756A:: @ 816756A setworldmapflag FLAG_WORLD_MAP_TWO_ISLAND - setflag FLAG_0x2A2 + setflag FLAG_VISITED_TWO_ISLAND call EventScript_167576 end @@ -13,33 +13,33 @@ EventScript_167576:: @ 8167576 goto_if TRUE, EventScript_167597 checkflag FLAG_SYS_GAME_CLEAR goto_if TRUE, EventScript_1675B8 - checkflag FLAG_0x2A3 + checkflag FLAG_RESCUED_LOSTELLE goto_if TRUE, EventScript_1675D9 goto EventScript_1675E8 end EventScript_167597:: @ 8167597 - checkflag FLAG_0x29D + checkflag FLAG_TWO_ISLAND_SHOP_INTRODUCED goto_if FALSE, EventScript_1675EE - checkflag FLAG_0x29E + checkflag FLAG_TWO_ISLAND_SHOP_EXPANDED_1 goto_if FALSE, EventScript_1675F4 - checkflag FLAG_0x29F + checkflag FLAG_TWO_ISLAND_SHOP_EXPANDED_2 goto_if FALSE, EventScript_1675FD goto EventScript_167606 end EventScript_1675B8:: @ 81675B8 - checkflag FLAG_0x29D + checkflag FLAG_TWO_ISLAND_SHOP_INTRODUCED goto_if FALSE, EventScript_1675EE - checkflag FLAG_0x2A3 + checkflag FLAG_RESCUED_LOSTELLE goto_if FALSE, EventScript_1675EE - checkflag FLAG_0x29E + checkflag FLAG_TWO_ISLAND_SHOP_EXPANDED_1 goto_if FALSE, EventScript_1675F4 goto EventScript_1675FD end EventScript_1675D9:: @ 81675D9 - checkflag FLAG_0x29D + checkflag FLAG_TWO_ISLAND_SHOP_INTRODUCED goto_if FALSE, EventScript_1675EE goto EventScript_1675F4 end @@ -83,36 +83,36 @@ TwoIsland_EventScript_16760F:: @ 816760F end EventScript_167646:: @ 8167646 - checkflag FLAG_0x2A0 + checkflag FLAG_TWO_ISLAND_SHOP_EXPANDED_3 goto_if TRUE, EventScript_1676A6 - setflag FLAG_0x2A0 + setflag FLAG_TWO_ISLAND_SHOP_EXPANDED_3 message Text_181CAE waitmessage goto EventScript_167728 end EventScript_16765E:: @ 816765E - checkflag FLAG_0x29F + checkflag FLAG_TWO_ISLAND_SHOP_EXPANDED_2 goto_if TRUE, EventScript_1676A6 - setflag FLAG_0x29F + setflag FLAG_TWO_ISLAND_SHOP_EXPANDED_2 message Text_181C77 waitmessage goto EventScript_167708 end EventScript_167676:: @ 8167676 - checkflag FLAG_0x29E + checkflag FLAG_TWO_ISLAND_SHOP_EXPANDED_1 goto_if TRUE, EventScript_1676A6 - setflag FLAG_0x29E + setflag FLAG_TWO_ISLAND_SHOP_EXPANDED_1 message Text_181B7C waitmessage goto EventScript_1676EC end EventScript_16768E:: @ 816768E - checkflag FLAG_0x29D + checkflag FLAG_TWO_ISLAND_SHOP_INTRODUCED goto_if TRUE, EventScript_1676A6 - setflag FLAG_0x29D + setflag FLAG_TWO_ISLAND_SHOP_INTRODUCED message Text_181AFE waitmessage goto EventScript_1676D3 -- cgit v1.2.3 From 221259d0d6127013c92c1fe7f8bcb794cf0b9149 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 21 Oct 2019 10:42:24 -0400 Subject: sys flags --- data/maps/TwoIsland/scripts.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc index 1b4f2383a..3d35a89c1 100644 --- a/data/maps/TwoIsland/scripts.inc +++ b/data/maps/TwoIsland/scripts.inc @@ -9,7 +9,7 @@ TwoIsland_MapScript1_16756A:: @ 816756A end EventScript_167576:: @ 8167576 - checkflag FLAG_0x844 + checkflag FLAG_SYS_CAN_LINK_WITH_RS goto_if TRUE, EventScript_167597 checkflag FLAG_SYS_GAME_CLEAR goto_if TRUE, EventScript_1675B8 -- cgit v1.2.3 From 8efca06db2f5517a5383ac50525c4331cf99ec2d Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 21 Oct 2019 15:54:50 -0400 Subject: Cut, Strength, Rock Smash script names --- data/maps/TwoIsland/map.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/maps/TwoIsland') diff --git a/data/maps/TwoIsland/map.json b/data/maps/TwoIsland/map.json index 704b95e20..64aba9d7f 100644 --- a/data/maps/TwoIsland/map.json +++ b/data/maps/TwoIsland/map.json @@ -94,7 +94,7 @@ "movement_range_y": 1, "trainer_type": 0, "trainer_sight_or_berry_tree_id": 0, - "script": "TwoIsland_EventScript_1BDF13", + "script": "EventScript_InteractWithCutTreeObject", "flag": "FLAG_TEMP_12" }, { -- cgit v1.2.3