summaryrefslogtreecommitdiff
path: root/data/maps/SSAnne_Kitchen
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-01-12 17:04:23 -0500
committerGitHub <noreply@github.com>2020-01-12 17:04:23 -0500
commit92d99d4fd2e5579372b9f4cc39468000553ba3a8 (patch)
tree4ff8e60d1ad6a25dad888a4e78011624b46ad9ec /data/maps/SSAnne_Kitchen
parent15ff7eb2f87032797f6ce9ef9bb471c468b48a36 (diff)
parent0676e732869d0e62322b001cbab57b8500361005 (diff)
Merge pull request #207 from GriffinRichards/sync-script
Sync scripts with pokeemerald
Diffstat (limited to 'data/maps/SSAnne_Kitchen')
-rw-r--r--data/maps/SSAnne_Kitchen/map.json2
-rw-r--r--data/maps/SSAnne_Kitchen/scripts.inc24
2 files changed, 13 insertions, 13 deletions
diff --git a/data/maps/SSAnne_Kitchen/map.json b/data/maps/SSAnne_Kitchen/map.json
index 968d87938..cb062a8fd 100644
--- a/data/maps/SSAnne_Kitchen/map.json
+++ b/data/maps/SSAnne_Kitchen/map.json
@@ -114,7 +114,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "SSAnne_Kitchen_EventScript_1BE6AC",
+ "script": "SSAnne_Kitchen_EventScript_ItemGreatBall",
"flag": "FLAG_HIDE_SSANNE_KITCHEN_GREAT_BALL"
}
],
diff --git a/data/maps/SSAnne_Kitchen/scripts.inc b/data/maps/SSAnne_Kitchen/scripts.inc
index 8ab022028..565efd607 100644
--- a/data/maps/SSAnne_Kitchen/scripts.inc
+++ b/data/maps/SSAnne_Kitchen/scripts.inc
@@ -2,15 +2,15 @@ SSAnne_Kitchen_MapScripts:: @ 8160AB2
.byte 0
SSAnne_Kitchen_EventScript_160AB3:: @ 8160AB3
- msgbox gUnknown_81733F8, 2
+ msgbox gUnknown_81733F8, MSGBOX_NPC
end
SSAnne_Kitchen_EventScript_160ABC:: @ 8160ABC
- msgbox gUnknown_8173429, 2
+ msgbox gUnknown_8173429, MSGBOX_NPC
end
SSAnne_Kitchen_EventScript_160AC5:: @ 8160AC5
- msgbox gUnknown_8173462, 2
+ msgbox gUnknown_8173462, MSGBOX_NPC
end
SSAnne_Kitchen_EventScript_160ACE:: @ 8160ACE
@@ -19,12 +19,12 @@ SSAnne_Kitchen_EventScript_160ACE:: @ 8160ACE
msgbox gUnknown_8173570
random 3
copyvar VAR_0x8008, VAR_RESULT
- compare_var_to_value VAR_0x8008, 0
- call_if eq, EventScript_160B03
- compare_var_to_value VAR_0x8008, 1
- call_if eq, EventScript_160B0C
- compare_var_to_value VAR_0x8008, 2
- call_if eq, EventScript_160B15
+ compare VAR_0x8008, 0
+ call_if_eq EventScript_160B03
+ compare VAR_0x8008, 1
+ call_if_eq EventScript_160B0C
+ compare VAR_0x8008, 2
+ call_if_eq EventScript_160B15
release
end
@@ -41,13 +41,13 @@ EventScript_160B15:: @ 8160B15
return
SSAnne_Kitchen_EventScript_160B1E:: @ 8160B1E
- msgbox gUnknown_81734A0, 2
+ msgbox gUnknown_81734A0, MSGBOX_NPC
end
SSAnne_Kitchen_EventScript_160B27:: @ 8160B27
- msgbox gUnknown_81734D3, 2
+ msgbox gUnknown_81734D3, MSGBOX_NPC
end
SSAnne_Kitchen_EventScript_160B30:: @ 8160B30
- msgbox gUnknown_817353E, 2
+ msgbox gUnknown_817353E, MSGBOX_NPC
end