Port some macro/script fixes from pokefirered

This commit is contained in:
GriffinR
2020-01-11 12:02:58 -05:00
parent 8b1595ebc3
commit f2e7b1507e
107 changed files with 528 additions and 561 deletions

View File

@@ -727,7 +727,7 @@ SlateportCity_EventScript_BerryPowderClerk:: @ 81DD36E
faceplayer
goto_if_set FLAG_RECEIVED_POWDER_JAR, SlateportCity_EventScript_ReceivedPowderJar
msgbox SlateportCity_Text_ExplainBerries, MSGBOX_DEFAULT
giveitem_std ITEM_POWDER_JAR
giveitem ITEM_POWDER_JAR
setflag FLAG_RECEIVED_POWDER_JAR
msgbox SlateportCity_Text_ExplainBerryPowder, MSGBOX_DEFAULT
release
@@ -861,7 +861,7 @@ SlateportCity_EventScript_TryBuyBerryPowderItem:: @ 81DD557
specialvar VAR_RESULT, HasEnoughBerryPowder
compare VAR_RESULT, FALSE
goto_if_eq SlateportCity_EventScript_NotEnoughBerryPowder
giveitem_std VAR_0x8008
giveitem VAR_0x8008
compare VAR_RESULT, FALSE
goto_if_eq SlateportCity_EventScript_NoRoomForBerryPowderItem
copyvar VAR_0x8004, VAR_0x8009