Merge branch 'master' of https://github.com/pret/pokeemerald into fix-eventobj
This commit is contained in:
@@ -237,7 +237,7 @@ SlateportCity_Harbor_EventScript_BoardFerry:: @ 820CBE9
|
||||
compare VAR_FACING, DIR_EAST
|
||||
call_if_eq SlateportCity_Harbor_EventScript_BoardFerryEast
|
||||
delay 30
|
||||
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_PETALBURG_CITY
|
||||
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||
setvar VAR_0x8004, 5
|
||||
call Common_EventScript_FerryDepart
|
||||
return
|
||||
@@ -358,10 +358,10 @@ SlateportCity_Harbor_EventScript_DeepSeaTooth:: @ 820CD7B
|
||||
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaTooth, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
|
||||
giveitem_std ITEM_DEEP_SEA_TOOTH
|
||||
giveitem ITEM_DEEP_SEA_TOOTH
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
takeitem ITEM_SCANNER, 1
|
||||
removeitem ITEM_SCANNER
|
||||
msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
|
||||
setflag FLAG_EXCHANGED_SCANNER
|
||||
goto SlateportCity_Harbor_EventScript_TradedScanner
|
||||
@@ -371,10 +371,10 @@ SlateportCity_Harbor_EventScript_DeepSeaScale:: @ 820CDBB
|
||||
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaScale, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
|
||||
giveitem_std ITEM_DEEP_SEA_SCALE
|
||||
giveitem ITEM_DEEP_SEA_SCALE
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
takeitem ITEM_SCANNER, 1
|
||||
removeitem ITEM_SCANNER
|
||||
msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
|
||||
setflag FLAG_EXCHANGED_SCANNER
|
||||
goto SlateportCity_Harbor_EventScript_TradedScanner
|
||||
|
||||
Reference in New Issue
Block a user