Sync obtain item

This commit is contained in:
GriffinR
2020-01-10 16:21:36 -05:00
parent 388c40575d
commit a537577671
16 changed files with 152 additions and 148 deletions
@@ -10,8 +10,8 @@ CeladonCity_Condominiums_1F_EventScript_16C321:: @ 816C321
msgbox gUnknown_81960C9
setflag FLAG_GOT_TEA
giveitem ITEM_TEA
compare VAR_RESULT, 0
goto_if_eq EventScript_1A6BF9
compare VAR_RESULT, FALSE
goto_if_eq EventScript_BagIsFull
msgbox gUnknown_8196109
release
end
+2 -2
View File
@@ -12,8 +12,8 @@ CeruleanCity_House5_EventScript_16AE50:: @ 816AE50
msgbox gUnknown_8193003
setflag FLAG_GOT_POWDER_JAR
giveitem ITEM_POWDER_JAR
compare VAR_RESULT, 0
goto_if_eq EventScript_1A6BF9
compare VAR_RESULT, FALSE
goto_if_eq EventScript_BagIsFull
msgbox gUnknown_8193033
release
end
@@ -27,7 +27,7 @@ EventScript_168C41:: @ 8168C41
EventScript_168C4A:: @ 8168C4A
msgbox gUnknown_818D3D1
closemessage
call EventScript_FadeOut_Heal_FadeIn
call EventScript_OutOfCenterPartyHeal
msgbox gUnknown_818D3F8
release
end
+4 -4
View File
@@ -40,8 +40,8 @@ RocketHideout_B4F_EventScript_161363:: @ 8161363
faceplayer
removeobject 2
giveitem ITEM_SILPH_SCOPE
compare VAR_RESULT, 0
goto_if_eq EventScript_1A6BF9
compare VAR_RESULT, FALSE
goto_if_eq EventScript_BagIsFull
release
end
@@ -64,8 +64,8 @@ RocketHideout_B4F_EventScript_1613AD:: @ 81613AD
setflag FLAG_CAN_USE_ROCKET_HIDEOUT_LIFT
removeobject 4
giveitem ITEM_LIFT_KEY
compare VAR_RESULT, 0
goto_if_eq EventScript_1A6BF9
compare VAR_RESULT, FALSE
goto_if_eq EventScript_BagIsFull
release
end
+1 -1
View File
@@ -9,7 +9,7 @@ Route1_EventScript_167EFE:: @ 8167EFE
textcolor 3
checkitemspace ITEM_POTION, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_1A6BF9
goto_if_eq EventScript_BagIsFull
getitemname 1, ITEM_POTION
playfanfare MUS_FANFA1
message Text_ObtainedTheX
+1 -1
View File
@@ -8,7 +8,7 @@ SSAnne_1F_Room6_EventScript_160DF3:: @ 8160DF3
compare VAR_RESULT, NO
goto_if_eq EventScript_160E18
closemessage
call EventScript_FadeOut_Heal_FadeIn
call EventScript_OutOfCenterPartyHeal
msgbox gUnknown_8174490
release
end
@@ -27,7 +27,7 @@ SevenIsland_SevaultCanyon_House_EventScript_172183:: @ 8172183
waitmovement 0
fadedefaultbgm
delay 30
call EventScript_FadeOut_Heal_FadeIn
call EventScript_OutOfCenterPartyHeal
msgbox gUnknown_81A4DF5
setflag FLAG_TEMP_2
release
+1 -1
View File
@@ -16,7 +16,7 @@ SilphCo_9F_EventScript_161D09:: @ 8161D09
goto_if_ge EventScript_161D2E
msgbox gUnknown_8176B54
closemessage
call EventScript_FadeOut_Heal_FadeIn
call EventScript_OutOfCenterPartyHeal
msgbox gUnknown_8176B81
release
end
+6 -6
View File
@@ -57,19 +57,19 @@ VermilionCity_EventScript_166941:: @ 8166941
end
EventScript_166958:: @ 8166958
goto_if_unset FLAG_SYS_GOT_MYSTIC_TICKET, EventScript_1A77B0
goto_if_unset FLAG_SYS_GOT_MYSTIC_TICKET, EventScript_SetResultFalse
checkitem ITEM_MYSTIC_TICKET, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_1A77B0
goto EventScript_1A77AA
goto_if_eq EventScript_SetResultFalse
goto EventScript_SetResultTrue
end
EventScript_166977:: @ 8166977
goto_if_unset FLAG_SYS_GOT_AURORA_TICKET, EventScript_1A77B0
goto_if_unset FLAG_SYS_GOT_AURORA_TICKET, EventScript_SetResultFalse
checkitem ITEM_AURORA_TICKET, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_1A77B0
goto EventScript_1A77AA
goto_if_eq EventScript_SetResultFalse
goto EventScript_SetResultTrue
end
EventScript_166996:: @ 8166996