Merge branch 'master' of https://github.com/pret/pokeemerald into fix-eventobj
This commit is contained in:
@@ -64,7 +64,7 @@ my $undoc_cmd = "grep '[Uu]nknown_[0-9a-fA-F]*\\|sub_[0-9a-fA-F]*'";
|
|||||||
# This looks for every symbol with an address at the end of it. Some things are
|
# This looks for every symbol with an address at the end of it. Some things are
|
||||||
# given a name based on their type / location, but still have an unknown purpose.
|
# given a name based on their type / location, but still have an unknown purpose.
|
||||||
# For example, FooMap_EventScript_FFFFFFF.
|
# For example, FooMap_EventScript_FFFFFFF.
|
||||||
my $partial_doc_cmd = "grep '[0-9a-fA-F]\\{6,7\\}'";
|
my $partial_doc_cmd = "grep '_[0-28][0-9a-fA-F]\\{5,6\\}'";
|
||||||
|
|
||||||
my $count_cmd = "wc -l";
|
my $count_cmd = "wc -l";
|
||||||
|
|
||||||
|
|||||||
+48
-18
@@ -469,14 +469,14 @@
|
|||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ Attempts to add quantity of item index to the player's Bag. If the player has enough room, the item will be added and VAR_RESULT will be set to TRUE; otherwise, VAR_RESULT is set to FALSE.
|
@ Attempts to add quantity of item index to the player's Bag. If the player has enough room, the item will be added and VAR_RESULT will be set to TRUE; otherwise, VAR_RESULT is set to FALSE.
|
||||||
.macro giveitem index:req, quantity:req
|
.macro additem index:req, quantity=1
|
||||||
.byte 0x44
|
.byte 0x44
|
||||||
.2byte \index
|
.2byte \index
|
||||||
.2byte \quantity
|
.2byte \quantity
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ Removes quantity of item index from the player's Bag.
|
@ Removes quantity of item index from the player's Bag.
|
||||||
.macro takeitem index:req, quantity:req
|
.macro removeitem index:req, quantity=1
|
||||||
.byte 0x45
|
.byte 0x45
|
||||||
.2byte \index
|
.2byte \index
|
||||||
.2byte \quantity
|
.2byte \quantity
|
||||||
@@ -503,7 +503,7 @@
|
|||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ Adds a quantity amount of item index to the player's PC. Both arguments can be variables.
|
@ Adds a quantity amount of item index to the player's PC. Both arguments can be variables.
|
||||||
.macro givepcitem index:req, quantity:req
|
.macro addpcitem index:req, quantity:req
|
||||||
.byte 0x49
|
.byte 0x49
|
||||||
.2byte \index
|
.2byte \index
|
||||||
.2byte \quantity
|
.2byte \quantity
|
||||||
@@ -517,13 +517,13 @@
|
|||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ Adds decoration to the player's PC. In FireRed, this command is a nop. (The argument is read, but not used for anything.)
|
@ Adds decoration to the player's PC. In FireRed, this command is a nop. (The argument is read, but not used for anything.)
|
||||||
.macro givedecoration decoration:req
|
.macro adddecoration decoration:req
|
||||||
.byte 0x4b
|
.byte 0x4b
|
||||||
.2byte \decoration
|
.2byte \decoration
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ Removes a decoration from the player's PC. In FireRed, this command is a nop. (The argument is read, but not used for anything.)
|
@ Removes a decoration from the player's PC. In FireRed, this command is a nop. (The argument is read, but not used for anything.)
|
||||||
.macro takedecoration decoration:req
|
.macro removedecoration decoration:req
|
||||||
.byte 0x4c
|
.byte 0x4c
|
||||||
.2byte \decoration
|
.2byte \decoration
|
||||||
.endm
|
.endm
|
||||||
@@ -1050,14 +1050,14 @@
|
|||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ If check is 0x00, this command adds value to the player's money.
|
@ If check is 0x00, this command adds value to the player's money.
|
||||||
.macro givemoney value:req, check:req
|
.macro addmoney value:req, check:req
|
||||||
.byte 0x90
|
.byte 0x90
|
||||||
.4byte \value
|
.4byte \value
|
||||||
.byte \check
|
.byte \check
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ If check is 0x00, this command subtracts value from the player's money.
|
@ If check is 0x00, this command subtracts value from the player's money.
|
||||||
.macro takemoney value:req, check:req
|
.macro removemoney value:req, check:req
|
||||||
.byte 0x91
|
.byte 0x91
|
||||||
.4byte \value
|
.4byte \value
|
||||||
.byte \check
|
.byte \check
|
||||||
@@ -1281,12 +1281,12 @@
|
|||||||
.2byte \out
|
.2byte \out
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro givecoins count:req
|
.macro addcoins count:req
|
||||||
.byte 0xb4
|
.byte 0xb4
|
||||||
.2byte \count
|
.2byte \count
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro takecoins count:req
|
.macro removecoins count:req
|
||||||
.byte 0xb5
|
.byte 0xb5
|
||||||
.2byte \count
|
.2byte \count
|
||||||
.endm
|
.endm
|
||||||
@@ -1564,12 +1564,12 @@
|
|||||||
|
|
||||||
.macro goto_if_unset flag:req, dest:req
|
.macro goto_if_unset flag:req, dest:req
|
||||||
checkflag \flag
|
checkflag \flag
|
||||||
goto_if 0, \dest
|
goto_if FALSE, \dest
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro goto_if_set flag:req, dest:req
|
.macro goto_if_set flag:req, dest:req
|
||||||
checkflag \flag
|
checkflag \flag
|
||||||
goto_if 1, \dest
|
goto_if TRUE, \dest
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro goto_if_lt dest:req @ LESS THAN
|
.macro goto_if_lt dest:req @ LESS THAN
|
||||||
@@ -1598,12 +1598,12 @@
|
|||||||
|
|
||||||
.macro call_if_unset flag:req, dest:req
|
.macro call_if_unset flag:req, dest:req
|
||||||
checkflag \flag
|
checkflag \flag
|
||||||
call_if 0, \dest
|
call_if FALSE, \dest
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro call_if_set flag:req, dest:req
|
.macro call_if_set flag:req, dest:req
|
||||||
checkflag \flag
|
checkflag \flag
|
||||||
call_if 1, \dest
|
call_if TRUE, \dest
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro call_if_lt dest:req @ LESS THAN
|
.macro call_if_lt dest:req @ LESS THAN
|
||||||
@@ -1631,11 +1631,41 @@
|
|||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro vgoto_if_eq dest:req
|
.macro vgoto_if_eq dest:req
|
||||||
vgoto_if 1, \dest
|
vgoto_if TRUE, \dest
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro vgoto_if_ne dest:req
|
.macro vgoto_if_ne dest:req
|
||||||
vgoto_if 0, \dest
|
vgoto_if FALSE, \dest
|
||||||
|
.endm
|
||||||
|
|
||||||
|
.macro vgoto_if_unset flag:req, dest:req
|
||||||
|
checkflag \flag
|
||||||
|
vgoto_if FALSE, \dest
|
||||||
|
.endm
|
||||||
|
|
||||||
|
.macro vgoto_if_set flag:req, dest:req
|
||||||
|
checkflag \flag
|
||||||
|
vgoto_if TRUE, \dest
|
||||||
|
.endm
|
||||||
|
|
||||||
|
.macro goto_if_defeated trainer:req, dest:req
|
||||||
|
checktrainerflag \trainer
|
||||||
|
goto_if TRUE, \dest
|
||||||
|
.endm
|
||||||
|
|
||||||
|
.macro goto_if_not_defeated trainer:req, dest:req
|
||||||
|
checktrainerflag \trainer
|
||||||
|
goto_if FALSE, \dest
|
||||||
|
.endm
|
||||||
|
|
||||||
|
.macro call_if_defeated trainer:req, dest:req
|
||||||
|
checktrainerflag \trainer
|
||||||
|
call_if TRUE, \dest
|
||||||
|
.endm
|
||||||
|
|
||||||
|
.macro call_if_not_defeated trainer:req, dest:req
|
||||||
|
checktrainerflag \trainer
|
||||||
|
call_if FALSE, \dest
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro switch var:req
|
.macro switch var:req
|
||||||
@@ -1663,19 +1693,19 @@
|
|||||||
callstd \type
|
callstd \type
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro giveitem_std item:req, amount=1
|
.macro giveitem item:req, amount=1
|
||||||
setorcopyvar VAR_0x8000, \item
|
setorcopyvar VAR_0x8000, \item
|
||||||
setorcopyvar VAR_0x8001, \amount
|
setorcopyvar VAR_0x8001, \amount
|
||||||
callstd STD_OBTAIN_ITEM
|
callstd STD_OBTAIN_ITEM
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro finditem_std item:req, amount=1
|
.macro finditem item:req, amount=1
|
||||||
setorcopyvar VAR_0x8000, \item
|
setorcopyvar VAR_0x8000, \item
|
||||||
setorcopyvar VAR_0x8001, \amount
|
setorcopyvar VAR_0x8001, \amount
|
||||||
callstd STD_FIND_ITEM
|
callstd STD_FIND_ITEM
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro givedecoration_std decoration:req
|
.macro givedecoration decoration:req
|
||||||
setorcopyvar VAR_0x8000, \decoration
|
setorcopyvar VAR_0x8000, \decoration
|
||||||
callstd STD_OBTAIN_DECORATION
|
callstd STD_OBTAIN_DECORATION
|
||||||
.endm
|
.endm
|
||||||
|
|||||||
+4
-61
@@ -570,65 +570,8 @@ gStdScripts_End:: @ 81DC2CC
|
|||||||
.include "data/maps/Route119_House/scripts.inc"
|
.include "data/maps/Route119_House/scripts.inc"
|
||||||
.include "data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc"
|
.include "data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc"
|
||||||
|
|
||||||
@ Below could be split as std_msgbox.inc but autoclose straddles trainer_battle.inc
|
.include "data/scripts/std_msgbox.inc"
|
||||||
Std_MsgboxNPC: @ 8271315
|
|
||||||
lock
|
|
||||||
faceplayer
|
|
||||||
message 0x0
|
|
||||||
waitmessage
|
|
||||||
waitbuttonpress
|
|
||||||
release
|
|
||||||
return
|
|
||||||
|
|
||||||
Std_MsgboxSign: @ 8271320
|
|
||||||
lockall
|
|
||||||
message 0x0
|
|
||||||
waitmessage
|
|
||||||
waitbuttonpress
|
|
||||||
releaseall
|
|
||||||
return
|
|
||||||
|
|
||||||
Std_MsgboxDefault: @ 827132A
|
|
||||||
message 0x0
|
|
||||||
waitmessage
|
|
||||||
waitbuttonpress
|
|
||||||
return
|
|
||||||
|
|
||||||
Std_MsgboxYesNo: @ 8271332
|
|
||||||
message 0x0
|
|
||||||
waitmessage
|
|
||||||
yesnobox 20, 8
|
|
||||||
return
|
|
||||||
|
|
||||||
Std_MsgboxGetPoints: @ 827133C
|
|
||||||
message 0x0
|
|
||||||
playfanfare MUS_ME_POINTGET
|
|
||||||
waitfanfare
|
|
||||||
waitmessage
|
|
||||||
return
|
|
||||||
|
|
||||||
Std_10: @ 8271347
|
|
||||||
pokenavcall 0x0
|
|
||||||
waitmessage
|
|
||||||
return
|
|
||||||
|
|
||||||
EventScript_UnusedReturn: @ 827134E
|
|
||||||
return
|
|
||||||
|
|
||||||
Common_EventScript_SaveGame:: @ 827134F
|
|
||||||
special SaveGame
|
|
||||||
waitstate
|
|
||||||
return
|
|
||||||
|
|
||||||
.include "data/scripts/trainer_battle.inc"
|
.include "data/scripts/trainer_battle.inc"
|
||||||
|
|
||||||
Std_MsgboxAutoclose:: @ 8271494
|
|
||||||
message 0x0
|
|
||||||
waitmessage
|
|
||||||
waitbuttonpress
|
|
||||||
release
|
|
||||||
return
|
|
||||||
|
|
||||||
.include "data/scripts/new_game.inc"
|
.include "data/scripts/new_game.inc"
|
||||||
.include "data/scripts/hall_of_fame.inc"
|
.include "data/scripts/hall_of_fame.inc"
|
||||||
|
|
||||||
@@ -844,7 +787,7 @@ EventScript_UnusedBoardFerry:: @ 827222B
|
|||||||
delay 30
|
delay 30
|
||||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
showobjectat 255, MAP_PETALBURG_CITY
|
showobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||||
delay 30
|
delay 30
|
||||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_UnusedBoardFerry
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_UnusedBoardFerry
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
@@ -861,7 +804,7 @@ Common_EventScript_FerryDepartIsland:: @ 8272250
|
|||||||
compare VAR_FACING, DIR_WEST
|
compare VAR_FACING, DIR_WEST
|
||||||
call_if_eq Ferry_EventScript_DepartIslandWest
|
call_if_eq Ferry_EventScript_DepartIslandWest
|
||||||
delay 30
|
delay 30
|
||||||
hideobjectat 255, MAP_PETALBURG_CITY
|
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||||
call Common_EventScript_FerryDepart
|
call Common_EventScript_FerryDepart
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -880,7 +823,7 @@ Common_EventScript_PlayerHandedOverTheItem:: @ 82723E4
|
|||||||
message gText_PlayerHandedOverTheItem
|
message gText_PlayerHandedOverTheItem
|
||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
takeitem VAR_0x8004, 1
|
removeitem VAR_0x8004
|
||||||
return
|
return
|
||||||
|
|
||||||
.include "data/scripts/elite_four.inc"
|
.include "data/scripts/elite_four.inc"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ AbandonedShip_Corridors_B1F_EventScript_StorageRoomDoor:: @ 8237DC8
|
|||||||
goto_if_eq AbandonedShip_Corridors_B1F_EventScript_DoorIsLocked
|
goto_if_eq AbandonedShip_Corridors_B1F_EventScript_DoorIsLocked
|
||||||
msgbox AbandonedShip_Corridors_B1F_Text_InsertedStorageKey, MSGBOX_DEFAULT
|
msgbox AbandonedShip_Corridors_B1F_Text_InsertedStorageKey, MSGBOX_DEFAULT
|
||||||
playse SE_PIN
|
playse SE_PIN
|
||||||
takeitem ITEM_STORAGE_KEY, 1
|
removeitem ITEM_STORAGE_KEY
|
||||||
setflag FLAG_USED_STORAGE_KEY
|
setflag FLAG_USED_STORAGE_KEY
|
||||||
call AbandonedShip_Corridors_B1F_EventScript_UnlockStorageRoom
|
call AbandonedShip_Corridors_B1F_EventScript_UnlockStorageRoom
|
||||||
special DrawWholeMapView
|
special DrawWholeMapView
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_Room1Door:: @ 8238A19
|
|||||||
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm1IsLocked
|
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm1IsLocked
|
||||||
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
|
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
|
||||||
playse SE_PIN
|
playse SE_PIN
|
||||||
takeitem ITEM_ROOM_1_KEY, 1
|
removeitem ITEM_ROOM_1_KEY
|
||||||
setflag FLAG_USED_ROOM_1_KEY
|
setflag FLAG_USED_ROOM_1_KEY
|
||||||
call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom1
|
call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom1
|
||||||
special DrawWholeMapView
|
special DrawWholeMapView
|
||||||
@@ -73,7 +73,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_Room2Door:: @ 8238A50
|
|||||||
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm2IsLocked
|
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm2IsLocked
|
||||||
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
|
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
|
||||||
playse SE_PIN
|
playse SE_PIN
|
||||||
takeitem ITEM_ROOM_2_KEY, 1
|
removeitem ITEM_ROOM_2_KEY
|
||||||
setflag FLAG_USED_ROOM_2_KEY
|
setflag FLAG_USED_ROOM_2_KEY
|
||||||
call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom2
|
call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom2
|
||||||
special DrawWholeMapView
|
special DrawWholeMapView
|
||||||
@@ -88,7 +88,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_Room4Door:: @ 8238A87
|
|||||||
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm4IsLocked
|
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm4IsLocked
|
||||||
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
|
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
|
||||||
playse SE_PIN
|
playse SE_PIN
|
||||||
takeitem ITEM_ROOM_4_KEY, 1
|
removeitem ITEM_ROOM_4_KEY
|
||||||
setflag FLAG_USED_ROOM_4_KEY
|
setflag FLAG_USED_ROOM_4_KEY
|
||||||
call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom4
|
call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom4
|
||||||
special DrawWholeMapView
|
special DrawWholeMapView
|
||||||
@@ -103,7 +103,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_Room6Door:: @ 8238ABE
|
|||||||
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm6IsLocked
|
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm6IsLocked
|
||||||
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
|
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
|
||||||
playse SE_PIN
|
playse SE_PIN
|
||||||
takeitem ITEM_ROOM_6_KEY, 1
|
removeitem ITEM_ROOM_6_KEY
|
||||||
setflag FLAG_USED_ROOM_6_KEY
|
setflag FLAG_USED_ROOM_6_KEY
|
||||||
call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom6
|
call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom6
|
||||||
special DrawWholeMapView
|
special DrawWholeMapView
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveDecor:: @ 825F0E5
|
|||||||
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_NoRoomForDecor
|
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_NoRoomForDecor
|
||||||
copyvar VAR_0x8004, VAR_0x8008
|
copyvar VAR_0x8004, VAR_0x8008
|
||||||
special TakeFrontierBattlePoints
|
special TakeFrontierBattlePoints
|
||||||
givedecoration VAR_0x8009
|
adddecoration VAR_0x8009
|
||||||
special UpdateBattlePointsWindow
|
special UpdateBattlePointsWindow
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_WellSendItToPC, MSGBOX_DEFAULT
|
msgbox BattleFrontier_ExchangeServiceCorner_Text_WellSendItToPC, MSGBOX_DEFAULT
|
||||||
@@ -61,7 +61,7 @@ BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveItem:: @ 825F12A
|
|||||||
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_BagFull
|
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_BagFull
|
||||||
copyvar VAR_0x8004, VAR_0x8008
|
copyvar VAR_0x8004, VAR_0x8008
|
||||||
special TakeFrontierBattlePoints
|
special TakeFrontierBattlePoints
|
||||||
giveitem VAR_0x8009, 1
|
additem VAR_0x8009
|
||||||
special UpdateBattlePointsWindow
|
special UpdateBattlePointsWindow
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_HereIsYourPrize, MSGBOX_DEFAULT
|
msgbox BattleFrontier_ExchangeServiceCorner_Text_HereIsYourPrize, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ BattleFrontier_ScottsHouse_EventScript_CheckSilverSymbols:: @ 8263704
|
|||||||
goto_if_unset FLAG_SYS_PIKE_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
|
goto_if_unset FLAG_SYS_PIKE_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
|
||||||
goto_if_unset FLAG_SYS_PYRAMID_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
|
goto_if_unset FLAG_SYS_PYRAMID_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
|
||||||
msgbox BattleFrontier_ScottsHouse_Text_YouveCollectedAllSilverSymbols, MSGBOX_DEFAULT
|
msgbox BattleFrontier_ScottsHouse_Text_YouveCollectedAllSilverSymbols, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_LANSAT_BERRY
|
giveitem ITEM_LANSAT_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq BattleFrontier_ScottsHouse_EventScript_BerryPocketFull
|
goto_if_eq BattleFrontier_ScottsHouse_EventScript_BerryPocketFull
|
||||||
setflag FLAG_COLLECTED_ALL_SILVER_SYMBOLS
|
setflag FLAG_COLLECTED_ALL_SILVER_SYMBOLS
|
||||||
@@ -49,7 +49,7 @@ BattleFrontier_ScottsHouse_EventScript_CheckGoldSymbols:: @ 826376A
|
|||||||
goto_if_unset FLAG_SYS_PIKE_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
|
goto_if_unset FLAG_SYS_PIKE_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
|
||||||
goto_if_unset FLAG_SYS_PYRAMID_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
|
goto_if_unset FLAG_SYS_PYRAMID_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
|
||||||
msgbox BattleFrontier_ScottsHouse_Text_YouveCollectedAllGoldSymbols, MSGBOX_DEFAULT
|
msgbox BattleFrontier_ScottsHouse_Text_YouveCollectedAllGoldSymbols, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_STARF_BERRY
|
giveitem ITEM_STARF_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq BattleFrontier_ScottsHouse_EventScript_BerryPocketFull
|
goto_if_eq BattleFrontier_ScottsHouse_EventScript_BerryPocketFull
|
||||||
setflag FLAG_COLLECTED_ALL_GOLD_SYMBOLS
|
setflag FLAG_COLLECTED_ALL_GOLD_SYMBOLS
|
||||||
@@ -102,7 +102,7 @@ BattleFrontier_ScottsHouse_EventScript_CheckGiveSilverShield:: @ 826381B
|
|||||||
|
|
||||||
BattleFrontier_ScottsHouse_EventScript_GiveSilverShield:: @ 826387A
|
BattleFrontier_ScottsHouse_EventScript_GiveSilverShield:: @ 826387A
|
||||||
msgbox BattleFrontier_ScottsHouse_Text_Beat50TrainersInARow, MSGBOX_DEFAULT
|
msgbox BattleFrontier_ScottsHouse_Text_Beat50TrainersInARow, MSGBOX_DEFAULT
|
||||||
givedecoration_std DECOR_SILVER_SHIELD
|
givedecoration DECOR_SILVER_SHIELD
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq BattleFrontier_ScottsHouse_EventScript_NoRoomForShield
|
goto_if_eq BattleFrontier_ScottsHouse_EventScript_NoRoomForShield
|
||||||
setflag FLAG_RECEIVED_SILVER_SHIELD
|
setflag FLAG_RECEIVED_SILVER_SHIELD
|
||||||
@@ -135,7 +135,7 @@ BattleFrontier_ScottsHouse_EventScript_CheckGiveGoldShield:: @ 82638B4
|
|||||||
|
|
||||||
BattleFrontier_ScottsHouse_EventScript_GiveGoldShield:: @ 8263913
|
BattleFrontier_ScottsHouse_EventScript_GiveGoldShield:: @ 8263913
|
||||||
msgbox BattleFrontier_ScottsHouse_Text_Beat100TrainersInARow, MSGBOX_DEFAULT
|
msgbox BattleFrontier_ScottsHouse_Text_Beat100TrainersInARow, MSGBOX_DEFAULT
|
||||||
givedecoration_std DECOR_GOLD_SHIELD
|
givedecoration DECOR_GOLD_SHIELD
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq BattleFrontier_ScottsHouse_EventScript_NoRoomForShield
|
goto_if_eq BattleFrontier_ScottsHouse_EventScript_NoRoomForShield
|
||||||
setflag FLAG_RECEIVED_GOLD_SHIELD
|
setflag FLAG_RECEIVED_GOLD_SHIELD
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ DesertUnderpass_EventScript_Fossil:: @ 823AF41
|
|||||||
end
|
end
|
||||||
|
|
||||||
DesertUnderpass_EventScript_GiveClawFossil:: @ 823AF57
|
DesertUnderpass_EventScript_GiveClawFossil:: @ 823AF57
|
||||||
giveitem_std ITEM_CLAW_FOSSIL
|
giveitem ITEM_CLAW_FOSSIL
|
||||||
removeobject 1
|
removeobject 1
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
DesertUnderpass_EventScript_GiveRootFossil:: @ 823AF68
|
DesertUnderpass_EventScript_GiveRootFossil:: @ 823AF68
|
||||||
giveitem_std ITEM_ROOT_FOSSIL
|
giveitem ITEM_ROOT_FOSSIL
|
||||||
removeobject 1
|
removeobject 1
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ DewfordTown_EventScript_OldRodFisherman:: @ 81E95D5
|
|||||||
|
|
||||||
DewfordTown_EventScript_GiveOldRod:: @ 81E95FF
|
DewfordTown_EventScript_GiveOldRod:: @ 81E95FF
|
||||||
msgbox DewfordTown_Text_GiveYouOneOfMyRods, MSGBOX_DEFAULT
|
msgbox DewfordTown_Text_GiveYouOneOfMyRods, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_OLD_ROD
|
giveitem ITEM_OLD_ROD
|
||||||
setflag FLAG_RECEIVED_OLD_ROD
|
setflag FLAG_RECEIVED_OLD_ROD
|
||||||
msgbox DewfordTown_Text_ThrowInFishingAdvice, MSGBOX_DEFAULT
|
msgbox DewfordTown_Text_ThrowInFishingAdvice, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
|
|||||||
@@ -7,8 +7,7 @@ DewfordTown_Gym_OnTransition: @ 81FC642
|
|||||||
end
|
end
|
||||||
|
|
||||||
DewfordTown_Gym_EventScript_SetFlashRadius:: @ 81FC648
|
DewfordTown_Gym_EventScript_SetFlashRadius:: @ 81FC648
|
||||||
checktrainerflag TRAINER_BRAWLY_1
|
goto_if_defeated TRAINER_BRAWLY_1, DewfordTown_Gym_EventScript_SetLightsOn
|
||||||
goto_if_eq DewfordTown_Gym_EventScript_SetLightsOn
|
|
||||||
call DewfordTown_Gym_EventScript_CountTrainersDefeated
|
call DewfordTown_Gym_EventScript_CountTrainersDefeated
|
||||||
copyvar VAR_0x8001, VAR_0x8000
|
copyvar VAR_0x8001, VAR_0x8000
|
||||||
compare VAR_0x8000, 0
|
compare VAR_0x8000, 0
|
||||||
@@ -124,28 +123,22 @@ DewfordTown_Gym_EventScript_AnimateFlashFullBrightness:: @ 81FC75D
|
|||||||
|
|
||||||
DewfordTown_Gym_EventScript_CountTrainersDefeated:: @ 81FC768
|
DewfordTown_Gym_EventScript_CountTrainersDefeated:: @ 81FC768
|
||||||
setvar VAR_0x8000, 0
|
setvar VAR_0x8000, 0
|
||||||
checktrainerflag TRAINER_TAKAO
|
goto_if_not_defeated TRAINER_TAKAO, DewfordTown_Gym_EventScript_CheckJocelyn
|
||||||
goto_if_lt DewfordTown_Gym_EventScript_CheckJocelyn
|
|
||||||
addvar VAR_0x8000, 1
|
addvar VAR_0x8000, 1
|
||||||
DewfordTown_Gym_EventScript_CheckJocelyn:: @ 81FC77B
|
DewfordTown_Gym_EventScript_CheckJocelyn:: @ 81FC77B
|
||||||
checktrainerflag TRAINER_JOCELYN
|
goto_if_not_defeated TRAINER_JOCELYN, DewfordTown_Gym_EventScript_CheckLaura
|
||||||
goto_if_lt DewfordTown_Gym_EventScript_CheckLaura
|
|
||||||
addvar VAR_0x8000, 1
|
addvar VAR_0x8000, 1
|
||||||
DewfordTown_Gym_EventScript_CheckLaura:: @ 81FC789
|
DewfordTown_Gym_EventScript_CheckLaura:: @ 81FC789
|
||||||
checktrainerflag TRAINER_LAURA
|
goto_if_not_defeated TRAINER_LAURA, DewfordTown_Gym_EventScript_CheckBrenden
|
||||||
goto_if_lt DewfordTown_Gym_EventScript_CheckBrenden
|
|
||||||
addvar VAR_0x8000, 1
|
addvar VAR_0x8000, 1
|
||||||
DewfordTown_Gym_EventScript_CheckBrenden:: @ 81FC797
|
DewfordTown_Gym_EventScript_CheckBrenden:: @ 81FC797
|
||||||
checktrainerflag TRAINER_BRENDEN
|
goto_if_not_defeated TRAINER_BRENDEN, DewfordTown_Gym_EventScript_CheckCristian
|
||||||
goto_if_lt DewfordTown_Gym_EventScript_CheckCristian
|
|
||||||
addvar VAR_0x8000, 1
|
addvar VAR_0x8000, 1
|
||||||
DewfordTown_Gym_EventScript_CheckCristian:: @ 81FC7A5
|
DewfordTown_Gym_EventScript_CheckCristian:: @ 81FC7A5
|
||||||
checktrainerflag TRAINER_CRISTIAN
|
goto_if_not_defeated TRAINER_CRISTIAN, DewfordTown_Gym_EventScript_CheckLilith
|
||||||
goto_if_lt DewfordTown_Gym_EventScript_CheckLilith
|
|
||||||
addvar VAR_0x8000, 1
|
addvar VAR_0x8000, 1
|
||||||
DewfordTown_Gym_EventScript_CheckLilith:: @ 81FC7B3
|
DewfordTown_Gym_EventScript_CheckLilith:: @ 81FC7B3
|
||||||
checktrainerflag TRAINER_LILITH
|
goto_if_not_defeated TRAINER_LILITH, DewfordTown_Gym_EventScript_StopCountingTrainers
|
||||||
goto_if_lt DewfordTown_Gym_EventScript_StopCountingTrainers
|
|
||||||
addvar VAR_0x8000, 1
|
addvar VAR_0x8000, 1
|
||||||
DewfordTown_Gym_EventScript_StopCountingTrainers:: @ 81FC7C1
|
DewfordTown_Gym_EventScript_StopCountingTrainers:: @ 81FC7C1
|
||||||
return
|
return
|
||||||
@@ -188,7 +181,7 @@ DewfordTown_Gym_EventScript_BrawlyDefeated:: @ 81FC7F7
|
|||||||
end
|
end
|
||||||
|
|
||||||
DewfordTown_Gym_EventScript_GiveBulkUp:: @ 81FC855
|
DewfordTown_Gym_EventScript_GiveBulkUp:: @ 81FC855
|
||||||
giveitem_std ITEM_TM08
|
giveitem ITEM_TM08
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_BagIsFull
|
goto_if_eq Common_EventScript_BagIsFull
|
||||||
msgbox DewfordTown_Gym_Text_ExplainBulkUp, MSGBOX_DEFAULT
|
msgbox DewfordTown_Gym_Text_ExplainBulkUp, MSGBOX_DEFAULT
|
||||||
@@ -196,7 +189,7 @@ DewfordTown_Gym_EventScript_GiveBulkUp:: @ 81FC855
|
|||||||
return
|
return
|
||||||
|
|
||||||
DewfordTown_Gym_EventScript_GiveBulkUp2: @ 81FC878
|
DewfordTown_Gym_EventScript_GiveBulkUp2: @ 81FC878
|
||||||
giveitem_std ITEM_TM08
|
giveitem ITEM_TM08
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox DewfordTown_Gym_Text_ExplainBulkUp, MSGBOX_DEFAULT
|
msgbox DewfordTown_Gym_Text_ExplainBulkUp, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ DewfordTown_Hall_EventScript_SludgeBombMan:: @ 81FD7DA
|
|||||||
call Common_EventScript_BufferTrendyPhrase
|
call Common_EventScript_BufferTrendyPhrase
|
||||||
goto_if_set FLAG_RECEIVED_TM36, DewfordTown_Hall_EventScript_ReceivedSludgeBomb
|
goto_if_set FLAG_RECEIVED_TM36, DewfordTown_Hall_EventScript_ReceivedSludgeBomb
|
||||||
msgbox DewfordTown_Hall_Text_GiveYouSludgeBomb, MSGBOX_DEFAULT
|
msgbox DewfordTown_Hall_Text_GiveYouSludgeBomb, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM36
|
giveitem ITEM_TM36
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM36
|
setflag FLAG_RECEIVED_TM36
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ DewfordTown_House2_EventScript_Man:: @ 81FE22E
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_SILK_SCARF, DewfordTown_House2_EventScript_ExplainSilkScarf
|
goto_if_set FLAG_RECEIVED_SILK_SCARF, DewfordTown_House2_EventScript_ExplainSilkScarf
|
||||||
msgbox DewfordTown_House2_Text_WantYouToHaveSilkScarf, MSGBOX_DEFAULT
|
msgbox DewfordTown_House2_Text_WantYouToHaveSilkScarf, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_SILK_SCARF
|
giveitem ITEM_SILK_SCARF
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq DewfordTown_House2_EventScript_NoRoomForScarf
|
goto_if_eq DewfordTown_House2_EventScript_NoRoomForScarf
|
||||||
setflag FLAG_RECEIVED_SILK_SCARF
|
setflag FLAG_RECEIVED_SILK_SCARF
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ FallarborTown_CozmosHouse_EventScript_PlayerHasMeteorite:: @ 8200F38
|
|||||||
compare VAR_RESULT, NO
|
compare VAR_RESULT, NO
|
||||||
goto_if_eq FallarborTown_CozmosHouse_EventScript_DeclineGiveMeteorite
|
goto_if_eq FallarborTown_CozmosHouse_EventScript_DeclineGiveMeteorite
|
||||||
msgbox FallarborTown_CozmosHouse_Text_PleaseUseThisTM, MSGBOX_DEFAULT
|
msgbox FallarborTown_CozmosHouse_Text_PleaseUseThisTM, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM27
|
giveitem ITEM_TM27
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setvar VAR_0x8004, ITEM_METEORITE
|
setvar VAR_0x8004, ITEM_METEORITE
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ FallarborTown_MoveRelearnersHouse_EventScript_ChooseMove:: @ 820140C
|
|||||||
compare VAR_0x8004, 0
|
compare VAR_0x8004, 0
|
||||||
goto_if_eq FallarborTown_MoveRelearnersHouse_EventScript_ChooseMon
|
goto_if_eq FallarborTown_MoveRelearnersHouse_EventScript_ChooseMon
|
||||||
msgbox FallarborTown_MoveRelearnersHouse_Text_HandedOverHeartScale, MSGBOX_DEFAULT
|
msgbox FallarborTown_MoveRelearnersHouse_Text_HandedOverHeartScale, MSGBOX_DEFAULT
|
||||||
takeitem ITEM_HEART_SCALE, 1
|
removeitem ITEM_HEART_SCALE
|
||||||
goto FallarborTown_MoveRelearnersHouse_EventScript_ComeBackWithHeartScale
|
goto FallarborTown_MoveRelearnersHouse_EventScript_ComeBackWithHeartScale
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ FortreeCity_Gym_EventScript_WinonaDefeated:: @ 82165FD
|
|||||||
end
|
end
|
||||||
|
|
||||||
FortreeCity_Gym_EventScript_GiveAerialAce2:: @ 8216646
|
FortreeCity_Gym_EventScript_GiveAerialAce2:: @ 8216646
|
||||||
giveitem_std ITEM_TM40
|
giveitem ITEM_TM40
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox FortreeCity_Gym_Text_ExplainAerialAce, MSGBOX_DEFAULT
|
msgbox FortreeCity_Gym_Text_ExplainAerialAce, MSGBOX_DEFAULT
|
||||||
@@ -58,7 +58,7 @@ FortreeCity_Gym_EventScript_GiveAerialAce2:: @ 8216646
|
|||||||
end
|
end
|
||||||
|
|
||||||
FortreeCity_Gym_EventScript_GiveAerialAce:: @ 821666A
|
FortreeCity_Gym_EventScript_GiveAerialAce:: @ 821666A
|
||||||
giveitem_std ITEM_TM40
|
giveitem ITEM_TM40
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_BagIsFull
|
goto_if_eq Common_EventScript_BagIsFull
|
||||||
msgbox FortreeCity_Gym_Text_ExplainAerialAce, MSGBOX_DEFAULT
|
msgbox FortreeCity_Gym_Text_ExplainAerialAce, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ FortreeCity_House2_EventScript_HiddenPowerGiver:: @ 82177CB
|
|||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, FortreeCity_House2_EventScript_WrongGuess
|
case 0, FortreeCity_House2_EventScript_WrongGuess
|
||||||
msgbox FortreeCity_House2_Text_YourHiddenPowerHasAwoken, MSGBOX_DEFAULT
|
msgbox FortreeCity_House2_Text_YourHiddenPowerHasAwoken, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM10
|
giveitem ITEM_TM10
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM10
|
setflag FLAG_RECEIVED_TM10
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ FortreeCity_House4_EventScript_WingullReturned:: @ 8217CD8
|
|||||||
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb, MSGBOX_DEFAULT
|
msgbox FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_MENTAL_HERB
|
giveitem ITEM_MENTAL_HERB
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_MENTAL_HERB
|
setflag FLAG_RECEIVED_MENTAL_HERB
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ GraniteCave_1F_EventScript_Hiker:: @ 822DA5E
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_HM05, GraniteCave_1F_EventScript_ReceivedFlash
|
goto_if_set FLAG_RECEIVED_HM05, GraniteCave_1F_EventScript_ReceivedFlash
|
||||||
msgbox GraniteCave_1F_Text_GetsDarkAheadHereYouGo, MSGBOX_DEFAULT
|
msgbox GraniteCave_1F_Text_GetsDarkAheadHereYouGo, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_HM05
|
giveitem ITEM_HM05
|
||||||
setflag FLAG_RECEIVED_HM05
|
setflag FLAG_RECEIVED_HM05
|
||||||
msgbox GraniteCave_1F_Text_ExplainFlash, MSGBOX_DEFAULT
|
msgbox GraniteCave_1F_Text_ExplainFlash, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ GraniteCave_StevensRoom_EventScript_Steven:: @ 822DC7B
|
|||||||
call Common_EventScript_PlayerHandedOverTheItem
|
call Common_EventScript_PlayerHandedOverTheItem
|
||||||
setflag FLAG_DELIVERED_STEVEN_LETTER
|
setflag FLAG_DELIVERED_STEVEN_LETTER
|
||||||
msgbox GraniteCave_StevensRoom_Text_ThankYouTakeThis, MSGBOX_DEFAULT
|
msgbox GraniteCave_StevensRoom_Text_ThankYouTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM47
|
giveitem ITEM_TM47
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq GraniteCave_StevensRoom_EventScript_BagFull
|
call_if_eq GraniteCave_StevensRoom_EventScript_BagFull
|
||||||
msgbox GraniteCave_StevensRoom_Text_CouldBecomeChampionLetsRegister, MSGBOX_DEFAULT
|
msgbox GraniteCave_StevensRoom_Text_CouldBecomeChampionLetsRegister, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ LavaridgeTown_EventScript_RivalGiveGoGoggles:: @ 81EA551
|
|||||||
|
|
||||||
LavaridgeTown_EventScript_MayGiveGoGoggles:: @ 81EA5B5
|
LavaridgeTown_EventScript_MayGiveGoGoggles:: @ 81EA5B5
|
||||||
msgbox LavaridgeTown_Text_MayNiceBadgesTakeThis, MSGBOX_DEFAULT
|
msgbox LavaridgeTown_Text_MayNiceBadgesTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_GO_GOGGLES
|
giveitem ITEM_GO_GOGGLES
|
||||||
setflag FLAG_RECEIVED_GO_GOGGLES
|
setflag FLAG_RECEIVED_GO_GOGGLES
|
||||||
msgbox LavaridgeTown_Text_MayExplainGoGogglesChallengeDad, MSGBOX_DEFAULT
|
msgbox LavaridgeTown_Text_MayExplainGoGogglesChallengeDad, MSGBOX_DEFAULT
|
||||||
goto LavaridgeTown_EventScript_RivalExit
|
goto LavaridgeTown_EventScript_RivalExit
|
||||||
@@ -78,7 +78,7 @@ LavaridgeTown_EventScript_MayGiveGoGoggles:: @ 81EA5B5
|
|||||||
|
|
||||||
LavaridgeTown_EventScript_BrendanGiveGoGoggles:: @ 81EA5DA
|
LavaridgeTown_EventScript_BrendanGiveGoGoggles:: @ 81EA5DA
|
||||||
msgbox LavaridgeTown_Text_BrendanNiceBadgesTakeThis, MSGBOX_DEFAULT
|
msgbox LavaridgeTown_Text_BrendanNiceBadgesTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_GO_GOGGLES
|
giveitem ITEM_GO_GOGGLES
|
||||||
setflag FLAG_RECEIVED_GO_GOGGLES
|
setflag FLAG_RECEIVED_GO_GOGGLES
|
||||||
msgbox LavaridgeTown_Text_BrendanExplainGoGogglesChallengeDad, MSGBOX_DEFAULT
|
msgbox LavaridgeTown_Text_BrendanExplainGoGogglesChallengeDad, MSGBOX_DEFAULT
|
||||||
goto LavaridgeTown_EventScript_RivalExit
|
goto LavaridgeTown_EventScript_RivalExit
|
||||||
|
|||||||
@@ -14,39 +14,31 @@ LavaridgeTown_Gym_1F_EventScript_SetTrainerTempVars:: @ 81FE705
|
|||||||
setvar VAR_TEMP_D, 0
|
setvar VAR_TEMP_D, 0
|
||||||
setvar VAR_TEMP_E, 0
|
setvar VAR_TEMP_E, 0
|
||||||
setvar VAR_TEMP_F, 0
|
setvar VAR_TEMP_F, 0
|
||||||
checktrainerflag TRAINER_COLE
|
goto_if_defeated TRAINER_COLE LavaridgeTown_Gym_1F_EventScript_SetGeraldTempVar
|
||||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_SetGeraldTempVar
|
|
||||||
setvar VAR_TEMP_B, 1
|
setvar VAR_TEMP_B, 1
|
||||||
LavaridgeTown_Gym_1F_EventScript_SetGeraldTempVar:: @ 81FE72C
|
LavaridgeTown_Gym_1F_EventScript_SetGeraldTempVar:: @ 81FE72C
|
||||||
checktrainerflag TRAINER_GERALD
|
goto_if_defeated TRAINER_GERALD, LavaridgeTown_Gym_1F_EventScript_SetAxleTempVar
|
||||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_SetAxleTempVar
|
|
||||||
setvar VAR_TEMP_C, 1
|
setvar VAR_TEMP_C, 1
|
||||||
LavaridgeTown_Gym_1F_EventScript_SetAxleTempVar:: @ 81FE73A
|
LavaridgeTown_Gym_1F_EventScript_SetAxleTempVar:: @ 81FE73A
|
||||||
checktrainerflag TRAINER_AXLE
|
goto_if_defeated TRAINER_AXLE, LavaridgeTown_Gym_1F_EventScript_SetDanielleTempVar
|
||||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_SetDanielleTempVar
|
|
||||||
setvar VAR_TEMP_D, 1
|
setvar VAR_TEMP_D, 1
|
||||||
LavaridgeTown_Gym_1F_EventScript_SetDanielleTempVar:: @ 81FE748
|
LavaridgeTown_Gym_1F_EventScript_SetDanielleTempVar:: @ 81FE748
|
||||||
checktrainerflag TRAINER_DANIELLE
|
goto_if_defeated TRAINER_DANIELLE, LavaridgeTown_Gym_1F_EventScript_EndSetTrainerTempVars
|
||||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_EndSetTrainerTempVars
|
|
||||||
setvar VAR_TEMP_E, 1
|
setvar VAR_TEMP_E, 1
|
||||||
LavaridgeTown_Gym_1F_EventScript_EndSetTrainerTempVars:: @ 81FE756
|
LavaridgeTown_Gym_1F_EventScript_EndSetTrainerTempVars:: @ 81FE756
|
||||||
return
|
return
|
||||||
|
|
||||||
LavaridgeTown_Gym_1F_EventScript_CheckHideTrainers:: @ 81FE757
|
LavaridgeTown_Gym_1F_EventScript_CheckHideTrainers:: @ 81FE757
|
||||||
checktrainerflag TRAINER_COLE
|
goto_if_defeated TRAINER_COLE, LavaridgeTown_Gym_1F_EventScript_CheckHideGerald
|
||||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_CheckHideGerald
|
|
||||||
setobjectmovementtype 2, MOVEMENT_TYPE_HIDDEN
|
setobjectmovementtype 2, MOVEMENT_TYPE_HIDDEN
|
||||||
LavaridgeTown_Gym_1F_EventScript_CheckHideGerald:: @ 81FE764
|
LavaridgeTown_Gym_1F_EventScript_CheckHideGerald:: @ 81FE764
|
||||||
checktrainerflag TRAINER_GERALD
|
goto_if_defeated TRAINER_GERALD, LavaridgeTown_Gym_1F_EventScript_CheckHideAxle
|
||||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_CheckHideAxle
|
|
||||||
setobjectmovementtype 3, MOVEMENT_TYPE_HIDDEN
|
setobjectmovementtype 3, MOVEMENT_TYPE_HIDDEN
|
||||||
LavaridgeTown_Gym_1F_EventScript_CheckHideAxle:: @ 81FE771
|
LavaridgeTown_Gym_1F_EventScript_CheckHideAxle:: @ 81FE771
|
||||||
checktrainerflag TRAINER_AXLE
|
goto_if_defeated TRAINER_AXLE, LavaridgeTown_Gym_1F_EventScript_CheckHideDanielle
|
||||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_CheckHideDanielle
|
|
||||||
setobjectmovementtype 4, MOVEMENT_TYPE_HIDDEN
|
setobjectmovementtype 4, MOVEMENT_TYPE_HIDDEN
|
||||||
LavaridgeTown_Gym_1F_EventScript_CheckHideDanielle:: @ 81FE77E
|
LavaridgeTown_Gym_1F_EventScript_CheckHideDanielle:: @ 81FE77E
|
||||||
checktrainerflag TRAINER_DANIELLE
|
goto_if_defeated TRAINER_DANIELLE, LavaridgeTown_Gym_1F_EventScript_EndCheckHideTrainers
|
||||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_EndCheckHideTrainers
|
|
||||||
setobjectmovementtype 5, MOVEMENT_TYPE_HIDDEN
|
setobjectmovementtype 5, MOVEMENT_TYPE_HIDDEN
|
||||||
LavaridgeTown_Gym_1F_EventScript_EndCheckHideTrainers:: @ 81FE78B
|
LavaridgeTown_Gym_1F_EventScript_EndCheckHideTrainers:: @ 81FE78B
|
||||||
return
|
return
|
||||||
@@ -89,7 +81,7 @@ LavaridgeTown_Gym_1F_EventScript_FlanneryDefeated:: @ 81FE7C1
|
|||||||
end
|
end
|
||||||
|
|
||||||
LavaridgeTown_Gym_1F_EventScript_GiveOverheat2:: @ 81FE81D
|
LavaridgeTown_Gym_1F_EventScript_GiveOverheat2:: @ 81FE81D
|
||||||
giveitem_std ITEM_TM50
|
giveitem ITEM_TM50
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox LavaridgeTown_Gym_1F_Text_ExplainOverheat, MSGBOX_DEFAULT
|
msgbox LavaridgeTown_Gym_1F_Text_ExplainOverheat, MSGBOX_DEFAULT
|
||||||
@@ -98,7 +90,7 @@ LavaridgeTown_Gym_1F_EventScript_GiveOverheat2:: @ 81FE81D
|
|||||||
end
|
end
|
||||||
|
|
||||||
LavaridgeTown_Gym_1F_EventScript_GiveOverheat:: @ 81FE841
|
LavaridgeTown_Gym_1F_EventScript_GiveOverheat:: @ 81FE841
|
||||||
giveitem_std ITEM_TM50
|
giveitem ITEM_TM50
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_BagIsFull
|
goto_if_eq Common_EventScript_BagIsFull
|
||||||
msgbox LavaridgeTown_Gym_1F_Text_ExplainOverheat, MSGBOX_DEFAULT
|
msgbox LavaridgeTown_Gym_1F_Text_ExplainOverheat, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -13,39 +13,31 @@ LavaridgeTown_Gym_B1F_EventScript_SetTrainerTempVars:: @ 81FF88F
|
|||||||
setvar VAR_TEMP_8, 0
|
setvar VAR_TEMP_8, 0
|
||||||
setvar VAR_TEMP_9, 0
|
setvar VAR_TEMP_9, 0
|
||||||
setvar VAR_TEMP_A, 0
|
setvar VAR_TEMP_A, 0
|
||||||
checktrainerflag TRAINER_KEEGAN
|
goto_if_defeated TRAINER_KEEGAN, LavaridgeTown_Gym_B1F_EventScript_SetJaceTempVar
|
||||||
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_SetJaceTempVar
|
|
||||||
setvar VAR_TEMP_7, 1
|
setvar VAR_TEMP_7, 1
|
||||||
LavaridgeTown_Gym_B1F_EventScript_SetJaceTempVar:: @ 81FF8B1
|
LavaridgeTown_Gym_B1F_EventScript_SetJaceTempVar:: @ 81FF8B1
|
||||||
checktrainerflag TRAINER_JACE
|
goto_if_defeated TRAINER_JACE, LavaridgeTown_Gym_B1F_EventScript_SetJeffTempVar
|
||||||
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_SetJeffTempVar
|
|
||||||
setvar VAR_TEMP_8, 1
|
setvar VAR_TEMP_8, 1
|
||||||
LavaridgeTown_Gym_B1F_EventScript_SetJeffTempVar:: @ 81FF8BF
|
LavaridgeTown_Gym_B1F_EventScript_SetJeffTempVar:: @ 81FF8BF
|
||||||
checktrainerflag TRAINER_JEFF
|
goto_if_defeated TRAINER_JEFF, LavaridgeTown_Gym_B1F_EventScript_SetEliTempVar
|
||||||
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_SetEliTempVar
|
|
||||||
setvar VAR_TEMP_9, 1
|
setvar VAR_TEMP_9, 1
|
||||||
LavaridgeTown_Gym_B1F_EventScript_SetEliTempVar:: @ 81FF8CD
|
LavaridgeTown_Gym_B1F_EventScript_SetEliTempVar:: @ 81FF8CD
|
||||||
checktrainerflag TRAINER_ELI
|
goto_if_defeated TRAINER_ELI, LavaridgeTown_Gym_B1F_EventScript_EndSetTrainerTempVars
|
||||||
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_EndSetTrainerTempVars
|
|
||||||
setvar VAR_TEMP_A, 1
|
setvar VAR_TEMP_A, 1
|
||||||
LavaridgeTown_Gym_B1F_EventScript_EndSetTrainerTempVars:: @ 81FF8DB
|
LavaridgeTown_Gym_B1F_EventScript_EndSetTrainerTempVars:: @ 81FF8DB
|
||||||
return
|
return
|
||||||
|
|
||||||
LavaridgeTown_Gym_B1F_EventScript_CheckHideTrainers:: @ 81FF8DC
|
LavaridgeTown_Gym_B1F_EventScript_CheckHideTrainers:: @ 81FF8DC
|
||||||
checktrainerflag TRAINER_KEEGAN
|
goto_if_defeated TRAINER_KEEGAN, LavaridgeTown_Gym_B1F_EventScript_CheckHideJace
|
||||||
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_CheckHideJace
|
|
||||||
setobjectmovementtype 2, MOVEMENT_TYPE_HIDDEN
|
setobjectmovementtype 2, MOVEMENT_TYPE_HIDDEN
|
||||||
LavaridgeTown_Gym_B1F_EventScript_CheckHideJace:: @ 81FF8E9
|
LavaridgeTown_Gym_B1F_EventScript_CheckHideJace:: @ 81FF8E9
|
||||||
checktrainerflag TRAINER_JACE
|
goto_if_defeated TRAINER_JACE, LavaridgeTown_Gym_B1F_EventScript_CheckHideJeff
|
||||||
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_CheckHideJeff
|
|
||||||
setobjectmovementtype 1, MOVEMENT_TYPE_HIDDEN
|
setobjectmovementtype 1, MOVEMENT_TYPE_HIDDEN
|
||||||
LavaridgeTown_Gym_B1F_EventScript_CheckHideJeff:: @ 81FF8F6
|
LavaridgeTown_Gym_B1F_EventScript_CheckHideJeff:: @ 81FF8F6
|
||||||
checktrainerflag TRAINER_JEFF
|
goto_if_defeated TRAINER_JEFF, LavaridgeTown_Gym_B1F_EventScript_CheckHideEli
|
||||||
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_CheckHideEli
|
|
||||||
setobjectmovementtype 3, MOVEMENT_TYPE_HIDDEN
|
setobjectmovementtype 3, MOVEMENT_TYPE_HIDDEN
|
||||||
LavaridgeTown_Gym_B1F_EventScript_CheckHideEli:: @ 81FF903
|
LavaridgeTown_Gym_B1F_EventScript_CheckHideEli:: @ 81FF903
|
||||||
checktrainerflag TRAINER_ELI
|
goto_if_defeated TRAINER_ELI, LavaridgeTown_Gym_B1F_EventScript_EndCheckHideTrainers
|
||||||
goto_if_eq LavaridgeTown_Gym_B1F_EventScript_EndCheckHideTrainers
|
|
||||||
setobjectmovementtype 4, MOVEMENT_TYPE_HIDDEN
|
setobjectmovementtype 4, MOVEMENT_TYPE_HIDDEN
|
||||||
LavaridgeTown_Gym_B1F_EventScript_EndCheckHideTrainers:: @ 81FF910
|
LavaridgeTown_Gym_B1F_EventScript_EndCheckHideTrainers:: @ 81FF910
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ LavaridgeTown_HerbShop_EventScript_OldMan:: @ 81FE505
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLFLAG_RECEIVED_CHARCOAL, LavaridgeTown_HerbShop_EventScript_ExplainCharcoal
|
goto_if_set FLFLAG_RECEIVED_CHARCOAL, LavaridgeTown_HerbShop_EventScript_ExplainCharcoal
|
||||||
msgbox LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine, MSGBOX_DEFAULT
|
msgbox LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_CHARCOAL
|
giveitem ITEM_CHARCOAL
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLFLAG_RECEIVED_CHARCOAL
|
setflag FLFLAG_RECEIVED_CHARCOAL
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ LilycoveCity_EventScript_BerryGentleman:: @ 81E2BD8
|
|||||||
msgbox LilycoveCity_Text_BerrySuitsYou, MSGBOX_DEFAULT
|
msgbox LilycoveCity_Text_BerrySuitsYou, MSGBOX_DEFAULT
|
||||||
random 10
|
random 10
|
||||||
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
||||||
giveitem_std VAR_RESULT
|
giveitem VAR_RESULT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_DAILY_LILYCOVE_RECEIVED_BERRY
|
setflag FLAG_DAILY_LILYCOVE_RECEIVED_BERRY
|
||||||
|
|||||||
@@ -360,7 +360,7 @@ LilycoveCity_ContestLobby_EventScript_SetMasterContestType:: @ 821A5C9
|
|||||||
LilycoveCity_ContestLobby_EventScript_SetDebug:: @ 821A5CF
|
LilycoveCity_ContestLobby_EventScript_SetDebug:: @ 821A5CF
|
||||||
setflag FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR
|
setflag FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR
|
||||||
copyvar VAR_LILYCOVE_MUSEUM_2F_STATE, 1
|
copyvar VAR_LILYCOVE_MUSEUM_2F_STATE, 1
|
||||||
giveitem ITEM_CONTEST_PASS, 1
|
additem ITEM_CONTEST_PASS
|
||||||
setvar VAR_0x800B, 8
|
setvar VAR_0x800B, 8
|
||||||
setvar VAR_CONTEST_RANK, CONTEST_RANK_MASTER
|
setvar VAR_CONTEST_RANK, CONTEST_RANK_MASTER
|
||||||
setvar VAR_LILYCOVE_CONTEST_LOBBY_STATE, 1
|
setvar VAR_LILYCOVE_CONTEST_LOBBY_STATE, 1
|
||||||
|
|||||||
@@ -113,16 +113,16 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_CheckMoneyLemonade:: @ 8220313
|
|||||||
checkmoney 350, 0
|
checkmoney 350, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneyFreshWater:: @ 822031A
|
LilycoveCity_DepartmentStoreRooftop_EventScript_RemoveMoneyFreshWater:: @ 822031A
|
||||||
takemoney 200, 0
|
removemoney 200, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneySodaPop:: @ 8220321
|
LilycoveCity_DepartmentStoreRooftop_EventScript_RemoveMoneySodaPop:: @ 8220321
|
||||||
takemoney 300, 0
|
removemoney 300, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneyLemonade:: @ 8220328
|
LilycoveCity_DepartmentStoreRooftop_EventScript_RemoveMoneyLemonade:: @ 8220328
|
||||||
takemoney 350, 0
|
removemoney 350, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
LilycoveCity_DepartmentStoreRooftop_EventScript_TryBuyDrink:: @ 822032F
|
LilycoveCity_DepartmentStoreRooftop_EventScript_TryBuyDrink:: @ 822032F
|
||||||
@@ -138,16 +138,16 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_TryBuyDrink:: @ 822032F
|
|||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink
|
||||||
compare VAR_TEMP_1, 0
|
compare VAR_TEMP_1, 0
|
||||||
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneyFreshWater
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_RemoveMoneyFreshWater
|
||||||
compare VAR_TEMP_1, 1
|
compare VAR_TEMP_1, 1
|
||||||
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneySodaPop
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_RemoveMoneySodaPop
|
||||||
compare VAR_TEMP_1, 2
|
compare VAR_TEMP_1, 2
|
||||||
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneyLemonade
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_RemoveMoneyLemonade
|
||||||
updatemoneybox 0, 0
|
updatemoneybox 0, 0
|
||||||
bufferitemname 0, VAR_TEMP_0
|
bufferitemname 0, VAR_TEMP_0
|
||||||
playse SE_JIHANKI
|
playse SE_JIHANKI
|
||||||
msgbox LilycoveCity_DepartmentStoreRooftop_Text_CanOfDrinkDroppedDown, MSGBOX_DEFAULT
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_CanOfDrinkDroppedDown, MSGBOX_DEFAULT
|
||||||
giveitem VAR_TEMP_0, 1
|
additem VAR_TEMP_0
|
||||||
bufferitemname 1, VAR_TEMP_0
|
bufferitemname 1, VAR_TEMP_0
|
||||||
bufferstdstring 2, STDSTRING_ITEMS
|
bufferstdstring 2, STDSTRING_ITEMS
|
||||||
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
||||||
@@ -159,7 +159,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_TryBuyDrink:: @ 822032F
|
|||||||
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink
|
||||||
playse SE_JIHANKI
|
playse SE_JIHANKI
|
||||||
msgbox LilycoveCity_DepartmentStoreRooftop_Text_ExtraCanOfDrinkDroppedDown, MSGBOX_DEFAULT
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_ExtraCanOfDrinkDroppedDown, MSGBOX_DEFAULT
|
||||||
giveitem VAR_TEMP_0, 1
|
additem VAR_TEMP_0
|
||||||
bufferitemname 1, VAR_TEMP_0
|
bufferitemname 1, VAR_TEMP_0
|
||||||
bufferstdstring 2, STDSTRING_ITEMS
|
bufferstdstring 2, STDSTRING_ITEMS
|
||||||
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
||||||
@@ -171,7 +171,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_TryBuyDrink:: @ 822032F
|
|||||||
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink
|
||||||
playse SE_JIHANKI
|
playse SE_JIHANKI
|
||||||
msgbox LilycoveCity_DepartmentStoreRooftop_Text_ExtraCanOfDrinkDroppedDown, MSGBOX_DEFAULT
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_ExtraCanOfDrinkDroppedDown, MSGBOX_DEFAULT
|
||||||
giveitem VAR_TEMP_0, 1
|
additem VAR_TEMP_0
|
||||||
bufferitemname 1, VAR_TEMP_0
|
bufferitemname 1, VAR_TEMP_0
|
||||||
bufferstdstring 2, STDSTRING_ITEMS
|
bufferstdstring 2, STDSTRING_ITEMS
|
||||||
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_LotteryClerk:: @ 821F69C
|
|||||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_FourDigitMatch
|
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_FourDigitMatch
|
||||||
compare VAR_0x8004, 4
|
compare VAR_0x8004, 4
|
||||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_FullMatch
|
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_FullMatch
|
||||||
giveitem_std VAR_0x8005
|
giveitem VAR_0x8005
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_RecordPrizeNoRoom
|
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_RecordPrizeNoRoom
|
||||||
special TryPutLotteryWinnerReportOnAir
|
special TryPutLotteryWinnerReportOnAir
|
||||||
@@ -112,7 +112,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_NoRoomForPrize:: @ 821F7ED
|
|||||||
|
|
||||||
LilycoveCity_DepartmentStore_1F_EventScript_GivePrizeFromEarlier:: @ 821F7F7
|
LilycoveCity_DepartmentStore_1F_EventScript_GivePrizeFromEarlier:: @ 821F7F7
|
||||||
msgbox LilycoveCity_DepartmentStore_1F_Text_PrizeWeveBeenHolding, MSGBOX_DEFAULT
|
msgbox LilycoveCity_DepartmentStore_1F_Text_PrizeWeveBeenHolding, MSGBOX_DEFAULT
|
||||||
giveitem_std VAR_POKELOT_PRIZE_ITEM
|
giveitem VAR_POKELOT_PRIZE_ITEM
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_NoRoomForPrize
|
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_NoRoomForPrize
|
||||||
copyvar VAR_0x8004, VAR_POKELOT_PRIZE_PLACE
|
copyvar VAR_0x8004, VAR_POKELOT_PRIZE_PLACE
|
||||||
|
|||||||
@@ -364,7 +364,7 @@ LilycoveCity_Harbor_EventScript_BoardFerryWithSailor:: @ 821E514
|
|||||||
compare VAR_FACING, DIR_EAST
|
compare VAR_FACING, DIR_EAST
|
||||||
call_if_eq LilycoveCity_Harbor_EventScript_PlayerBoardFerryEast
|
call_if_eq LilycoveCity_Harbor_EventScript_PlayerBoardFerryEast
|
||||||
delay 30
|
delay 30
|
||||||
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_PETALBURG_CITY
|
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||||
setvar VAR_0x8004, 2
|
setvar VAR_0x8004, 2
|
||||||
call Common_EventScript_FerryDepart
|
call Common_EventScript_FerryDepart
|
||||||
return
|
return
|
||||||
@@ -428,7 +428,7 @@ LilycoveCity_Harbor_EventScript_BoardFerry:: @ 821E5CC
|
|||||||
compare VAR_FACING, DIR_EAST
|
compare VAR_FACING, DIR_EAST
|
||||||
call_if_eq LilycoveCity_Harbor_EventScript_PlayerBoardFerryEast
|
call_if_eq LilycoveCity_Harbor_EventScript_PlayerBoardFerryEast
|
||||||
delay 30
|
delay 30
|
||||||
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_PETALBURG_CITY
|
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||||
setvar VAR_0x8004, 2
|
setvar VAR_0x8004, 2
|
||||||
call Common_EventScript_FerryDepart
|
call Common_EventScript_FerryDepart
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ LilycoveCity_House2_EventScript_FatMan:: @ 821ED75
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_TM44, LilycoveCity_House2_EventScript_ReceivedRest
|
goto_if_set FLAG_RECEIVED_TM44, LilycoveCity_House2_EventScript_ReceivedRest
|
||||||
msgbox LilycoveCity_House2_Text_NotAwakeYetHaveThis, MSGBOX_DEFAULT
|
msgbox LilycoveCity_House2_Text_NotAwakeYetHaveThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM44
|
giveitem ITEM_TM44
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM44
|
setflag FLAG_RECEIVED_TM44
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_ThankPlayer:: @ 82198C3
|
|||||||
LilycoveCity_LilycoveMuseum_2F_EventScript_GiveGlassOrnament:: @ 82198EA
|
LilycoveCity_LilycoveMuseum_2F_EventScript_GiveGlassOrnament:: @ 82198EA
|
||||||
applymovement 1, Common_Movement_FacePlayer
|
applymovement 1, Common_Movement_FacePlayer
|
||||||
msgbox LilycoveCity_LilycoveMuseum_2F_Text_TokenOfGratitude, MSGBOX_DEFAULT
|
msgbox LilycoveCity_LilycoveMuseum_2F_Text_TokenOfGratitude, MSGBOX_DEFAULT
|
||||||
givedecoration_std DECOR_GLASS_ORNAMENT
|
givedecoration DECOR_GLASS_ORNAMENT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq LilycoveCity_LilycoveMuseum_2F_EventScript_NoRoomForGlassOrnament
|
goto_if_eq LilycoveCity_LilycoveMuseum_2F_EventScript_NoRoomForGlassOrnament
|
||||||
setflag FLAG_RECEIVED_GLASS_ORNAMENT
|
setflag FLAG_RECEIVED_GLASS_ORNAMENT
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ LittlerootTown_EventScript_GoInsideWithMom:: @ 81E7F17
|
|||||||
waitmovement 0
|
waitmovement 0
|
||||||
setflag FLAG_HIDE_LITTLEROOT_TOWN_MOM_OUTSIDE
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_MOM_OUTSIDE
|
||||||
setvar VAR_LITTLEROOT_INTRO_STATE, 3
|
setvar VAR_LITTLEROOT_INTRO_STATE, 3
|
||||||
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_PETALBURG_CITY
|
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||||
closedoor VAR_0x8004, VAR_0x8005
|
closedoor VAR_0x8004, VAR_0x8005
|
||||||
waitdooranim
|
waitdooranim
|
||||||
clearflag FLAG_HIDE_LITTLEROOT_TOWN_FAT_MAN
|
clearflag FLAG_HIDE_LITTLEROOT_TOWN_FAT_MAN
|
||||||
|
|||||||
@@ -563,7 +563,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_GivePokedex:: @ 81FA2F8
|
|||||||
|
|
||||||
LittlerootTown_ProfessorBirchsLab_EventScript_MayGivePokeBalls:: @ 81FA352
|
LittlerootTown_ProfessorBirchsLab_EventScript_MayGivePokeBalls:: @ 81FA352
|
||||||
msgbox LittlerootTown_ProfessorBirchsLab_Text_MayGotPokedexTooTakeThese, MSGBOX_DEFAULT
|
msgbox LittlerootTown_ProfessorBirchsLab_Text_MayGotPokedexTooTakeThese, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_POKE_BALL, 5
|
giveitem ITEM_POKE_BALL, 5
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_MayNoRoomForPokeBalls
|
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_MayNoRoomForPokeBalls
|
||||||
msgbox LittlerootTown_ProfessorBirchsLab_Text_CatchCutePokemonWithPokeBalls, MSGBOX_DEFAULT
|
msgbox LittlerootTown_ProfessorBirchsLab_Text_CatchCutePokemonWithPokeBalls, MSGBOX_DEFAULT
|
||||||
@@ -572,7 +572,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_MayGivePokeBalls:: @ 81FA352
|
|||||||
|
|
||||||
LittlerootTown_ProfessorBirchsLab_EventScript_BrendanGivePokeBalls:: @ 81FA37F
|
LittlerootTown_ProfessorBirchsLab_EventScript_BrendanGivePokeBalls:: @ 81FA37F
|
||||||
msgbox LittlerootTown_ProfessorBirchsLab_Text_BrendanGotPokedexTooTakeThese, MSGBOX_DEFAULT
|
msgbox LittlerootTown_ProfessorBirchsLab_Text_BrendanGotPokedexTooTakeThese, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_POKE_BALL, 5
|
giveitem ITEM_POKE_BALL, 5
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_BrendanNoRoomForPokeBalls
|
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_BrendanNoRoomForPokeBalls
|
||||||
msgbox LittlerootTown_ProfessorBirchsLab_Text_CatchCoolPokemonWithPokeBalls, MSGBOX_DEFAULT
|
msgbox LittlerootTown_ProfessorBirchsLab_Text_CatchCoolPokemonWithPokeBalls, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -425,7 +425,7 @@ MauvilleCity_EventScript_Wattson:: @ 81DF73A
|
|||||||
goto_if_eq MauvilleCity_EventScript_CompletedNewMauville
|
goto_if_eq MauvilleCity_EventScript_CompletedNewMauville
|
||||||
goto_if_set FLAG_GOT_BASEMENT_KEY_FROM_WATTSON, MauvilleCity_EventScript_BegunNewMauville
|
goto_if_set FLAG_GOT_BASEMENT_KEY_FROM_WATTSON, MauvilleCity_EventScript_BegunNewMauville
|
||||||
msgbox MauvilleCity_Text_WattsonNeedFavorTakeKey, MSGBOX_DEFAULT
|
msgbox MauvilleCity_Text_WattsonNeedFavorTakeKey, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_BASEMENT_KEY
|
giveitem ITEM_BASEMENT_KEY
|
||||||
setflag FLAG_GOT_BASEMENT_KEY_FROM_WATTSON
|
setflag FLAG_GOT_BASEMENT_KEY_FROM_WATTSON
|
||||||
msgbox MauvilleCity_Text_WattsonWontBeChallenge, MSGBOX_DEFAULT
|
msgbox MauvilleCity_Text_WattsonWontBeChallenge, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
@@ -438,7 +438,7 @@ MauvilleCity_EventScript_BegunNewMauville:: @ 81DF77A
|
|||||||
|
|
||||||
MauvilleCity_EventScript_CompletedNewMauville:: @ 81DF784
|
MauvilleCity_EventScript_CompletedNewMauville:: @ 81DF784
|
||||||
msgbox MauvilleCity_Text_WattsonThanksTakeTM, MSGBOX_DEFAULT
|
msgbox MauvilleCity_Text_WattsonThanksTakeTM, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM24
|
giveitem ITEM_TM24
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_GOT_TM24_FROM_WATTSON
|
setflag FLAG_GOT_TM24_FROM_WATTSON
|
||||||
|
|||||||
@@ -44,13 +44,13 @@ MauvilleCity_BikeShop_EventScript_YesFar:: @ 820EC4A
|
|||||||
|
|
||||||
MauvilleCity_BikeShop_EventScript_GetMachBike:: @ 820EC53
|
MauvilleCity_BikeShop_EventScript_GetMachBike:: @ 820EC53
|
||||||
msgbox MauvilleCity_BikeShop_Text_ChoseMachBike, MSGBOX_DEFAULT
|
msgbox MauvilleCity_BikeShop_Text_ChoseMachBike, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_MACH_BIKE
|
giveitem ITEM_MACH_BIKE
|
||||||
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
||||||
end
|
end
|
||||||
|
|
||||||
MauvilleCity_BikeShop_EventScript_GetAcroBike:: @ 820EC6D
|
MauvilleCity_BikeShop_EventScript_GetAcroBike:: @ 820EC6D
|
||||||
msgbox MauvilleCity_BikeShop_Text_ChoseAcroBike, MSGBOX_DEFAULT
|
msgbox MauvilleCity_BikeShop_Text_ChoseAcroBike, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_ACRO_BIKE
|
giveitem ITEM_ACRO_BIKE
|
||||||
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -89,16 +89,16 @@ MauvilleCity_BikeShop_EventScript_KeepBike:: @ 820ECE5
|
|||||||
MauvilleCity_BikeShop_EventScript_SwitchAcroForMach:: @ 820ECEF
|
MauvilleCity_BikeShop_EventScript_SwitchAcroForMach:: @ 820ECEF
|
||||||
incrementgamestat GAME_STAT_TRADED_BIKES
|
incrementgamestat GAME_STAT_TRADED_BIKES
|
||||||
msgbox MauvilleCity_BikeShop_Text_ExchangedAcroForMach, MSGBOX_DEFAULT
|
msgbox MauvilleCity_BikeShop_Text_ExchangedAcroForMach, MSGBOX_DEFAULT
|
||||||
takeitem ITEM_ACRO_BIKE, 1
|
removeitem ITEM_ACRO_BIKE
|
||||||
giveitem_std ITEM_MACH_BIKE
|
giveitem ITEM_MACH_BIKE
|
||||||
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
||||||
end
|
end
|
||||||
|
|
||||||
MauvilleCity_BikeShop_EventScript_SwitchMachForAcro:: @ 820ED10
|
MauvilleCity_BikeShop_EventScript_SwitchMachForAcro:: @ 820ED10
|
||||||
incrementgamestat GAME_STAT_TRADED_BIKES
|
incrementgamestat GAME_STAT_TRADED_BIKES
|
||||||
msgbox MauvilleCity_BikeShop_Text_ExchangedMachForAcro, MSGBOX_DEFAULT
|
msgbox MauvilleCity_BikeShop_Text_ExchangedMachForAcro, MSGBOX_DEFAULT
|
||||||
takeitem ITEM_MACH_BIKE, 1
|
removeitem ITEM_MACH_BIKE
|
||||||
giveitem_std ITEM_ACRO_BIKE
|
giveitem ITEM_ACRO_BIKE
|
||||||
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
goto MauvilleCity_BikeShop_EventScript_ComeBackToSwitchBikes
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ MauvilleCity_GameCorner_EventScript_Buy50Coins:: @ 820FC33
|
|||||||
checkmoney COINS_PRICE_50, 0
|
checkmoney COINS_PRICE_50, 0
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NotEnoughMoney
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NotEnoughMoney
|
||||||
givecoins 50
|
addcoins 50
|
||||||
takemoney COINS_PRICE_50, 0
|
removemoney COINS_PRICE_50, 0
|
||||||
updatemoneybox 0, 0
|
updatemoneybox 0, 0
|
||||||
updatecoinsbox 1, 6
|
updatecoinsbox 1, 6
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
@@ -67,8 +67,8 @@ MauvilleCity_GameCorner_EventScript_Buy500Coins:: @ 820FC75
|
|||||||
checkmoney COINS_PRICE_500, 0
|
checkmoney COINS_PRICE_500, 0
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NotEnoughMoney
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NotEnoughMoney
|
||||||
givecoins 500
|
addcoins 500
|
||||||
takemoney COINS_PRICE_500, 0
|
removemoney COINS_PRICE_500, 0
|
||||||
updatemoneybox 0, 0
|
updatemoneybox 0, 0
|
||||||
updatecoinsbox 1, 6
|
updatecoinsbox 1, 6
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
@@ -169,8 +169,8 @@ MauvilleCity_GameCorner_EventScript_BuyTreeckoDoll:: @ 820FDCB
|
|||||||
checkdecorspace DECOR_TREECKO_DOLL
|
checkdecorspace DECOR_TREECKO_DOLL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForDoll
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForDoll
|
||||||
takecoins DOLL_COINS
|
removecoins DOLL_COINS
|
||||||
givedecoration DECOR_TREECKO_DOLL
|
adddecoration DECOR_TREECKO_DOLL
|
||||||
updatecoinsbox 1, 1
|
updatecoinsbox 1, 1
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox MauvilleCity_GameCorner_Text_SendToYourHomePC, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_SendToYourHomePC, MSGBOX_DEFAULT
|
||||||
@@ -185,8 +185,8 @@ MauvilleCity_GameCorner_EventScript_BuyTorchicDoll:: @ 820FE05
|
|||||||
checkdecorspace DECOR_TORCHIC_DOLL
|
checkdecorspace DECOR_TORCHIC_DOLL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForDoll
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForDoll
|
||||||
takecoins DOLL_COINS
|
removecoins DOLL_COINS
|
||||||
givedecoration DECOR_TORCHIC_DOLL
|
adddecoration DECOR_TORCHIC_DOLL
|
||||||
updatecoinsbox 1, 1
|
updatecoinsbox 1, 1
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox MauvilleCity_GameCorner_Text_SendToYourHomePC, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_SendToYourHomePC, MSGBOX_DEFAULT
|
||||||
@@ -201,8 +201,8 @@ MauvilleCity_GameCorner_EventScript_BuyMudkipDoll:: @ 820FE3F
|
|||||||
checkdecorspace DECOR_MUDKIP_DOLL
|
checkdecorspace DECOR_MUDKIP_DOLL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForDoll
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForDoll
|
||||||
takecoins DOLL_COINS
|
removecoins DOLL_COINS
|
||||||
givedecoration DECOR_MUDKIP_DOLL
|
adddecoration DECOR_MUDKIP_DOLL
|
||||||
updatecoinsbox 1, 1
|
updatecoinsbox 1, 1
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox MauvilleCity_GameCorner_Text_SendToYourHomePC, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_SendToYourHomePC, MSGBOX_DEFAULT
|
||||||
@@ -309,8 +309,8 @@ MauvilleCity_GameCorner_EventScript_BuyTM32:: @ 820FFDD
|
|||||||
checkitemspace ITEM_TM32, 1
|
checkitemspace ITEM_TM32, 1
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
||||||
takecoins TM32_COINS
|
removecoins TM32_COINS
|
||||||
giveitem ITEM_TM32, 1
|
additem ITEM_TM32
|
||||||
updatecoinsbox 1, 1
|
updatecoinsbox 1, 1
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
||||||
@@ -324,8 +324,8 @@ MauvilleCity_GameCorner_EventScript_BuyTM29:: @ 8210017
|
|||||||
checkitemspace ITEM_TM29, 1
|
checkitemspace ITEM_TM29, 1
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
||||||
takecoins TM29_COINS
|
removecoins TM29_COINS
|
||||||
giveitem ITEM_TM29, 1
|
additem ITEM_TM29
|
||||||
updatecoinsbox 1, 1
|
updatecoinsbox 1, 1
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
||||||
@@ -339,8 +339,8 @@ MauvilleCity_GameCorner_EventScript_BuyTM35:: @ 8210051
|
|||||||
checkitemspace ITEM_TM35, 1
|
checkitemspace ITEM_TM35, 1
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
||||||
takecoins TM35_COINS
|
removecoins TM35_COINS
|
||||||
giveitem ITEM_TM35, 1
|
additem ITEM_TM35
|
||||||
updatecoinsbox 1, 1
|
updatecoinsbox 1, 1
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
||||||
@@ -354,8 +354,8 @@ MauvilleCity_GameCorner_EventScript_BuyTM24:: @ 821008B
|
|||||||
checkitemspace ITEM_TM24, 1
|
checkitemspace ITEM_TM24, 1
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
||||||
takecoins TM24_COINS
|
removecoins TM24_COINS
|
||||||
giveitem ITEM_TM24, 1
|
additem ITEM_TM24
|
||||||
updatecoinsbox 1, 1
|
updatecoinsbox 1, 1
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
||||||
@@ -369,8 +369,8 @@ MauvilleCity_GameCorner_EventScript_BuyTM13:: @ 82100C5
|
|||||||
checkitemspace ITEM_TM13, 1
|
checkitemspace ITEM_TM13, 1
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM
|
||||||
takecoins TM13_COINS
|
removecoins TM13_COINS
|
||||||
giveitem ITEM_TM13, 1
|
additem ITEM_TM13
|
||||||
updatecoinsbox 1, 1
|
updatecoinsbox 1, 1
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_HereYouGo, MSGBOX_DEFAULT
|
||||||
@@ -420,7 +420,7 @@ MauvilleCity_GameCorner_EventScript_GiveTreeckoDoll:: @ 821017C
|
|||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForStarterDoll
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForStarterDoll
|
||||||
msgbox MauvilleCity_GameCorner_Text_HereYouGo2, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_HereYouGo2, MSGBOX_DEFAULT
|
||||||
givedecoration_std DECOR_TREECKO_DOLL
|
givedecoration DECOR_TREECKO_DOLL
|
||||||
setflag FLAG_RECEIVED_STARTER_DOLL
|
setflag FLAG_RECEIVED_STARTER_DOLL
|
||||||
goto MauvilleCity_GameCorner_EventScript_ReceivedStarterDoll
|
goto MauvilleCity_GameCorner_EventScript_ReceivedStarterDoll
|
||||||
end
|
end
|
||||||
@@ -431,7 +431,7 @@ MauvilleCity_GameCorner_EventScript_GiveTorchicDoll:: @ 82101A6
|
|||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForStarterDoll
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForStarterDoll
|
||||||
msgbox MauvilleCity_GameCorner_Text_HereYouGo2, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_HereYouGo2, MSGBOX_DEFAULT
|
||||||
givedecoration_std DECOR_TORCHIC_DOLL
|
givedecoration DECOR_TORCHIC_DOLL
|
||||||
setflag FLAG_RECEIVED_STARTER_DOLL
|
setflag FLAG_RECEIVED_STARTER_DOLL
|
||||||
goto MauvilleCity_GameCorner_EventScript_ReceivedStarterDoll
|
goto MauvilleCity_GameCorner_EventScript_ReceivedStarterDoll
|
||||||
end
|
end
|
||||||
@@ -442,7 +442,7 @@ MauvilleCity_GameCorner_EventScript_GiveMudkipDoll:: @ 82101D0
|
|||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForStarterDoll
|
goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForStarterDoll
|
||||||
msgbox MauvilleCity_GameCorner_Text_HereYouGo2, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_HereYouGo2, MSGBOX_DEFAULT
|
||||||
givedecoration_std DECOR_MUDKIP_DOLL
|
givedecoration DECOR_MUDKIP_DOLL
|
||||||
setflag FLAG_RECEIVED_STARTER_DOLL
|
setflag FLAG_RECEIVED_STARTER_DOLL
|
||||||
goto MauvilleCity_GameCorner_EventScript_ReceivedStarterDoll
|
goto MauvilleCity_GameCorner_EventScript_ReceivedStarterDoll
|
||||||
end
|
end
|
||||||
@@ -479,7 +479,7 @@ MauvilleCity_GameCorner_EventScript_TryGive20Coins:: @ 821023D
|
|||||||
compare VAR_TEMP_1, 1 @ Only give 20 coins if player has no coins
|
compare VAR_TEMP_1, 1 @ Only give 20 coins if player has no coins
|
||||||
goto_if_ge MauvilleCity_GameCorner_EventScript_PokefanMNormal
|
goto_if_ge MauvilleCity_GameCorner_EventScript_PokefanMNormal
|
||||||
setflag FLAG_RECEIVED_20_COINS
|
setflag FLAG_RECEIVED_20_COINS
|
||||||
givecoins 20
|
addcoins 20
|
||||||
msgbox MauvilleCity_GameCorner_Text_LuckOnlyLastSoLongTakeCoins, MSGBOX_DEFAULT
|
msgbox MauvilleCity_GameCorner_Text_LuckOnlyLastSoLongTakeCoins, MSGBOX_DEFAULT
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
goto MauvilleCity_GameCorner_EventScript_PokefanMNormal
|
goto MauvilleCity_GameCorner_EventScript_PokefanMNormal
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ MauvilleCity_Gym_EventScript_WattsonDefeated:: @ 820DF2B
|
|||||||
end
|
end
|
||||||
|
|
||||||
MauvilleCity_Gym_EventScript_GiveShockWave2:: @ 820DF8D
|
MauvilleCity_Gym_EventScript_GiveShockWave2:: @ 820DF8D
|
||||||
giveitem_std ITEM_TM34
|
giveitem ITEM_TM34
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox MauvilleCity_Gym_Text_ExplainShockWave, MSGBOX_DEFAULT
|
msgbox MauvilleCity_Gym_Text_ExplainShockWave, MSGBOX_DEFAULT
|
||||||
@@ -124,7 +124,7 @@ MauvilleCity_Gym_EventScript_GiveShockWave2:: @ 820DF8D
|
|||||||
end
|
end
|
||||||
|
|
||||||
MauvilleCity_Gym_EventScript_GiveShockWave:: @ 820DFB1
|
MauvilleCity_Gym_EventScript_GiveShockWave:: @ 820DFB1
|
||||||
giveitem_std ITEM_TM34
|
giveitem ITEM_TM34
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_BagIsFull
|
goto_if_eq Common_EventScript_BagIsFull
|
||||||
msgbox MauvilleCity_Gym_Text_ExplainShockWave, MSGBOX_DEFAULT
|
msgbox MauvilleCity_Gym_Text_ExplainShockWave, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ MauvilleCity_House1_EventScript_RockSmashDude:: @ 820F976
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_HM06, MauvilleCity_House1_EventScript_ReceivedRockSmash
|
goto_if_set FLAG_RECEIVED_HM06, MauvilleCity_House1_EventScript_ReceivedRockSmash
|
||||||
msgbox MauvilleCity_House1_Text_ImRockSmashDudeTakeThis, MSGBOX_DEFAULT
|
msgbox MauvilleCity_House1_Text_ImRockSmashDudeTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_HM06
|
giveitem ITEM_HM06
|
||||||
setflag FLAG_RECEIVED_HM06
|
setflag FLAG_RECEIVED_HM06
|
||||||
setflag FLAG_HIDE_ROUTE_111_ROCK_SMASH_TIP_GUY
|
setflag FLAG_HIDE_ROUTE_111_ROCK_SMASH_TIP_GUY
|
||||||
msgbox MauvilleCity_House1_Text_ExplainRockSmash, MSGBOX_DEFAULT
|
msgbox MauvilleCity_House1_Text_ExplainRockSmash, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ MauvilleCity_House2_EventScript_AskToTradeForHarborMail:: @ 8210C82
|
|||||||
|
|
||||||
MauvilleCity_House2_EventScript_AcceptTrade:: @ 8210CB8
|
MauvilleCity_House2_EventScript_AcceptTrade:: @ 8210CB8
|
||||||
msgbox MauvilleCity_House2_Text_IllTradeYouCoinCase, MSGBOX_DEFAULT
|
msgbox MauvilleCity_House2_Text_IllTradeYouCoinCase, MSGBOX_DEFAULT
|
||||||
takeitem ITEM_HARBOR_MAIL, 1
|
removeitem ITEM_HARBOR_MAIL
|
||||||
giveitem_std ITEM_COIN_CASE
|
giveitem ITEM_COIN_CASE
|
||||||
setflag FLAG_RECEIVED_COIN_CASE
|
setflag FLAG_RECEIVED_COIN_CASE
|
||||||
goto MauvilleCity_House2_EventScript_ReceivedCoinCase
|
goto MauvilleCity_House2_EventScript_ReceivedCoinCase
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MirageTower_4F_EventScript_RootFossil:: @ 823AD48
|
|||||||
msgbox MirageTower_4F_Text_TakeRootFossil, MSGBOX_YESNO
|
msgbox MirageTower_4F_Text_TakeRootFossil, MSGBOX_YESNO
|
||||||
compare VAR_RESULT, NO
|
compare VAR_RESULT, NO
|
||||||
goto_if_eq MirageTower_4F_EventScript_LeaveRootFossil
|
goto_if_eq MirageTower_4F_EventScript_LeaveRootFossil
|
||||||
giveitem_std ITEM_ROOT_FOSSIL
|
giveitem ITEM_ROOT_FOSSIL
|
||||||
closemessage
|
closemessage
|
||||||
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
|
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
|
||||||
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
|
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
|
||||||
@@ -28,7 +28,7 @@ MirageTower_4F_EventScript_ClawFossil:: @ 823AD89
|
|||||||
msgbox MirageTower_4F_Text_TakeClawFossil, MSGBOX_YESNO
|
msgbox MirageTower_4F_Text_TakeClawFossil, MSGBOX_YESNO
|
||||||
compare VAR_RESULT, NO
|
compare VAR_RESULT, NO
|
||||||
goto_if_eq MirageTower_4F_EventScript_LeaveClawFossil
|
goto_if_eq MirageTower_4F_EventScript_LeaveClawFossil
|
||||||
giveitem_std ITEM_CLAW_FOSSIL
|
giveitem ITEM_CLAW_FOSSIL
|
||||||
closemessage
|
closemessage
|
||||||
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
|
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
|
||||||
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
|
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ MossdeepCity_EventScript_KingsRockBoy:: @ 81E4C26
|
|||||||
compare VAR_RESULT, NO
|
compare VAR_RESULT, NO
|
||||||
goto_if_eq MossdeepCity_EventScript_DeclineKingsRock
|
goto_if_eq MossdeepCity_EventScript_DeclineKingsRock
|
||||||
msgbox MossdeepCity_Text_YouCanKeepIt, MSGBOX_DEFAULT
|
msgbox MossdeepCity_Text_YouCanKeepIt, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_KINGS_ROCK
|
giveitem ITEM_KINGS_ROCK
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_KINGS_ROCK
|
setflag FLAG_RECEIVED_KINGS_ROCK
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ MossdeepCity_Gym_EventScript_TateAndLizaDefeated:: @ 82208D1
|
|||||||
end
|
end
|
||||||
|
|
||||||
MossdeepCity_Gym_EventScript_GiveCalmMind2:: @ 8220937
|
MossdeepCity_Gym_EventScript_GiveCalmMind2:: @ 8220937
|
||||||
giveitem_std ITEM_TM04
|
giveitem ITEM_TM04
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox MossdeepCity_Gym_Text_ExplainCalmMind, MSGBOX_DEFAULT
|
msgbox MossdeepCity_Gym_Text_ExplainCalmMind, MSGBOX_DEFAULT
|
||||||
@@ -100,7 +100,7 @@ MossdeepCity_Gym_EventScript_GiveCalmMind2:: @ 8220937
|
|||||||
end
|
end
|
||||||
|
|
||||||
MossdeepCity_Gym_EventScript_GiveCalmMind:: @ 822095B
|
MossdeepCity_Gym_EventScript_GiveCalmMind:: @ 822095B
|
||||||
giveitem_std ITEM_TM04
|
giveitem ITEM_TM04
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_BagIsFull
|
goto_if_eq Common_EventScript_BagIsFull
|
||||||
msgbox MossdeepCity_Gym_Text_ExplainCalmMind, MSGBOX_DEFAULT
|
msgbox MossdeepCity_Gym_Text_ExplainCalmMind, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ MossdeepCity_House3_EventScript_SuperRodFisherman:: @ 82225C3
|
|||||||
compare VAR_RESULT, NO
|
compare VAR_RESULT, NO
|
||||||
goto_if_eq MossdeepCity_House3_EventScript_DeclineSuperRod
|
goto_if_eq MossdeepCity_House3_EventScript_DeclineSuperRod
|
||||||
msgbox MossdeepCity_House3_Text_SuperRodIsSuper, MSGBOX_DEFAULT
|
msgbox MossdeepCity_House3_Text_SuperRodIsSuper, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_SUPER_ROD
|
giveitem ITEM_SUPER_ROD
|
||||||
setflag FLAG_RECEIVED_SUPER_ROD
|
setflag FLAG_RECEIVED_SUPER_ROD
|
||||||
msgbox MossdeepCity_House3_Text_TryDroppingRodInWater, MSGBOX_DEFAULT
|
msgbox MossdeepCity_House3_Text_TryDroppingRodInWater, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ MossdeepCity_SpaceCenter_1F_EventScript_SunStoneMan:: @ 822308E
|
|||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_SunStoneManMagma
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_SunStoneManMagma
|
||||||
goto_if_set FLAG_RECEIVED_SUN_STONE_MOSSDEEP, MossdeepCity_SpaceCenter_1F_EventScript_GaveSunStone
|
goto_if_set FLAG_RECEIVED_SUN_STONE_MOSSDEEP, MossdeepCity_SpaceCenter_1F_EventScript_GaveSunStone
|
||||||
msgbox MossdeepCity_SpaceCenter_1F_Text_FoundThisYouCanHaveIt, MSGBOX_DEFAULT
|
msgbox MossdeepCity_SpaceCenter_1F_Text_FoundThisYouCanHaveIt, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_SUN_STONE
|
giveitem ITEM_SUN_STONE
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_SUN_STONE_MOSSDEEP
|
setflag FLAG_RECEIVED_SUN_STONE_MOSSDEEP
|
||||||
@@ -135,7 +135,7 @@ MossdeepCity_SpaceCenter_1F_EventScript_GaveSunStone:: @ 82230D0
|
|||||||
MossdeepCity_SpaceCenter_1F_EventScript_SunStoneManMagma:: @ 82230DA
|
MossdeepCity_SpaceCenter_1F_EventScript_SunStoneManMagma:: @ 82230DA
|
||||||
goto_if_set FLAG_RECEIVED_SUN_STONE_MOSSDEEP, MossdeepCity_SpaceCenter_1F_EventScript_GaveSunStoneMagma
|
goto_if_set FLAG_RECEIVED_SUN_STONE_MOSSDEEP, MossdeepCity_SpaceCenter_1F_EventScript_GaveSunStoneMagma
|
||||||
msgbox MossdeepCity_SpaceCenter_1F_Text_MagmaCantStealFuelTakeThis, MSGBOX_DEFAULT
|
msgbox MossdeepCity_SpaceCenter_1F_Text_MagmaCantStealFuelTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_SUN_STONE
|
giveitem ITEM_SUN_STONE
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_SUN_STONE_MOSSDEEP
|
setflag FLAG_RECEIVED_SUN_STONE_MOSSDEEP
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ MossdeepCity_StevensHouse_EventScript_StevenGivesDive:: @ 82227CA
|
|||||||
applymovement 1, MossdeepCity_StevensHouse_Movement_StevenApproachPlayer
|
applymovement 1, MossdeepCity_StevensHouse_Movement_StevenApproachPlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox MossdeepCity_StevensHouse_Text_YouveEarnedHMDive, MSGBOX_DEFAULT
|
msgbox MossdeepCity_StevensHouse_Text_YouveEarnedHMDive, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_HM08
|
giveitem ITEM_HM08
|
||||||
setflag FLAG_RECEIVED_HM08
|
setflag FLAG_RECEIVED_HM08
|
||||||
setflag FLAG_OMIT_DIVE_FROM_STEVEN_LETTER
|
setflag FLAG_OMIT_DIVE_FROM_STEVEN_LETTER
|
||||||
msgbox MossdeepCity_StevensHouse_Text_ExplainDive, MSGBOX_DEFAULT
|
msgbox MossdeepCity_StevensHouse_Text_ExplainDive, MSGBOX_DEFAULT
|
||||||
@@ -149,7 +149,7 @@ MossdeepCity_StevensHouse_EventScript_Letter:: @ 822291B
|
|||||||
|
|
||||||
@ Unused, leftover from RS
|
@ Unused, leftover from RS
|
||||||
MossdeepCity_StevensHouse_EventScript_DiveItemBall:: @ 8222926
|
MossdeepCity_StevensHouse_EventScript_DiveItemBall:: @ 8222926
|
||||||
finditem_std ITEM_HM08
|
finditem ITEM_HM08
|
||||||
setflag FLAG_RECEIVED_HM08
|
setflag FLAG_RECEIVED_HM08
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -110,8 +110,8 @@ MtChimney_EventScript_LavaCookieLady:: @ 822EEF3
|
|||||||
msgbox MtChimney_Text_ThankYouDear, MSGBOX_DEFAULT
|
msgbox MtChimney_Text_ThankYouDear, MSGBOX_DEFAULT
|
||||||
checkitemspace ITEM_LAVA_COOKIE, 1
|
checkitemspace ITEM_LAVA_COOKIE, 1
|
||||||
compare VAR_RESULT, TRUE
|
compare VAR_RESULT, TRUE
|
||||||
call_if_eq MtChimney_EventScript_TakeMoney
|
call_if_eq MtChimney_EventScript_RemoveMoney
|
||||||
giveitem_std ITEM_LAVA_COOKIE
|
giveitem ITEM_LAVA_COOKIE
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq MtChimney_EventScript_BagIsFull
|
goto_if_eq MtChimney_EventScript_BagIsFull
|
||||||
hidemoneybox
|
hidemoneybox
|
||||||
@@ -124,8 +124,8 @@ MtChimney_EventScript_BagIsFull:: @ 822EF51
|
|||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
MtChimney_EventScript_TakeMoney:: @ 822EF5E
|
MtChimney_EventScript_RemoveMoney:: @ 822EF5E
|
||||||
takemoney 200, 0
|
removemoney 200, 0
|
||||||
updatemoneybox 0, 0
|
updatemoneybox 0, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -449,7 +449,7 @@ MtChimney_EventScript_MeteoriteMachine:: @ 822F0E4
|
|||||||
compare VAR_RESULT, NO
|
compare VAR_RESULT, NO
|
||||||
goto_if_eq MtChimney_EventScript_LeaveMeteoriteAlone
|
goto_if_eq MtChimney_EventScript_LeaveMeteoriteAlone
|
||||||
msgbox MtChimney_Text_PlayerRemovedMeteorite, MSGBOX_DEFAULT
|
msgbox MtChimney_Text_PlayerRemovedMeteorite, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_METEORITE
|
giveitem ITEM_METEORITE
|
||||||
setflag FLAG_RECEIVED_METEORITE
|
setflag FLAG_RECEIVED_METEORITE
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ MtPyre_1F_EventScript_CleanseTagWoman:: @ 8230F3F
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_CLEANSE_TAG, MtPyre_1F_EventScript_ReceivedCleanseTag
|
goto_if_set FLAG_RECEIVED_CLEANSE_TAG, MtPyre_1F_EventScript_ReceivedCleanseTag
|
||||||
msgbox MtPyre_1F_Text_TakeThisForYourOwnGood, MSGBOX_DEFAULT
|
msgbox MtPyre_1F_Text_TakeThisForYourOwnGood, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_CLEANSE_TAG
|
giveitem ITEM_CLEANSE_TAG
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_CLEANSE_TAG
|
setflag FLAG_RECEIVED_CLEANSE_TAG
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ MtPyre_Summit_EventScript_TeamAquaExits:: @ 823203C
|
|||||||
compare VAR_0x8008, 2
|
compare VAR_0x8008, 2
|
||||||
call_if_eq MtPyre_Summit_EventScript_OldLadyApproachPlayer2
|
call_if_eq MtPyre_Summit_EventScript_OldLadyApproachPlayer2
|
||||||
msgbox MtPyre_Summit_Text_BothOrbsTakenMagmaLeftThis, MSGBOX_DEFAULT
|
msgbox MtPyre_Summit_Text_BothOrbsTakenMagmaLeftThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_MAGMA_EMBLEM
|
giveitem ITEM_MAGMA_EMBLEM
|
||||||
setflag FLAG_RECEIVED_RED_OR_BLUE_ORB
|
setflag FLAG_RECEIVED_RED_OR_BLUE_ORB
|
||||||
setflag FLAG_HIDE_JAGGED_PASS_MAGMA_GUARD
|
setflag FLAG_HIDE_JAGGED_PASS_MAGMA_GUARD
|
||||||
releaseall
|
releaseall
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ OldaleTown_EventScript_GoToMartEast:: @ 81E8F75
|
|||||||
|
|
||||||
OldaleTown_EventScript_ExplainPokemonMart:: @ 81E8F8C
|
OldaleTown_EventScript_ExplainPokemonMart:: @ 81E8F8C
|
||||||
msgbox OldaleTown_Text_ThisIsAPokemonMart, MSGBOX_DEFAULT
|
msgbox OldaleTown_Text_ThisIsAPokemonMart, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_POTION
|
giveitem ITEM_POTION
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq OldaleTown_EventScript_BagIsFull
|
goto_if_eq OldaleTown_EventScript_BagIsFull
|
||||||
msgbox OldaleTown_Text_PotionExplanation, MSGBOX_DEFAULT
|
msgbox OldaleTown_Text_PotionExplanation, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ PacifidlogTown_House2_EventScript_ClearReceivedFanClubTM:: @ 8203812
|
|||||||
|
|
||||||
PacifidlogTown_House2_EventScript_GiveReturn:: @ 8203816
|
PacifidlogTown_House2_EventScript_GiveReturn:: @ 8203816
|
||||||
msgbox PacifidlogTown_House2_Text_AdoringPokemonTakeThis, MSGBOX_DEFAULT
|
msgbox PacifidlogTown_House2_Text_AdoringPokemonTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM27
|
giveitem ITEM_TM27
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
|
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
|
||||||
@@ -57,7 +57,7 @@ PacifidlogTown_House2_EventScript_PutInEffort:: @ 8203845
|
|||||||
|
|
||||||
PacifidlogTown_House2_EventScript_GiveFrustration:: @ 820384F
|
PacifidlogTown_House2_EventScript_GiveFrustration:: @ 820384F
|
||||||
msgbox PacifidlogTown_House2_Text_ViciousPokemonTakeThis, MSGBOX_DEFAULT
|
msgbox PacifidlogTown_House2_Text_ViciousPokemonTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM21
|
giveitem ITEM_TM21
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
|
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
|
||||||
|
|||||||
@@ -16,20 +16,13 @@ PetalburgCity_Gym_OnLoad: @ 820489E
|
|||||||
PetalburgCity_Gym_EventScript_OpenUnlockedDoors:: @ 82048B5
|
PetalburgCity_Gym_EventScript_OpenUnlockedDoors:: @ 82048B5
|
||||||
setvar VAR_0x8005, 1
|
setvar VAR_0x8005, 1
|
||||||
call PetalburgCity_Gym_EventScript_OpenGymEntranceDoors
|
call PetalburgCity_Gym_EventScript_OpenGymEntranceDoors
|
||||||
checktrainerflag TRAINER_RANDALL
|
call_if_defeated TRAINER_RANDALL, PetalburgCity_Gym_EventScript_OpenSpeedRoomDoors
|
||||||
call_if_eq PetalburgCity_Gym_EventScript_OpenSpeedRoomDoors
|
call_if_defeated TRAINER_MARY, PetalburgCity_Gym_EventScript_OpenAccuracyRoomDoors
|
||||||
checktrainerflag TRAINER_MARY
|
call_if_defeated TRAINER_PARKER, PetalburgCity_Gym_EventScript_OpenConfusionRoomDoors
|
||||||
call_if_eq PetalburgCity_Gym_EventScript_OpenAccuracyRoomDoors
|
call_if_defeated TRAINER_ALEXIA, PetalburgCity_Gym_EventScript_OpenDefenseRoomDoors
|
||||||
checktrainerflag TRAINER_PARKER
|
call_if_defeated TRAINER_GEORGE, PetalburgCity_Gym_EventScript_OpenRecoveryRoomDoors
|
||||||
call_if_eq PetalburgCity_Gym_EventScript_OpenConfusionRoomDoors
|
call_if_defeated TRAINER_JODY, PetalburgCity_Gym_EventScript_OpenStrengthRoomDoors
|
||||||
checktrainerflag TRAINER_ALEXIA
|
call_if_defeated TRAINER_BERKE, PetalburgCity_Gym_EventScript_OpenOHKORoomDoors
|
||||||
call_if_eq PetalburgCity_Gym_EventScript_OpenDefenseRoomDoors
|
|
||||||
checktrainerflag TRAINER_GEORGE
|
|
||||||
call_if_eq PetalburgCity_Gym_EventScript_OpenRecoveryRoomDoors
|
|
||||||
checktrainerflag TRAINER_JODY
|
|
||||||
call_if_eq PetalburgCity_Gym_EventScript_OpenStrengthRoomDoors
|
|
||||||
checktrainerflag TRAINER_BERKE
|
|
||||||
call_if_eq PetalburgCity_Gym_EventScript_OpenOHKORoomDoors
|
|
||||||
end
|
end
|
||||||
|
|
||||||
PetalburgCity_Gym_EventScript_UnlockAllDoors:: @ 82048FF
|
PetalburgCity_Gym_EventScript_UnlockAllDoors:: @ 82048FF
|
||||||
@@ -403,7 +396,7 @@ PetalburgCity_Gym_EventScript_DontGiveEnigmaBerry:: @ 8204E17
|
|||||||
return
|
return
|
||||||
|
|
||||||
PetalburgCity_Gym_EventScript_GiveEnigmaBerry:: @ 8204E1D
|
PetalburgCity_Gym_EventScript_GiveEnigmaBerry:: @ 8204E1D
|
||||||
giveitem_std ITEM_ENIGMA_BERRY
|
giveitem ITEM_ENIGMA_BERRY
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setvar VAR_ENIGMA_BERRY_AVAILABLE, 0
|
setvar VAR_ENIGMA_BERRY_AVAILABLE, 0
|
||||||
@@ -444,7 +437,7 @@ PetalburgCity_Gym_EventScript_NormanBattle:: @ 8204E3B
|
|||||||
end
|
end
|
||||||
|
|
||||||
PetalburgCity_Gym_EventScript_GiveFacade:: @ 8204ED2
|
PetalburgCity_Gym_EventScript_GiveFacade:: @ 8204ED2
|
||||||
giveitem_std ITEM_TM42
|
giveitem ITEM_TM42
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_BagIsFull
|
goto_if_eq Common_EventScript_BagIsFull
|
||||||
setflag FLAG_RECEIVED_TM42
|
setflag FLAG_RECEIVED_TM42
|
||||||
@@ -829,8 +822,7 @@ PetalburgCity_Gym_EventScript_AccuracyRoomDoor:: @ 8205187
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_ConfusionRoomDoor:: @ 82051BC
|
PetalburgCity_Gym_EventScript_ConfusionRoomDoor:: @ 82051BC
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_RANDALL
|
goto_if_not_defeated TRAINER_RANDALL, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 7
|
setvar VAR_0x8008, 7
|
||||||
setvar VAR_0x8009, 46
|
setvar VAR_0x8009, 46
|
||||||
msgbox PetalburgCity_Gym_Text_EnterConfusionRoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterConfusionRoom, MSGBOX_YESNO
|
||||||
@@ -842,8 +834,7 @@ PetalburgCity_Gym_EventScript_ConfusionRoomDoor:: @ 82051BC
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_LeftDefenseRoomDoor:: @ 82051EF
|
PetalburgCity_Gym_EventScript_LeftDefenseRoomDoor:: @ 82051EF
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_RANDALL
|
goto_if_not_defeated TRAINER_RANDALL, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 1
|
setvar VAR_0x8008, 1
|
||||||
setvar VAR_0x8009, 59
|
setvar VAR_0x8009, 59
|
||||||
msgbox PetalburgCity_Gym_Text_EnterDefenseRoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterDefenseRoom, MSGBOX_YESNO
|
||||||
@@ -855,8 +846,7 @@ PetalburgCity_Gym_EventScript_LeftDefenseRoomDoor:: @ 82051EF
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_RightDefenseRoomDoor:: @ 8205222
|
PetalburgCity_Gym_EventScript_RightDefenseRoomDoor:: @ 8205222
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_MARY
|
goto_if_not_defeated TRAINER_MARY, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 7
|
setvar VAR_0x8008, 7
|
||||||
setvar VAR_0x8009, 59
|
setvar VAR_0x8009, 59
|
||||||
msgbox PetalburgCity_Gym_Text_EnterDefenseRoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterDefenseRoom, MSGBOX_YESNO
|
||||||
@@ -868,8 +858,7 @@ PetalburgCity_Gym_EventScript_RightDefenseRoomDoor:: @ 8205222
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_RecoveryRoomDoor:: @ 8205255
|
PetalburgCity_Gym_EventScript_RecoveryRoomDoor:: @ 8205255
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_MARY
|
goto_if_not_defeated TRAINER_MARY, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 1
|
setvar VAR_0x8008, 1
|
||||||
setvar VAR_0x8009, 72
|
setvar VAR_0x8009, 72
|
||||||
msgbox PetalburgCity_Gym_Text_EnterRecoveryRoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterRecoveryRoom, MSGBOX_YESNO
|
||||||
@@ -881,8 +870,7 @@ PetalburgCity_Gym_EventScript_RecoveryRoomDoor:: @ 8205255
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_LeftStrengthRoomDoor:: @ 8205288
|
PetalburgCity_Gym_EventScript_LeftStrengthRoomDoor:: @ 8205288
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_PARKER
|
goto_if_not_defeated TRAINER_PARKER, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 1
|
setvar VAR_0x8008, 1
|
||||||
setvar VAR_0x8009, 20
|
setvar VAR_0x8009, 20
|
||||||
msgbox PetalburgCity_Gym_Text_EnterStrengthRoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterStrengthRoom, MSGBOX_YESNO
|
||||||
@@ -894,8 +882,7 @@ PetalburgCity_Gym_EventScript_LeftStrengthRoomDoor:: @ 8205288
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_RightStrengthRoomDoor:: @ 82052BB
|
PetalburgCity_Gym_EventScript_RightStrengthRoomDoor:: @ 82052BB
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_ALEXIA
|
goto_if_not_defeated TRAINER_ALEXIA, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 7
|
setvar VAR_0x8008, 7
|
||||||
setvar VAR_0x8009, 20
|
setvar VAR_0x8009, 20
|
||||||
msgbox PetalburgCity_Gym_Text_EnterStrengthRoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterStrengthRoom, MSGBOX_YESNO
|
||||||
@@ -907,8 +894,7 @@ PetalburgCity_Gym_EventScript_RightStrengthRoomDoor:: @ 82052BB
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_LeftOHKORoomDoor:: @ 82052EE
|
PetalburgCity_Gym_EventScript_LeftOHKORoomDoor:: @ 82052EE
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_ALEXIA
|
goto_if_not_defeated TRAINER_ALEXIA, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 1
|
setvar VAR_0x8008, 1
|
||||||
setvar VAR_0x8009, 33
|
setvar VAR_0x8009, 33
|
||||||
msgbox PetalburgCity_Gym_Text_EnterOHKORoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterOHKORoom, MSGBOX_YESNO
|
||||||
@@ -920,8 +906,7 @@ PetalburgCity_Gym_EventScript_LeftOHKORoomDoor:: @ 82052EE
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_RightOHKORoomDoor:: @ 8205321
|
PetalburgCity_Gym_EventScript_RightOHKORoomDoor:: @ 8205321
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_GEORGE
|
goto_if_not_defeated TRAINER_GEORGE, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 7
|
setvar VAR_0x8008, 7
|
||||||
setvar VAR_0x8009, 33
|
setvar VAR_0x8009, 33
|
||||||
msgbox PetalburgCity_Gym_Text_EnterOHKORoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterOHKORoom, MSGBOX_YESNO
|
||||||
@@ -933,8 +918,7 @@ PetalburgCity_Gym_EventScript_RightOHKORoomDoor:: @ 8205321
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_LeftGymLeadersRoomDoor:: @ 8205354
|
PetalburgCity_Gym_EventScript_LeftGymLeadersRoomDoor:: @ 8205354
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_JODY
|
goto_if_not_defeated TRAINER_JODY, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 1
|
setvar VAR_0x8008, 1
|
||||||
setvar VAR_0x8009, 7
|
setvar VAR_0x8009, 7
|
||||||
msgbox PetalburgCity_Gym_Text_EnterGymLeadersRoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterGymLeadersRoom, MSGBOX_YESNO
|
||||||
@@ -946,8 +930,7 @@ PetalburgCity_Gym_EventScript_LeftGymLeadersRoomDoor:: @ 8205354
|
|||||||
|
|
||||||
PetalburgCity_Gym_EventScript_RightGymLeadersRoomDoor:: @ 8205387
|
PetalburgCity_Gym_EventScript_RightGymLeadersRoomDoor:: @ 8205387
|
||||||
lockall
|
lockall
|
||||||
checktrainerflag TRAINER_BERKE
|
goto_if_not_defeated TRAINER_BERKE, PetalburgCity_Gym_EventScript_DoorLocked
|
||||||
goto_if_lt PetalburgCity_Gym_EventScript_DoorLocked
|
|
||||||
setvar VAR_0x8008, 7
|
setvar VAR_0x8008, 7
|
||||||
setvar VAR_0x8009, 7
|
setvar VAR_0x8009, 7
|
||||||
msgbox PetalburgCity_Gym_Text_EnterGymLeadersRoom, MSGBOX_YESNO
|
msgbox PetalburgCity_Gym_Text_EnterGymLeadersRoom, MSGBOX_YESNO
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ PetalburgCity_WallysHouse_OnFrame: @ 8204247
|
|||||||
PetalburgCity_WallysHouse_EventScript_GiveHM03Surf:: @ 8204251
|
PetalburgCity_WallysHouse_EventScript_GiveHM03Surf:: @ 8204251
|
||||||
lockall
|
lockall
|
||||||
msgbox PetalburgCity_WallysHouse_Text_PleaseExcuseUs, MSGBOX_DEFAULT
|
msgbox PetalburgCity_WallysHouse_Text_PleaseExcuseUs, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_HM03
|
giveitem ITEM_HM03
|
||||||
setflag FLAG_RECEIVED_HM03
|
setflag FLAG_RECEIVED_HM03
|
||||||
msgbox PetalburgCity_WallysHouse_Text_SurfGoAllSortsOfPlaces, MSGBOX_DEFAULT
|
msgbox PetalburgCity_WallysHouse_Text_SurfGoAllSortsOfPlaces, MSGBOX_DEFAULT
|
||||||
setvar VAR_PETALBURG_CITY_STATE, 5
|
setvar VAR_PETALBURG_CITY_STATE, 5
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ PetalburgWoods_EventScript_DevonResearcherPostBattle:: @ 822E138
|
|||||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox PetalburgWoods_Text_ThatWasAwfullyClose, MSGBOX_DEFAULT
|
msgbox PetalburgWoods_Text_ThatWasAwfullyClose, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_GREAT_BALL
|
giveitem ITEM_GREAT_BALL
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq PetalburgWoods_EventScript_BagFull
|
goto_if_eq PetalburgWoods_EventScript_BagFull
|
||||||
goto PetalburgWoods_EventScript_DevonResearcherFinish
|
goto PetalburgWoods_EventScript_DevonResearcherFinish
|
||||||
@@ -251,7 +251,7 @@ PetalburgWoods_EventScript_Girl:: @ 822E222
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_MIRACLE_SEED, PetalburgWoods_EventScript_ExplainMiracleSeed
|
goto_if_set FLAG_RECEIVED_MIRACLE_SEED, PetalburgWoods_EventScript_ExplainMiracleSeed
|
||||||
msgbox PetalburgWoods_Text_TryUsingThisItem, MSGBOX_DEFAULT
|
msgbox PetalburgWoods_Text_TryUsingThisItem, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_MIRACLE_SEED
|
giveitem ITEM_MIRACLE_SEED
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_MIRACLE_SEED
|
setflag FLAG_RECEIVED_MIRACLE_SEED
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ Route104_EventScript_ExpertF:: @ 81ECF8C
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104, Route104_EventScript_ReceivedBerry
|
goto_if_set FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104, Route104_EventScript_ReceivedBerry
|
||||||
msgbox Route104_Text_PlantBerriesInSoilTakeThis, MSGBOX_DEFAULT
|
msgbox Route104_Text_PlantBerriesInSoilTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_CHESTO_BERRY
|
giveitem ITEM_CHESTO_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104
|
setflag FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104
|
||||||
@@ -287,7 +287,7 @@ Route104_EventScript_WhiteHerbFlorist:: @ 81ECFCD
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_WHITE_HERB, Route104_EventScript_ReceivedWhiteHerb
|
goto_if_set FLAG_RECEIVED_WHITE_HERB, Route104_EventScript_ReceivedWhiteHerb
|
||||||
msgbox Route104_Text_DontNeedThisTakeIt, MSGBOX_DEFAULT
|
msgbox Route104_Text_DontNeedThisTakeIt, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_WHITE_HERB
|
giveitem ITEM_WHITE_HERB
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_WHITE_HERB
|
setflag FLAG_RECEIVED_WHITE_HERB
|
||||||
@@ -340,7 +340,7 @@ Route104_EventScript_Boy2:: @ 81ED057
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_TM09, Route104_EventScript_ReceivedBulletSeed
|
goto_if_set FLAG_RECEIVED_TM09, Route104_EventScript_ReceivedBulletSeed
|
||||||
msgbox Route104_Text_LikeFillingMouthWithSeedsTakeThis, MSGBOX_DEFAULT
|
msgbox Route104_Text_LikeFillingMouthWithSeedsTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM09
|
giveitem ITEM_TM09
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM09
|
setflag FLAG_RECEIVED_TM09
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ Route104_PrettyPetalFlowerShop_EventScript_WailmerPailGirl:: @ 822A40C
|
|||||||
|
|
||||||
Route104_PrettyPetalFlowerShop_EventScript_GiveWailmerPail:: @ 822A421
|
Route104_PrettyPetalFlowerShop_EventScript_GiveWailmerPail:: @ 822A421
|
||||||
msgbox Route104_PrettyPetalFlowerShop_Text_YouCanHaveThis, MSGBOX_DEFAULT
|
msgbox Route104_PrettyPetalFlowerShop_Text_YouCanHaveThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_WAILMER_PAIL
|
giveitem ITEM_WAILMER_PAIL
|
||||||
msgbox Route104_PrettyPetalFlowerShop_Text_WailmerPailExplanation, MSGBOX_DEFAULT
|
msgbox Route104_PrettyPetalFlowerShop_Text_WailmerPailExplanation, MSGBOX_DEFAULT
|
||||||
setflag FLAG_RECEIVED_WAILMER_PAIL
|
setflag FLAG_RECEIVED_WAILMER_PAIL
|
||||||
release
|
release
|
||||||
@@ -89,7 +89,7 @@ Route104_PrettyPetalFlowerShop_EventScript_RandomBerryGirl:: @ 822A442
|
|||||||
msgbox Route104_PrettyPetalFlowerShop_Text_ImGrowingFlowers, MSGBOX_DEFAULT
|
msgbox Route104_PrettyPetalFlowerShop_Text_ImGrowingFlowers, MSGBOX_DEFAULT
|
||||||
random 8
|
random 8
|
||||||
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
||||||
giveitem_std VAR_RESULT
|
giveitem VAR_RESULT
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_DAILY_FLOWER_SHOP_RECEIVED_BERRY
|
setflag FLAG_DAILY_FLOWER_SHOP_RECEIVED_BERRY
|
||||||
|
|||||||
@@ -330,7 +330,7 @@ Route109_EventScript_SoftSandGirl:: @ 81EE9B5
|
|||||||
special GetPlayerBigGuyGirlString
|
special GetPlayerBigGuyGirlString
|
||||||
goto_if_set FLAG_RECEIVED_SOFT_SAND, Route109_EventScript_AlreadyReceivedSoftSand
|
goto_if_set FLAG_RECEIVED_SOFT_SAND, Route109_EventScript_AlreadyReceivedSoftSand
|
||||||
msgbox Route109_Text_YouCanHaveThis, MSGBOX_DEFAULT
|
msgbox Route109_Text_YouCanHaveThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_SOFT_SAND
|
giveitem ITEM_SOFT_SAND
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
closemessage
|
closemessage
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ Route109_SeashoreHouse_EventScript_AlreadyGaveIntroduction:: @ 8269428
|
|||||||
|
|
||||||
Route109_SeashoreHouse_EventScript_DefeatedTrainers:: @ 8269432
|
Route109_SeashoreHouse_EventScript_DefeatedTrainers:: @ 8269432
|
||||||
msgbox Route109_SeashoreHouse_Text_TakeTheseSodaPopBottles, MSGBOX_DEFAULT
|
msgbox Route109_SeashoreHouse_Text_TakeTheseSodaPopBottles, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_SODA_POP, 6
|
giveitem ITEM_SODA_POP, 6
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Route109_SeashoreHouse_EventScript_BagFull
|
goto_if_eq Route109_SeashoreHouse_EventScript_BagFull
|
||||||
setflag FLAG_RECEIVED_6_SODA_POP
|
setflag FLAG_RECEIVED_6_SODA_POP
|
||||||
@@ -54,9 +54,9 @@ Route109_SeashoreHouse_EventScript_BuySodaPop:: @ 8269484
|
|||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Route109_SeashoreHouse_EventScript_NotEnoughSpace
|
goto_if_eq Route109_SeashoreHouse_EventScript_NotEnoughSpace
|
||||||
msgbox Route109_SeashoreHouse_Text_HereYouGo, MSGBOX_DEFAULT
|
msgbox Route109_SeashoreHouse_Text_HereYouGo, MSGBOX_DEFAULT
|
||||||
takemoney 300, 0
|
removemoney 300, 0
|
||||||
updatemoneybox 0, 0
|
updatemoneybox 0, 0
|
||||||
giveitem_std ITEM_SODA_POP
|
giveitem ITEM_SODA_POP
|
||||||
hidemoneybox
|
hidemoneybox
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
@@ -89,12 +89,9 @@ Route109_SeashoreHouse_EventScript_Simon:: @ 8269518
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route109_SeashoreHouse_EventScript_CheckTrainersCompletion:: @ 8269533
|
Route109_SeashoreHouse_EventScript_CheckTrainersCompletion:: @ 8269533
|
||||||
checktrainerflag TRAINER_DWAYNE
|
goto_if_not_defeated TRAINER_DWAYNE, Route109_SeashoreHouse_EventScript_TrainersNotCompleted
|
||||||
goto_if_lt Route109_SeashoreHouse_EventScript_TrainersNotCompleted
|
goto_if_not_defeated TRAINER_JOHANNA, Route109_SeashoreHouse_EventScript_TrainersNotCompleted
|
||||||
checktrainerflag TRAINER_JOHANNA
|
goto_if_not_defeated TRAINER_SIMON, Route109_SeashoreHouse_EventScript_TrainersNotCompleted
|
||||||
goto_if_lt Route109_SeashoreHouse_EventScript_TrainersNotCompleted
|
|
||||||
checktrainerflag TRAINER_SIMON
|
|
||||||
goto_if_lt Route109_SeashoreHouse_EventScript_TrainersNotCompleted
|
|
||||||
setflag FLAG_DEFEATED_SEASHORE_HOUSE
|
setflag FLAG_DEFEATED_SEASHORE_HOUSE
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -473,7 +473,7 @@ Route110_EventScript_BrendanDefeated:: @ 81EF8C4
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route110_EventScript_GiveItemfinder:: @ 81EF8DF
|
Route110_EventScript_GiveItemfinder:: @ 81EF8DF
|
||||||
giveitem_std ITEM_ITEMFINDER
|
giveitem ITEM_ITEMFINDER
|
||||||
return
|
return
|
||||||
|
|
||||||
Route110_EventScript_RivalExit:: @ 81EF8EC
|
Route110_EventScript_RivalExit:: @ 81EF8EC
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ Route110_TrickHouseEnd_EventScript_CompletedPuzzle1:: @ 826AD84
|
|||||||
msgbox Route110_TrickHouseEnd_Text_AllNightToPlantTrees, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_AllNightToPlantTrees, MSGBOX_DEFAULT
|
||||||
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
||||||
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
||||||
giveitem_std ITEM_RARE_CANDY
|
giveitem ITEM_RARE_CANDY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
||||||
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
||||||
@@ -73,7 +73,7 @@ Route110_TrickHouseEnd_EventScript_CompletedPuzzle2:: @ 826ADC0
|
|||||||
msgbox Route110_TrickHouseEnd_Text_AllNightToMakeMaze, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_AllNightToMakeMaze, MSGBOX_DEFAULT
|
||||||
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
||||||
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
||||||
giveitem_std ITEM_TIMER_BALL
|
giveitem ITEM_TIMER_BALL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
||||||
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
||||||
@@ -86,7 +86,7 @@ Route110_TrickHouseEnd_EventScript_CompletedPuzzle3:: @ 826ADFC
|
|||||||
msgbox Route110_TrickHouseEnd_Text_AllNightToPreparePanels, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_AllNightToPreparePanels, MSGBOX_DEFAULT
|
||||||
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
||||||
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
||||||
giveitem_std ITEM_HARD_STONE
|
giveitem ITEM_HARD_STONE
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
||||||
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
||||||
@@ -99,7 +99,7 @@ Route110_TrickHouseEnd_EventScript_CompletedPuzzle4:: @ 826AE38
|
|||||||
msgbox Route110_TrickHouseEnd_Text_AllNightToShoveBoulders, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_AllNightToShoveBoulders, MSGBOX_DEFAULT
|
||||||
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
||||||
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
||||||
giveitem_std ITEM_SMOKE_BALL
|
giveitem ITEM_SMOKE_BALL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
||||||
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
||||||
@@ -112,7 +112,7 @@ Route110_TrickHouseEnd_EventScript_CompletedPuzzle5:: @ 826AE74
|
|||||||
msgbox Route110_TrickHouseEnd_Text_AllNightToMakeMechadolls, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_AllNightToMakeMechadolls, MSGBOX_DEFAULT
|
||||||
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
||||||
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
||||||
giveitem_std ITEM_TM12
|
giveitem ITEM_TM12
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
||||||
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
||||||
@@ -125,7 +125,7 @@ Route110_TrickHouseEnd_EventScript_CompletedPuzzle6:: @ 826AEB0
|
|||||||
msgbox Route110_TrickHouseEnd_Text_AllNightToInstallDoors, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_AllNightToInstallDoors, MSGBOX_DEFAULT
|
||||||
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
||||||
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
||||||
giveitem_std ITEM_MAGNET
|
giveitem ITEM_MAGNET
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
||||||
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
||||||
@@ -138,7 +138,7 @@ Route110_TrickHouseEnd_EventScript_CompletedPuzzle7:: @ 826AEEC
|
|||||||
msgbox Route110_TrickHouseEnd_Text_AllNightSettingUpArrows, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_AllNightSettingUpArrows, MSGBOX_DEFAULT
|
||||||
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
|
||||||
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
|
||||||
giveitem_std ITEM_PP_MAX
|
giveitem ITEM_PP_MAX
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
|
||||||
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
|
||||||
@@ -182,11 +182,11 @@ Route110_TrickHouseEnd_EventScript_ChooseTent:: @ 826AFA5
|
|||||||
goto Route110_TrickHouseEnd_EventScript_GiveBlueTent
|
goto Route110_TrickHouseEnd_EventScript_GiveBlueTent
|
||||||
|
|
||||||
Route110_TrickHouseEnd_EventScript_GiveRedTent:: @ 826AFBF
|
Route110_TrickHouseEnd_EventScript_GiveRedTent:: @ 826AFBF
|
||||||
givedecoration_std DECOR_RED_TENT
|
givedecoration DECOR_RED_TENT
|
||||||
return
|
return
|
||||||
|
|
||||||
Route110_TrickHouseEnd_EventScript_GiveBlueTent:: @ 826AFC7
|
Route110_TrickHouseEnd_EventScript_GiveBlueTent:: @ 826AFC7
|
||||||
givedecoration_std DECOR_BLUE_TENT
|
givedecoration DECOR_BLUE_TENT
|
||||||
return
|
return
|
||||||
|
|
||||||
Route110_TrickHouseEnd_EventScript_TrickMasterExit:: @ 826AFCF
|
Route110_TrickHouseEnd_EventScript_TrickMasterExit:: @ 826AFCF
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ Route110_TrickHouseEntrance_EventScript_GiveReward:: @ 8269E8F
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_GivePuzzle1Reward:: @ 8269EEF
|
Route110_TrickHouseEntrance_EventScript_GivePuzzle1Reward:: @ 8269EEF
|
||||||
giveitem_std ITEM_RARE_CANDY
|
giveitem ITEM_RARE_CANDY
|
||||||
compare VAR_RESULT, TRUE
|
compare VAR_RESULT, TRUE
|
||||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
@@ -377,7 +377,7 @@ Route110_TrickHouseEntrance_EventScript_GivePuzzle1Reward:: @ 8269EEF
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_GivePuzzle2Reward:: @ 8269F1B
|
Route110_TrickHouseEntrance_EventScript_GivePuzzle2Reward:: @ 8269F1B
|
||||||
giveitem_std ITEM_TIMER_BALL
|
giveitem ITEM_TIMER_BALL
|
||||||
compare VAR_RESULT, TRUE
|
compare VAR_RESULT, TRUE
|
||||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
@@ -387,7 +387,7 @@ Route110_TrickHouseEntrance_EventScript_GivePuzzle2Reward:: @ 8269F1B
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_GivePuzzle3Reward:: @ 8269F47
|
Route110_TrickHouseEntrance_EventScript_GivePuzzle3Reward:: @ 8269F47
|
||||||
giveitem_std ITEM_HARD_STONE
|
giveitem ITEM_HARD_STONE
|
||||||
compare VAR_RESULT, TRUE
|
compare VAR_RESULT, TRUE
|
||||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
@@ -397,7 +397,7 @@ Route110_TrickHouseEntrance_EventScript_GivePuzzle3Reward:: @ 8269F47
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_GivePuzzle4Reward:: @ 8269F73
|
Route110_TrickHouseEntrance_EventScript_GivePuzzle4Reward:: @ 8269F73
|
||||||
giveitem_std ITEM_SMOKE_BALL
|
giveitem ITEM_SMOKE_BALL
|
||||||
compare VAR_RESULT, TRUE
|
compare VAR_RESULT, TRUE
|
||||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
@@ -407,7 +407,7 @@ Route110_TrickHouseEntrance_EventScript_GivePuzzle4Reward:: @ 8269F73
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_GivePuzzle5Reward:: @ 8269F9F
|
Route110_TrickHouseEntrance_EventScript_GivePuzzle5Reward:: @ 8269F9F
|
||||||
giveitem_std ITEM_TM12
|
giveitem ITEM_TM12
|
||||||
compare VAR_RESULT, TRUE
|
compare VAR_RESULT, TRUE
|
||||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
@@ -417,7 +417,7 @@ Route110_TrickHouseEntrance_EventScript_GivePuzzle5Reward:: @ 8269F9F
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_GivePuzzle6Reward:: @ 8269FCB
|
Route110_TrickHouseEntrance_EventScript_GivePuzzle6Reward:: @ 8269FCB
|
||||||
giveitem_std ITEM_MAGNET
|
giveitem ITEM_MAGNET
|
||||||
compare VAR_RESULT, TRUE
|
compare VAR_RESULT, TRUE
|
||||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
@@ -427,7 +427,7 @@ Route110_TrickHouseEntrance_EventScript_GivePuzzle6Reward:: @ 8269FCB
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_GivePuzzle7Reward:: @ 8269FF7
|
Route110_TrickHouseEntrance_EventScript_GivePuzzle7Reward:: @ 8269FF7
|
||||||
giveitem_std ITEM_PP_MAX
|
giveitem ITEM_PP_MAX
|
||||||
compare VAR_RESULT, TRUE
|
compare VAR_RESULT, TRUE
|
||||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
goto_if_eq Route110_TrickHouseEntrance_EventScript_GotReward
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
@@ -464,11 +464,11 @@ Route110_TrickHouseEntrance_EventScript_ChooseTent:: @ 826A070
|
|||||||
goto Route110_TrickHouseEntrance_EventScript_GiveBlueTent
|
goto Route110_TrickHouseEntrance_EventScript_GiveBlueTent
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_GiveRedTent:: @ 826A08A
|
Route110_TrickHouseEntrance_EventScript_GiveRedTent:: @ 826A08A
|
||||||
givedecoration_std DECOR_RED_TENT
|
givedecoration DECOR_RED_TENT
|
||||||
return
|
return
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_GiveBlueTent:: @ 826A092
|
Route110_TrickHouseEntrance_EventScript_GiveBlueTent:: @ 826A092
|
||||||
givedecoration_std DECOR_BLUE_TENT
|
givedecoration DECOR_BLUE_TENT
|
||||||
return
|
return
|
||||||
|
|
||||||
Route110_TrickHouseEntrance_EventScript_ReceivedTent:: @ 826A09A
|
Route110_TrickHouseEntrance_EventScript_ReceivedTent:: @ 826A09A
|
||||||
|
|||||||
@@ -48,8 +48,7 @@ Route111_OnTransition: @ 81F0D87
|
|||||||
call_if_eq Route111_EventScript_SetMirageTowerGone
|
call_if_eq Route111_EventScript_SetMirageTowerGone
|
||||||
call Route111_EventScript_CheckSetSandstorm
|
call Route111_EventScript_CheckSetSandstorm
|
||||||
call GabbyAndTy_EventScript_UpdateLocation
|
call GabbyAndTy_EventScript_UpdateLocation
|
||||||
checktrainerflag TRAINER_VICKY
|
goto_if_not_defeated TRAINER_VICKY, Route111_EventScript_SetWinstratesNotDefeated
|
||||||
goto_if_lt Route111_EventScript_SetWinstratesNotDefeated
|
|
||||||
end
|
end
|
||||||
|
|
||||||
Route111_EventScript_SetFallingPlayerGfx:: @ 81F0DC2
|
Route111_EventScript_SetFallingPlayerGfx:: @ 81F0DC2
|
||||||
@@ -162,7 +161,7 @@ Route111_EventScript_Girl:: @ 81F0EB9
|
|||||||
dotimebasedevents
|
dotimebasedevents
|
||||||
goto_if_set FLAG_DAILY_ROUTE_111_RECEIVED_BERRY, Route111_EventScript_ReceivedBerry
|
goto_if_set FLAG_DAILY_ROUTE_111_RECEIVED_BERRY, Route111_EventScript_ReceivedBerry
|
||||||
msgbox Route111_Text_WateredPlantsEveryDayTakeBerry, MSGBOX_DEFAULT
|
msgbox Route111_Text_WateredPlantsEveryDayTakeBerry, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_RAZZ_BERRY
|
giveitem ITEM_RAZZ_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_DAILY_ROUTE_111_RECEIVED_BERRY
|
setflag FLAG_DAILY_ROUTE_111_RECEIVED_BERRY
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Route111_WinstrateFamilysHouse_EventScript_Victoria:: @ 822A4A2
|
|||||||
setvar VAR_0x8008, 3
|
setvar VAR_0x8008, 3
|
||||||
goto_if_set FLAG_RECEIVED_MACHO_BRACE, Route111_WinstrateFamilysHouse_EventScript_ReceivedMachoBrace
|
goto_if_set FLAG_RECEIVED_MACHO_BRACE, Route111_WinstrateFamilysHouse_EventScript_ReceivedMachoBrace
|
||||||
msgbox Route111_WinstrateFamilysHouse_Text_LikeYouToHaveMachoBrace, MSGBOX_DEFAULT
|
msgbox Route111_WinstrateFamilysHouse_Text_LikeYouToHaveMachoBrace, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_MACHO_BRACE
|
giveitem ITEM_MACHO_BRACE
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_MACHO_BRACE
|
setflag FLAG_RECEIVED_MACHO_BRACE
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ Route113_GlassWorkshop_EventScript_GlassWorker:: @ 826ED1E
|
|||||||
compare VAR_GLASS_WORKSHOP_STATE, 1
|
compare VAR_GLASS_WORKSHOP_STATE, 1
|
||||||
goto_if_eq Route113_GlassWorkshop_EventScript_ExplainSootSack
|
goto_if_eq Route113_GlassWorkshop_EventScript_ExplainSootSack
|
||||||
msgbox Route113_GlassWorkshop_Text_GoCollectAshWithThis, MSGBOX_DEFAULT
|
msgbox Route113_GlassWorkshop_Text_GoCollectAshWithThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_SOOT_SACK
|
giveitem ITEM_SOOT_SACK
|
||||||
setvar VAR_GLASS_WORKSHOP_STATE, 1
|
setvar VAR_GLASS_WORKSHOP_STATE, 1
|
||||||
msgbox Route113_GlassWorkshop_Text_ExplainSootSack, MSGBOX_DEFAULT
|
msgbox Route113_GlassWorkshop_Text_ExplainSootSack, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
@@ -220,13 +220,13 @@ Route113_GlassWorkshop_EventScript_MakeGlassItem:: @ 826F00F
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route113_GlassWorkshop_EventScript_GiveGlassFlute:: @ 826F047
|
Route113_GlassWorkshop_EventScript_GiveGlassFlute:: @ 826F047
|
||||||
giveitem_std VAR_0x8008
|
giveitem VAR_0x8008
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Route113_GlassWorkshop_EventScript_NoRoomForFlute
|
goto_if_eq Route113_GlassWorkshop_EventScript_NoRoomForFlute
|
||||||
return
|
return
|
||||||
|
|
||||||
Route113_GlassWorkshop_EventScript_GiveGlassDecor:: @ 826F05F
|
Route113_GlassWorkshop_EventScript_GiveGlassDecor:: @ 826F05F
|
||||||
givedecoration_std VAR_0x8008
|
givedecoration VAR_0x8008
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Route113_GlassWorkshop_EventScript_NoRoomForDecor
|
goto_if_eq Route113_GlassWorkshop_EventScript_NoRoomForDecor
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Route114_EventScript_Man:: @ 81F2582
|
|||||||
random NUM_ROUTE_114_MAN_BERRIES
|
random NUM_ROUTE_114_MAN_BERRIES
|
||||||
addvar VAR_RESULT, NUM_ROUTE_114_MAN_BERRIES_SKIPPED
|
addvar VAR_RESULT, NUM_ROUTE_114_MAN_BERRIES_SKIPPED
|
||||||
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
||||||
giveitem_std VAR_RESULT
|
giveitem VAR_RESULT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_DAILY_ROUTE_114_RECEIVED_BERRY
|
setflag FLAG_DAILY_ROUTE_114_RECEIVED_BERRY
|
||||||
@@ -51,7 +51,7 @@ Route114_EventScript_RoarGentleman:: @ 81F25D1
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_TM05, Route114_EventScript_ReceivedRoar
|
goto_if_set FLAG_RECEIVED_TM05, Route114_EventScript_ReceivedRoar
|
||||||
msgbox Route114_Text_AllMyMonDoesIsRoarTakeThis, MSGBOX_DEFAULT
|
msgbox Route114_Text_AllMyMonDoesIsRoarTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM05
|
giveitem ITEM_TM05
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM05
|
setflag FLAG_RECEIVED_TM05
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Route114_FossilManiacsHouse_EventScript_FossilManiacsBrother:: @ 822AD3A
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_TM28, Route114_FossilManiacsHouse_EventScript_ReceivedDig
|
goto_if_set FLAG_RECEIVED_TM28, Route114_FossilManiacsHouse_EventScript_ReceivedDig
|
||||||
msgbox Route114_FossilManiacsHouse_Text_HaveThisToDigLikeMyBrother, MSGBOX_DEFAULT
|
msgbox Route114_FossilManiacsHouse_Text_HaveThisToDigLikeMyBrother, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM28
|
giveitem ITEM_TM28
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM28
|
setflag FLAG_RECEIVED_TM28
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Route114_LanettesHouse_EventScript_Lanette:: @ 822B2D2
|
|||||||
goto_if_set FLAG_RECEIVED_DOLL_LANETTE, Route114_LanettesHouse_EventScript_OfferAdvice
|
goto_if_set FLAG_RECEIVED_DOLL_LANETTE, Route114_LanettesHouse_EventScript_OfferAdvice
|
||||||
setflag FLAG_SYS_PC_LANETTE
|
setflag FLAG_SYS_PC_LANETTE
|
||||||
msgbox Route114_LanettesHouse_Text_EverythingClutteredKeepThis, MSGBOX_DEFAULT
|
msgbox Route114_LanettesHouse_Text_EverythingClutteredKeepThis, MSGBOX_DEFAULT
|
||||||
givedecoration_std DECOR_LOTAD_DOLL
|
givedecoration DECOR_LOTAD_DOLL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowNoRoomForDecor
|
goto_if_eq Common_EventScript_ShowNoRoomForDecor
|
||||||
setflag FLAG_RECEIVED_DOLL_LANETTE
|
setflag FLAG_RECEIVED_DOLL_LANETTE
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ Route116_EventScript_DevonEmployee:: @ 81F2CA2
|
|||||||
|
|
||||||
Route116_EventScript_GiveRepeatBall:: @ 81F2CBB
|
Route116_EventScript_GiveRepeatBall:: @ 81F2CBB
|
||||||
setflag FLAG_MET_DEVON_EMPLOYEE
|
setflag FLAG_MET_DEVON_EMPLOYEE
|
||||||
giveitem_std ITEM_REPEAT_BALL
|
giveitem ITEM_REPEAT_BALL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Route116_EventScript_NoRoomForRepeatBall
|
goto_if_eq Route116_EventScript_NoRoomForRepeatBall
|
||||||
msgbox Route116_Text_NewBallAvailableAtMart, MSGBOX_DEFAULT
|
msgbox Route116_Text_NewBallAvailableAtMart, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ Route118_EventScript_GoodRodFisherman:: @ 81F3E14
|
|||||||
|
|
||||||
Route118_EventScript_ReceiveGoodRod:: @ 81F3E3E
|
Route118_EventScript_ReceiveGoodRod:: @ 81F3E3E
|
||||||
msgbox Route118_Text_IdenticalMindsTakeThis, MSGBOX_DEFAULT
|
msgbox Route118_Text_IdenticalMindsTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_GOOD_ROD
|
giveitem ITEM_GOOD_ROD
|
||||||
setflag FLAG_RECEIVED_GOOD_ROD
|
setflag FLAG_RECEIVED_GOOD_ROD
|
||||||
msgbox Route118_Text_TryYourLuckFishing, MSGBOX_DEFAULT
|
msgbox Route118_Text_TryYourLuckFishing, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ Route119_EventScript_DefeatedBrendan:: @ 81F45E4
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route119_EventScript_GiveFlyHM:: @ 81F45FF
|
Route119_EventScript_GiveFlyHM:: @ 81F45FF
|
||||||
giveitem_std ITEM_HM02
|
giveitem ITEM_HM02
|
||||||
setflag FLAG_RECEIVED_HM02
|
setflag FLAG_RECEIVED_HM02
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ Route120_EventScript_GiveIapapaBerry:: @ 81F55F6
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route120_EventScript_GiveBerry:: @ 81F5601
|
Route120_EventScript_GiveBerry:: @ 81F5601
|
||||||
giveitem_std VAR_0x8004
|
giveitem VAR_0x8004
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_DAILY_ROUTE_120_RECEIVED_BERRY
|
setflag FLAG_DAILY_ROUTE_120_RECEIVED_BERRY
|
||||||
@@ -237,7 +237,7 @@ Route120_EventScript_StevenGiveDeconScope:: @ 81F572C
|
|||||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox Route120_Text_StevenGiveDevonScope, MSGBOX_DEFAULT
|
msgbox Route120_Text_StevenGiveDevonScope, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_DEVON_SCOPE
|
giveitem ITEM_DEVON_SCOPE
|
||||||
setflag FLAG_RECEIVED_DEVON_SCOPE
|
setflag FLAG_RECEIVED_DEVON_SCOPE
|
||||||
msgbox Route120_Text_StevenGoodbye, MSGBOX_DEFAULT
|
msgbox Route120_Text_StevenGoodbye, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ Route121_SafariZoneEntrance_EventScript_TryEnterSafariZone:: @ 822BC48
|
|||||||
goto_if_eq Route121_SafariZoneEntrance_EventScript_NotEnoughMoney
|
goto_if_eq Route121_SafariZoneEntrance_EventScript_NotEnoughMoney
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
msgbox Route121_SafariZoneEntrance_Text_ThatWillBe500Please, MSGBOX_DEFAULT
|
msgbox Route121_SafariZoneEntrance_Text_ThatWillBe500Please, MSGBOX_DEFAULT
|
||||||
takemoney 500, 0
|
removemoney 500, 0
|
||||||
updatemoneybox 0, 0
|
updatemoneybox 0, 0
|
||||||
msgbox Route121_SafariZoneEntrance_Text_HereAreYourSafariBalls, MSGBOX_DEFAULT
|
msgbox Route121_SafariZoneEntrance_Text_HereAreYourSafariBalls, MSGBOX_DEFAULT
|
||||||
playfanfare MUS_FANFA4
|
playfanfare MUS_FANFA4
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Route123_EventScript_GigaDrainGirl:: @ 81F6151
|
|||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Route123_EventScript_NoGrassMons
|
goto_if_eq Route123_EventScript_NoGrassMons
|
||||||
msgbox Route123_Text_YouLikeGrassMonsTooHaveThis, MSGBOX_DEFAULT
|
msgbox Route123_Text_YouLikeGrassMonsTooHaveThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM19
|
giveitem ITEM_TM19
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM19
|
setflag FLAG_RECEIVED_TM19
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Route123_BerryMastersHouse_EventScript_BerryMaster:: @ 826F845
|
|||||||
random NUM_BERRY_MASTER_BERRIES
|
random NUM_BERRY_MASTER_BERRIES
|
||||||
addvar VAR_RESULT, NUM_BERRY_MASTER_BERRIES_SKIPPED
|
addvar VAR_RESULT, NUM_BERRY_MASTER_BERRIES_SKIPPED
|
||||||
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
||||||
giveitem_std VAR_RESULT
|
giveitem VAR_RESULT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_DAILY_BERRY_MASTER_RECEIVED_BERRY
|
setflag FLAG_DAILY_BERRY_MASTER_RECEIVED_BERRY
|
||||||
@@ -23,7 +23,7 @@ Route123_BerryMastersHouse_EventScript_BerryMaster:: @ 826F845
|
|||||||
random NUM_BERRY_MASTER_BERRIES
|
random NUM_BERRY_MASTER_BERRIES
|
||||||
addvar VAR_RESULT, NUM_BERRY_MASTER_BERRIES_SKIPPED
|
addvar VAR_RESULT, NUM_BERRY_MASTER_BERRIES_SKIPPED
|
||||||
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
||||||
giveitem_std VAR_RESULT
|
giveitem VAR_RESULT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox Route123_BerryMastersHouse_Text_VisitPrettyPetalFlowerShop, MSGBOX_DEFAULT
|
msgbox Route123_BerryMastersHouse_Text_VisitPrettyPetalFlowerShop, MSGBOX_DEFAULT
|
||||||
@@ -76,7 +76,7 @@ Route123_BerryMastersHouse_EventScript_GiveNormalBerry:: @ 826F94C
|
|||||||
msgbox Route123_BerryMastersHouse_Text_GoodSayingTakeThis, MSGBOX_DEFAULT
|
msgbox Route123_BerryMastersHouse_Text_GoodSayingTakeThis, MSGBOX_DEFAULT
|
||||||
random NUM_BERRY_MASTER_WIFE_BERRIES
|
random NUM_BERRY_MASTER_WIFE_BERRIES
|
||||||
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
||||||
giveitem_std VAR_RESULT
|
giveitem VAR_RESULT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
goto Route123_BerryMastersHouse_EventScript_GaveBerry
|
goto Route123_BerryMastersHouse_EventScript_GaveBerry
|
||||||
@@ -86,7 +86,7 @@ Route123_BerryMastersHouse_EventScript_GiveNormalBerry:: @ 826F94C
|
|||||||
Route123_BerryMastersHouse_EventScript_GiveSpelonBerry:: @ 826F97A
|
Route123_BerryMastersHouse_EventScript_GiveSpelonBerry:: @ 826F97A
|
||||||
goto_if_set FLAG_RECEIVED_SPELON_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
goto_if_set FLAG_RECEIVED_SPELON_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
||||||
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_SPELON_BERRY
|
giveitem ITEM_SPELON_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_SPELON_BERRY
|
setflag FLAG_RECEIVED_SPELON_BERRY
|
||||||
@@ -96,7 +96,7 @@ Route123_BerryMastersHouse_EventScript_GiveSpelonBerry:: @ 826F97A
|
|||||||
Route123_BerryMastersHouse_EventScript_GivePamtreBerry:: @ 826F9AB
|
Route123_BerryMastersHouse_EventScript_GivePamtreBerry:: @ 826F9AB
|
||||||
goto_if_set FLAG_RECEIVED_PAMTRE_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
goto_if_set FLAG_RECEIVED_PAMTRE_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
||||||
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_PAMTRE_BERRY
|
giveitem ITEM_PAMTRE_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_PAMTRE_BERRY
|
setflag FLAG_RECEIVED_PAMTRE_BERRY
|
||||||
@@ -106,7 +106,7 @@ Route123_BerryMastersHouse_EventScript_GivePamtreBerry:: @ 826F9AB
|
|||||||
Route123_BerryMastersHouse_EventScript_GiveWatmelBerry:: @ 826F9DC
|
Route123_BerryMastersHouse_EventScript_GiveWatmelBerry:: @ 826F9DC
|
||||||
goto_if_set FLAG_RECEIVED_WATMEL_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
goto_if_set FLAG_RECEIVED_WATMEL_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
||||||
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_WATMEL_BERRY
|
giveitem ITEM_WATMEL_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_WATMEL_BERRY
|
setflag FLAG_RECEIVED_WATMEL_BERRY
|
||||||
@@ -116,7 +116,7 @@ Route123_BerryMastersHouse_EventScript_GiveWatmelBerry:: @ 826F9DC
|
|||||||
Route123_BerryMastersHouse_EventScript_GiveDurinBerry:: @ 826FA0D
|
Route123_BerryMastersHouse_EventScript_GiveDurinBerry:: @ 826FA0D
|
||||||
goto_if_set FLAG_RECEIVED_DURIN_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
goto_if_set FLAG_RECEIVED_DURIN_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
||||||
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_DURIN_BERRY
|
giveitem ITEM_DURIN_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_DURIN_BERRY
|
setflag FLAG_RECEIVED_DURIN_BERRY
|
||||||
@@ -126,7 +126,7 @@ Route123_BerryMastersHouse_EventScript_GiveDurinBerry:: @ 826FA0D
|
|||||||
Route123_BerryMastersHouse_EventScript_GiveBelueBerry:: @ 826FA3E
|
Route123_BerryMastersHouse_EventScript_GiveBelueBerry:: @ 826FA3E
|
||||||
goto_if_set FLAG_RECEIVED_BELUE_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
goto_if_set FLAG_RECEIVED_BELUE_BERRY, Route123_BerryMastersHouse_EventScript_GiveNormalBerry
|
||||||
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
msgbox Route123_BerryMastersHouse_Text_InspirationalTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_BELUE_BERRY
|
giveitem ITEM_BELUE_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_BELUE_BERRY
|
setflag FLAG_RECEIVED_BELUE_BERRY
|
||||||
|
|||||||
@@ -258,8 +258,8 @@ Route124_DivingTreasureHuntersHouse_EventScript_TryTradeShard:: @ 8270EC0
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route124_DivingTreasureHuntersHouse_EventScript_TradeShard:: @ 8270F01
|
Route124_DivingTreasureHuntersHouse_EventScript_TradeShard:: @ 8270F01
|
||||||
takeitem VAR_0x8008, 1
|
removeitem VAR_0x8008
|
||||||
giveitem_std VAR_0x8009
|
giveitem VAR_0x8009
|
||||||
msgbox Route124_DivingTreasureHuntersHouse_Text_ItsADeal, MSGBOX_DEFAULT
|
msgbox Route124_DivingTreasureHuntersHouse_Text_ItsADeal, MSGBOX_DEFAULT
|
||||||
call Route124_DivingTreasureHuntersHouse_EventScript_GetPlayersShards
|
call Route124_DivingTreasureHuntersHouse_EventScript_GetPlayersShards
|
||||||
compare VAR_TEMP_1, 0
|
compare VAR_TEMP_1, 0
|
||||||
|
|||||||
@@ -605,7 +605,7 @@ RustboroCity_EventScript_ReturnGoods:: @ 81E0C5B
|
|||||||
compare VAR_TEMP_1, 4
|
compare VAR_TEMP_1, 4
|
||||||
call_if_eq RustboroCity_EventScript_EmployeeFacePlayerRight
|
call_if_eq RustboroCity_EventScript_EmployeeFacePlayerRight
|
||||||
msgbox RustboroCity_Text_YouGotItThankYou, MSGBOX_DEFAULT
|
msgbox RustboroCity_Text_YouGotItThankYou, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_GREAT_BALL
|
giveitem ITEM_GREAT_BALL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
call_if_eq RustboroCity_EventScript_BagFull
|
call_if_eq RustboroCity_EventScript_BagFull
|
||||||
msgbox RustboroCity_Text_PleaseComeWithMe, MSGBOX_DEFAULT
|
msgbox RustboroCity_Text_PleaseComeWithMe, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ RustboroCity_CuttersHouse_EventScript_Cutter:: @ 8215BD4
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_HM01, RustboroCity_CuttersHouse_EventScript_ExplainCut
|
goto_if_set FLAG_RECEIVED_HM01, RustboroCity_CuttersHouse_EventScript_ExplainCut
|
||||||
msgbox RustboroCity_CuttersHouse_Text_YouCanPutThisHMToGoodUse, MSGBOX_DEFAULT
|
msgbox RustboroCity_CuttersHouse_Text_YouCanPutThisHMToGoodUse, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_HM01
|
giveitem ITEM_HM01
|
||||||
setflag FLAG_RECEIVED_HM01
|
setflag FLAG_RECEIVED_HM01
|
||||||
msgbox RustboroCity_CuttersHouse_Text_ExplainCut, MSGBOX_DEFAULT
|
msgbox RustboroCity_CuttersHouse_Text_ExplainCut, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ RustboroCity_DevonCorp_2F_EventScript_NoticeRootFossil:: @ 8211933
|
|||||||
RustboroCity_DevonCorp_2F_EventScript_GiveRootFossil:: @ 8211974
|
RustboroCity_DevonCorp_2F_EventScript_GiveRootFossil:: @ 8211974
|
||||||
bufferitemname 0, ITEM_ROOT_FOSSIL
|
bufferitemname 0, ITEM_ROOT_FOSSIL
|
||||||
msgbox RustboroCity_DevonCorp_2F_Text_HandedFossilToResearcher, MSGBOX_DEFAULT
|
msgbox RustboroCity_DevonCorp_2F_Text_HandedFossilToResearcher, MSGBOX_DEFAULT
|
||||||
takeitem ITEM_ROOT_FOSSIL, 1
|
removeitem ITEM_ROOT_FOSSIL
|
||||||
setvar VAR_FOSSIL_RESURRECTION_STATE, 1
|
setvar VAR_FOSSIL_RESURRECTION_STATE, 1
|
||||||
setvar VAR_WHICH_FOSSIL_REVIVED, 1
|
setvar VAR_WHICH_FOSSIL_REVIVED, 1
|
||||||
release
|
release
|
||||||
@@ -121,7 +121,7 @@ RustboroCity_DevonCorp_2F_EventScript_NoticeClawFossil:: @ 8211991
|
|||||||
RustboroCity_DevonCorp_2F_EventScript_GiveClawFossil:: @ 82119D2
|
RustboroCity_DevonCorp_2F_EventScript_GiveClawFossil:: @ 82119D2
|
||||||
bufferitemname 0, ITEM_CLAW_FOSSIL
|
bufferitemname 0, ITEM_CLAW_FOSSIL
|
||||||
msgbox RustboroCity_DevonCorp_2F_Text_HandedFossilToResearcher, MSGBOX_DEFAULT
|
msgbox RustboroCity_DevonCorp_2F_Text_HandedFossilToResearcher, MSGBOX_DEFAULT
|
||||||
takeitem ITEM_CLAW_FOSSIL, 1
|
removeitem ITEM_CLAW_FOSSIL
|
||||||
setvar VAR_FOSSIL_RESURRECTION_STATE, 1
|
setvar VAR_FOSSIL_RESURRECTION_STATE, 1
|
||||||
setvar VAR_WHICH_FOSSIL_REVIVED, 2
|
setvar VAR_WHICH_FOSSIL_REVIVED, 2
|
||||||
release
|
release
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ RustboroCity_DevonCorp_3F_EventScript_MeetPresident:: @ 821246E
|
|||||||
applymovement OBJ_EVENT_ID_PLAYER, RustboroCity_DevonCorp_3F_Movement_PlayerApproachDesk
|
applymovement OBJ_EVENT_ID_PLAYER, RustboroCity_DevonCorp_3F_Movement_PlayerApproachDesk
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox RustboroCity_DevonCorp_3F_Text_MrStoneIHaveFavor, MSGBOX_DEFAULT
|
msgbox RustboroCity_DevonCorp_3F_Text_MrStoneIHaveFavor, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_LETTER
|
giveitem ITEM_LETTER
|
||||||
msgbox RustboroCity_DevonCorp_3F_Text_MrStoneWantYouToHaveThis, MSGBOX_DEFAULT
|
msgbox RustboroCity_DevonCorp_3F_Text_MrStoneWantYouToHaveThis, MSGBOX_DEFAULT
|
||||||
playfanfare MUS_FANFA4
|
playfanfare MUS_FANFA4
|
||||||
message RustboroCity_DevonCorp_3F_Text_ReceivedPokenav
|
message RustboroCity_DevonCorp_3F_Text_ReceivedPokenav
|
||||||
@@ -161,7 +161,7 @@ RustboroCity_DevonCorp_3F_EventScript_MrStone:: @ 821256C
|
|||||||
|
|
||||||
RustboroCity_DevonCorp_3F_EventScript_GiveExpShare:: @ 8212595
|
RustboroCity_DevonCorp_3F_EventScript_GiveExpShare:: @ 8212595
|
||||||
msgbox RustboroCity_DevonCorp_3F_Text_ThankYouForDeliveringLetter, MSGBOX_DEFAULT
|
msgbox RustboroCity_DevonCorp_3F_Text_ThankYouForDeliveringLetter, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_EXP_SHARE
|
giveitem ITEM_EXP_SHARE
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_EXP_SHARE
|
setflag FLAG_RECEIVED_EXP_SHARE
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ RustboroCity_Flat2_2F_EventScript_NinjaBoy:: @ 8215FE1
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_PREMIER_BALL_RUSTBORO, RustboroCity_Flat2_2F_EventScript_GavePremierBall
|
goto_if_set FLAG_RECEIVED_PREMIER_BALL_RUSTBORO, RustboroCity_Flat2_2F_EventScript_GavePremierBall
|
||||||
msgbox RustboroCity_Flat2_2F_Text_MyDaddyMadeThisYouCanHaveIt, MSGBOX_DEFAULT
|
msgbox RustboroCity_Flat2_2F_Text_MyDaddyMadeThisYouCanHaveIt, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_PREMIER_BALL
|
giveitem ITEM_PREMIER_BALL
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_PREMIER_BALL_RUSTBORO
|
setflag FLAG_RECEIVED_PREMIER_BALL_RUSTBORO
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ RustboroCity_Gym_EventScript_RoxanneDefeated:: @ 8212F66
|
|||||||
end
|
end
|
||||||
|
|
||||||
RustboroCity_Gym_EventScript_GiveRockTomb:: @ 8212FA4
|
RustboroCity_Gym_EventScript_GiveRockTomb:: @ 8212FA4
|
||||||
giveitem_std ITEM_TM39
|
giveitem ITEM_TM39
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM39
|
setflag FLAG_RECEIVED_TM39
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ RustboroCity_PokemonSchool_EventScript_Teacher:: @ 8213F95
|
|||||||
compare VAR_FACING, DIR_WEST
|
compare VAR_FACING, DIR_WEST
|
||||||
call_if_eq RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsWest
|
call_if_eq RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsWest
|
||||||
msgbox RustboroCity_PokemonSchool_Text_StudentsWhoDontStudyGetQuickClaw, MSGBOX_DEFAULT
|
msgbox RustboroCity_PokemonSchool_Text_StudentsWhoDontStudyGetQuickClaw, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_QUICK_CLAW
|
giveitem ITEM_QUICK_CLAW
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
closemessage
|
closemessage
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ RusturfTunnel_EventScript_ClearTunnelScene:: @ 822CEAE
|
|||||||
call_if_eq RusturfTunnel_EventScript_WandasBoyfriendApproachPlayer
|
call_if_eq RusturfTunnel_EventScript_WandasBoyfriendApproachPlayer
|
||||||
compare VAR_TEMP_1, 3
|
compare VAR_TEMP_1, 3
|
||||||
call_if_eq RusturfTunnel_EventScript_WandasBoyfriendApproachPlayer
|
call_if_eq RusturfTunnel_EventScript_WandasBoyfriendApproachPlayer
|
||||||
giveitem_std ITEM_HM04
|
giveitem ITEM_HM04
|
||||||
setflag FLAG_RECEIVED_HM04
|
setflag FLAG_RECEIVED_HM04
|
||||||
msgbox RusturfTunnel_Text_ExplainStrength, MSGBOX_DEFAULT
|
msgbox RusturfTunnel_Text_ExplainStrength, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -314,7 +314,7 @@ RusturfTunnel_EventScript_Grunt:: @ 822D0C2
|
|||||||
msgbox RusturfTunnel_Text_GruntIntro, MSGBOX_DEFAULT
|
msgbox RusturfTunnel_Text_GruntIntro, MSGBOX_DEFAULT
|
||||||
trainerbattle_no_intro TRAINER_GRUNT_RUSTURF_TUNNEL, RusturfTunnel_Text_GruntDefeat
|
trainerbattle_no_intro TRAINER_GRUNT_RUSTURF_TUNNEL, RusturfTunnel_Text_GruntDefeat
|
||||||
msgbox RusturfTunnel_Text_GruntTakePackage, MSGBOX_DEFAULT
|
msgbox RusturfTunnel_Text_GruntTakePackage, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_DEVON_GOODS
|
giveitem ITEM_DEVON_GOODS
|
||||||
closemessage
|
closemessage
|
||||||
applymovement OBJ_EVENT_ID_PLAYER, RusturfTunnel_Movement_PushPlayerAsideForGrunt
|
applymovement OBJ_EVENT_ID_PLAYER, RusturfTunnel_Movement_PushPlayerAsideForGrunt
|
||||||
applymovement 6, RusturfTunnel_Movement_GruntEscape
|
applymovement 6, RusturfTunnel_Movement_GruntEscape
|
||||||
|
|||||||
@@ -174,22 +174,14 @@ SSTidalCorridor_EventScript_EnjoyYourCruise:: @ 823C1BD
|
|||||||
end
|
end
|
||||||
|
|
||||||
SSTidalCorridor_EventScript_CheckIfTrainersDefeated:: @ 823C1C7
|
SSTidalCorridor_EventScript_CheckIfTrainersDefeated:: @ 823C1C7
|
||||||
checktrainerflag TRAINER_PHILLIP
|
goto_if_not_defeated TRAINER_PHILLIP, SSTidalCorridor_EventScript_TrainerNotDefeated
|
||||||
goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
|
goto_if_not_defeated TRAINER_LEONARD, SSTidalCorridor_EventScript_TrainerNotDefeated
|
||||||
checktrainerflag TRAINER_LEONARD
|
goto_if_not_defeated TRAINER_COLTON, SSTidalCorridor_EventScript_TrainerNotDefeated
|
||||||
goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
|
goto_if_not_defeated TRAINER_MICAH, SSTidalCorridor_EventScript_TrainerNotDefeated
|
||||||
checktrainerflag TRAINER_COLTON
|
goto_if_not_defeated TRAINER_THOMAS, SSTidalCorridor_EventScript_TrainerNotDefeated
|
||||||
goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
|
goto_if_not_defeated TRAINER_LEA_AND_JED, SSTidalCorridor_EventScript_TrainerNotDefeated
|
||||||
checktrainerflag TRAINER_MICAH
|
goto_if_not_defeated TRAINER_GARRET, SSTidalCorridor_EventScript_TrainerNotDefeated
|
||||||
goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
|
goto_if_not_defeated TRAINER_NAOMI, SSTidalCorridor_EventScript_TrainerNotDefeated
|
||||||
checktrainerflag TRAINER_THOMAS
|
|
||||||
goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
|
|
||||||
checktrainerflag TRAINER_LEA_AND_JED
|
|
||||||
goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
|
|
||||||
checktrainerflag TRAINER_GARRET
|
|
||||||
goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
|
|
||||||
checktrainerflag TRAINER_NAOMI
|
|
||||||
goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
|
|
||||||
setflag FLAG_DEFEATED_SS_TIDAL_TRAINERS
|
setflag FLAG_DEFEATED_SS_TIDAL_TRAINERS
|
||||||
goto SSTidalCorridor_EventScript_EnjoyYourCruise
|
goto SSTidalCorridor_EventScript_EnjoyYourCruise
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ SSTidalRooms_EventScript_SnatchGiver:: @ 823C9F2
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_TM49, SSTidalRooms_EventScript_ExplainSnatch
|
goto_if_set FLAG_RECEIVED_TM49, SSTidalRooms_EventScript_ExplainSnatch
|
||||||
msgbox SSTidalRooms_Text_NotSuspiciousTakeThis, MSGBOX_DEFAULT
|
msgbox SSTidalRooms_Text_NotSuspiciousTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM49
|
giveitem ITEM_TM49
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM49
|
setflag FLAG_RECEIVED_TM49
|
||||||
|
|||||||
@@ -35,9 +35,9 @@ ShoalCave_LowTideEntranceRoom_EventScript_ShellBellExpert:: @ 8236DD9
|
|||||||
compare VAR_RESULT, 2
|
compare VAR_RESULT, 2
|
||||||
goto_if_eq ShoalCave_LowTideEntranceRoom_EventScript_NoRoomForShellBell
|
goto_if_eq ShoalCave_LowTideEntranceRoom_EventScript_NoRoomForShellBell
|
||||||
msgbox ShoalCave_LowTideEntranceRoom_Text_MakeShellBellRightAway, MSGBOX_DEFAULT
|
msgbox ShoalCave_LowTideEntranceRoom_Text_MakeShellBellRightAway, MSGBOX_DEFAULT
|
||||||
takeitem ITEM_SHOAL_SALT, 4
|
removeitem ITEM_SHOAL_SALT, 4
|
||||||
takeitem ITEM_SHOAL_SHELL, 4
|
removeitem ITEM_SHOAL_SHELL, 4
|
||||||
giveitem_std ITEM_SHELL_BELL
|
giveitem ITEM_SHELL_BELL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox ShoalCave_LowTideEntranceRoom_Text_ExplainShellBell, MSGBOX_DEFAULT
|
msgbox ShoalCave_LowTideEntranceRoom_Text_ExplainShellBell, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ ShoalCave_LowTideInnerRoom_EventScript_SetShoalItemMetatilesEnd:: @ 8236FB9
|
|||||||
ShoalCave_LowTideInnerRoom_EventScript_ShoalShell1:: @ 8236FBA
|
ShoalCave_LowTideInnerRoom_EventScript_ShoalShell1:: @ 8236FBA
|
||||||
lockall
|
lockall
|
||||||
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_1, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalShell
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_1, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalShell
|
||||||
giveitem_std ITEM_SHOAL_SHELL
|
giveitem ITEM_SHOAL_SHELL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setmetatile 41, 20, METATILE_Cave_ShoalCave_BlueStone_Small, 0
|
setmetatile 41, 20, METATILE_Cave_ShoalCave_BlueStone_Small, 0
|
||||||
@@ -79,7 +79,7 @@ ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalShell:: @ 8236FEC
|
|||||||
ShoalCave_LowTideInnerRoom_EventScript_ShoalShell2:: @ 8236FF6
|
ShoalCave_LowTideInnerRoom_EventScript_ShoalShell2:: @ 8236FF6
|
||||||
lockall
|
lockall
|
||||||
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_2, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalShell
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_2, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalShell
|
||||||
giveitem_std ITEM_SHOAL_SHELL
|
giveitem ITEM_SHOAL_SHELL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setmetatile 41, 10, METATILE_Cave_ShoalCave_BlueStone_Small, 0
|
setmetatile 41, 10, METATILE_Cave_ShoalCave_BlueStone_Small, 0
|
||||||
@@ -91,7 +91,7 @@ ShoalCave_LowTideInnerRoom_EventScript_ShoalShell2:: @ 8236FF6
|
|||||||
ShoalCave_LowTideInnerRoom_EventScript_ShoalShell3:: @ 8237028
|
ShoalCave_LowTideInnerRoom_EventScript_ShoalShell3:: @ 8237028
|
||||||
lockall
|
lockall
|
||||||
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_3, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalShell
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_3, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalShell
|
||||||
giveitem_std ITEM_SHOAL_SHELL
|
giveitem ITEM_SHOAL_SHELL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setmetatile 6, 9, METATILE_Cave_ShoalCave_BlueStone_Small, 0
|
setmetatile 6, 9, METATILE_Cave_ShoalCave_BlueStone_Small, 0
|
||||||
@@ -103,7 +103,7 @@ ShoalCave_LowTideInnerRoom_EventScript_ShoalShell3:: @ 8237028
|
|||||||
ShoalCave_LowTideInnerRoom_EventScript_ShoalShell4:: @ 823705A
|
ShoalCave_LowTideInnerRoom_EventScript_ShoalShell4:: @ 823705A
|
||||||
lockall
|
lockall
|
||||||
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_4, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalShell
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_4, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalShell
|
||||||
giveitem_std ITEM_SHOAL_SHELL
|
giveitem ITEM_SHOAL_SHELL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setmetatile 16, 13, METATILE_Cave_ShoalCave_BlueStone_Small, 0
|
setmetatile 16, 13, METATILE_Cave_ShoalCave_BlueStone_Small, 0
|
||||||
@@ -115,7 +115,7 @@ ShoalCave_LowTideInnerRoom_EventScript_ShoalShell4:: @ 823705A
|
|||||||
ShoalCave_LowTideInnerRoom_EventScript_ShoalSalt1:: @ 823708C
|
ShoalCave_LowTideInnerRoom_EventScript_ShoalSalt1:: @ 823708C
|
||||||
lockall
|
lockall
|
||||||
goto_if_set FLAG_RECEIVED_SHOAL_SALT_1, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalSalt
|
goto_if_set FLAG_RECEIVED_SHOAL_SALT_1, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalSalt
|
||||||
giveitem_std ITEM_SHOAL_SALT
|
giveitem ITEM_SHOAL_SALT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setmetatile 31, 8, METATILE_Cave_ShoalCave_DirtPile_Small, 0
|
setmetatile 31, 8, METATILE_Cave_ShoalCave_DirtPile_Small, 0
|
||||||
@@ -132,7 +132,7 @@ ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalSalt:: @ 82370BE
|
|||||||
ShoalCave_LowTideInnerRoom_EventScript_ShoalSalt2:: @ 82370C8
|
ShoalCave_LowTideInnerRoom_EventScript_ShoalSalt2:: @ 82370C8
|
||||||
lockall
|
lockall
|
||||||
goto_if_set FLAG_RECEIVED_SHOAL_SALT_2, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalSalt
|
goto_if_set FLAG_RECEIVED_SHOAL_SALT_2, ShoalCave_LowTideInnerRoom_EventScript_ReceivedShoalSalt
|
||||||
giveitem_std ITEM_SHOAL_SALT
|
giveitem ITEM_SHOAL_SALT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setmetatile 14, 26, METATILE_Cave_ShoalCave_DirtPile_Small, 0
|
setmetatile 14, 26, METATILE_Cave_ShoalCave_DirtPile_Small, 0
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ ShoalCave_LowTideLowerRoom_EventScript_SetShoalItemMetatilesEnd:: @ 8237175
|
|||||||
ShoalCave_LowTideLowerRoom_EventScript_ShoalSalt4:: @ 8237176
|
ShoalCave_LowTideLowerRoom_EventScript_ShoalSalt4:: @ 8237176
|
||||||
lockall
|
lockall
|
||||||
goto_if_set FLAG_RECEIVED_SHOAL_SALT_4, ShoalCave_LowTideLowerRoom_EventScript_ReceivedShoalSalt
|
goto_if_set FLAG_RECEIVED_SHOAL_SALT_4, ShoalCave_LowTideLowerRoom_EventScript_ReceivedShoalSalt
|
||||||
giveitem_std ITEM_SHOAL_SALT
|
giveitem ITEM_SHOAL_SALT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setmetatile 18, 2, METATILE_Cave_ShoalCave_DirtPile_Small, 0
|
setmetatile 18, 2, METATILE_Cave_ShoalCave_DirtPile_Small, 0
|
||||||
@@ -36,7 +36,7 @@ ShoalCave_LowTideLowerRoom_EventScript_BlackBelt:: @ 82371B2
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_FOCUS_BAND, ShoalCave_LowTideLowerRoom_EventScript_ReceivedFocusBand
|
goto_if_set FLAG_RECEIVED_FOCUS_BAND, ShoalCave_LowTideLowerRoom_EventScript_ReceivedFocusBand
|
||||||
msgbox ShoalCave_LowTideLowerRoom_Text_CanOvercomeColdWithFocus, MSGBOX_DEFAULT
|
msgbox ShoalCave_LowTideLowerRoom_Text_CanOvercomeColdWithFocus, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_FOCUS_BAND
|
giveitem ITEM_FOCUS_BAND
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_FOCUS_BAND
|
setflag FLAG_RECEIVED_FOCUS_BAND
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ ShoalCave_LowTideStairsRoom_EventScript_SetShoalItemMetatilesEnd:: @ 8237119
|
|||||||
ShoalCave_LowTideStairsRoom_EventScript_ShoalSalt3:: @ 823711A
|
ShoalCave_LowTideStairsRoom_EventScript_ShoalSalt3:: @ 823711A
|
||||||
lockall
|
lockall
|
||||||
goto_if_set FLAG_RECEIVED_SHOAL_SALT_3, ShoalCave_LowTideStairsRoom_EventScript_ReceivedShoalSalt
|
goto_if_set FLAG_RECEIVED_SHOAL_SALT_3, ShoalCave_LowTideStairsRoom_EventScript_ReceivedShoalSalt
|
||||||
giveitem_std ITEM_SHOAL_SALT
|
giveitem ITEM_SHOAL_SALT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setmetatile 11, 11, METATILE_Cave_ShoalCave_DirtPile_Small, 0
|
setmetatile 11, 11, METATILE_Cave_ShoalCave_DirtPile_Small, 0
|
||||||
|
|||||||
@@ -726,7 +726,7 @@ SlateportCity_EventScript_BerryPowderClerk:: @ 81DD36E
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_POWDER_JAR, SlateportCity_EventScript_ReceivedPowderJar
|
goto_if_set FLAG_RECEIVED_POWDER_JAR, SlateportCity_EventScript_ReceivedPowderJar
|
||||||
msgbox SlateportCity_Text_ExplainBerries, MSGBOX_DEFAULT
|
msgbox SlateportCity_Text_ExplainBerries, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_POWDER_JAR
|
giveitem ITEM_POWDER_JAR
|
||||||
setflag FLAG_RECEIVED_POWDER_JAR
|
setflag FLAG_RECEIVED_POWDER_JAR
|
||||||
msgbox SlateportCity_Text_ExplainBerryPowder, MSGBOX_DEFAULT
|
msgbox SlateportCity_Text_ExplainBerryPowder, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
@@ -860,7 +860,7 @@ SlateportCity_EventScript_TryBuyBerryPowderItem:: @ 81DD557
|
|||||||
specialvar VAR_RESULT, HasEnoughBerryPowder
|
specialvar VAR_RESULT, HasEnoughBerryPowder
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq SlateportCity_EventScript_NotEnoughBerryPowder
|
goto_if_eq SlateportCity_EventScript_NotEnoughBerryPowder
|
||||||
giveitem_std VAR_0x8008
|
giveitem VAR_0x8008
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq SlateportCity_EventScript_NoRoomForBerryPowderItem
|
goto_if_eq SlateportCity_EventScript_NoRoomForBerryPowderItem
|
||||||
copyvar VAR_0x8004, VAR_0x8009
|
copyvar VAR_0x8004, VAR_0x8009
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ SlateportCity_BattleTentLobby_EventScript_TormentGiver:: @ 8208A3D
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_TM41, SlateportCity_BattleTentLobby_EventScript_ReceivedTorment
|
goto_if_set FLAG_RECEIVED_TM41, SlateportCity_BattleTentLobby_EventScript_ReceivedTorment
|
||||||
msgbox SlateportCity_BattleTentLobby_Text_CouldntFindMonForMe, MSGBOX_DEFAULT
|
msgbox SlateportCity_BattleTentLobby_Text_CouldntFindMonForMe, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM41
|
giveitem ITEM_TM41
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM41
|
setflag FLAG_RECEIVED_TM41
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ SlateportCity_Harbor_EventScript_BoardFerry:: @ 820CBE9
|
|||||||
compare VAR_FACING, DIR_EAST
|
compare VAR_FACING, DIR_EAST
|
||||||
call_if_eq SlateportCity_Harbor_EventScript_BoardFerryEast
|
call_if_eq SlateportCity_Harbor_EventScript_BoardFerryEast
|
||||||
delay 30
|
delay 30
|
||||||
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_PETALBURG_CITY
|
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||||
setvar VAR_0x8004, 5
|
setvar VAR_0x8004, 5
|
||||||
call Common_EventScript_FerryDepart
|
call Common_EventScript_FerryDepart
|
||||||
return
|
return
|
||||||
@@ -358,10 +358,10 @@ SlateportCity_Harbor_EventScript_DeepSeaTooth:: @ 820CD7B
|
|||||||
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaTooth, MSGBOX_YESNO
|
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaTooth, MSGBOX_YESNO
|
||||||
compare VAR_RESULT, NO
|
compare VAR_RESULT, NO
|
||||||
goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
|
goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
|
||||||
giveitem_std ITEM_DEEP_SEA_TOOTH
|
giveitem ITEM_DEEP_SEA_TOOTH
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
takeitem ITEM_SCANNER, 1
|
removeitem ITEM_SCANNER
|
||||||
msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
|
msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
|
||||||
setflag FLAG_EXCHANGED_SCANNER
|
setflag FLAG_EXCHANGED_SCANNER
|
||||||
goto SlateportCity_Harbor_EventScript_TradedScanner
|
goto SlateportCity_Harbor_EventScript_TradedScanner
|
||||||
@@ -371,10 +371,10 @@ SlateportCity_Harbor_EventScript_DeepSeaScale:: @ 820CDBB
|
|||||||
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaScale, MSGBOX_YESNO
|
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaScale, MSGBOX_YESNO
|
||||||
compare VAR_RESULT, NO
|
compare VAR_RESULT, NO
|
||||||
goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
|
goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
|
||||||
giveitem_std ITEM_DEEP_SEA_SCALE
|
giveitem ITEM_DEEP_SEA_SCALE
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
takeitem ITEM_SCANNER, 1
|
removeitem ITEM_SCANNER
|
||||||
msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
|
msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
|
||||||
setflag FLAG_EXCHANGED_SCANNER
|
setflag FLAG_EXCHANGED_SCANNER
|
||||||
goto SlateportCity_Harbor_EventScript_TradedScanner
|
goto SlateportCity_Harbor_EventScript_TradedScanner
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_CheckMoneyForFee:: @ 820ADE8
|
|||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_NotEnoughMoney
|
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_NotEnoughMoney
|
||||||
playse SE_REGI
|
playse SE_REGI
|
||||||
takemoney 50, 0
|
removemoney 50, 0
|
||||||
updatemoneybox 0, 0
|
updatemoneybox 0, 0
|
||||||
msgbox SlateportCity_OceanicMuseum_1F_Text_PleaseEnjoyYourself, MSGBOX_DEFAULT
|
msgbox SlateportCity_OceanicMuseum_1F_Text_PleaseEnjoyYourself, MSGBOX_DEFAULT
|
||||||
setvar VAR_SLATEPORT_MUSEUM_1F_STATE, 1
|
setvar VAR_SLATEPORT_MUSEUM_1F_STATE, 1
|
||||||
@@ -151,7 +151,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_FamiliarGrunt:: @ 820AEF8
|
|||||||
applymovement 13, Common_Movement_Delay48
|
applymovement 13, Common_Movement_Delay48
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox SlateportCity_OceanicMuseum_1F_Text_RememberMeTakeThis, MSGBOX_DEFAULT
|
msgbox SlateportCity_OceanicMuseum_1F_Text_RememberMeTakeThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM46
|
giveitem ITEM_TM46
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_NoRoomForThief
|
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_NoRoomForThief
|
||||||
setflag FLAG_RECEIVED_TM46
|
setflag FLAG_RECEIVED_TM46
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ SlateportCity_PokemonFanClub_EventScript_GiveRedScarf:: @ 8209FE0
|
|||||||
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
||||||
setflag FLAG_RECEIVED_RED_SCARF
|
setflag FLAG_RECEIVED_RED_SCARF
|
||||||
giveitem_std ITEM_RED_SCARF
|
giveitem ITEM_RED_SCARF
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_ExplainRedScarf, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_ExplainRedScarf, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
@@ -88,7 +88,7 @@ SlateportCity_PokemonFanClub_EventScript_GiveBlueScarf:: @ 820A011
|
|||||||
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
||||||
setflag FLAG_RECEIVED_BLUE_SCARF
|
setflag FLAG_RECEIVED_BLUE_SCARF
|
||||||
giveitem_std ITEM_BLUE_SCARF
|
giveitem ITEM_BLUE_SCARF
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_ExplainBlueScarf, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_ExplainBlueScarf, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
@@ -99,7 +99,7 @@ SlateportCity_PokemonFanClub_EventScript_GivePinkScarf:: @ 820A042
|
|||||||
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
||||||
setflag FLAG_RECEIVED_PINK_SCARF
|
setflag FLAG_RECEIVED_PINK_SCARF
|
||||||
giveitem_std ITEM_PINK_SCARF
|
giveitem ITEM_PINK_SCARF
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_ExplainPinkScarf, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_ExplainPinkScarf, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
@@ -110,7 +110,7 @@ SlateportCity_PokemonFanClub_EventScript_GiveGreenScarf:: @ 820A073
|
|||||||
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
||||||
setflag FLAG_RECEIVED_GREEN_SCARF
|
setflag FLAG_RECEIVED_GREEN_SCARF
|
||||||
giveitem_std ITEM_GREEN_SCARF
|
giveitem ITEM_GREEN_SCARF
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_ExplainGreenScarf, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_ExplainGreenScarf, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
@@ -121,7 +121,7 @@ SlateportCity_PokemonFanClub_EventScript_GiveYellowScarf:: @ 820A0A4
|
|||||||
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
goto_if_eq SlateportCity_PokemonFanClub_EventScript_NoRoomForScarf
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_MonMostImpressiveGiveItThis, MSGBOX_DEFAULT
|
||||||
setflag FLAG_RECEIVED_YELLOW_SCARF
|
setflag FLAG_RECEIVED_YELLOW_SCARF
|
||||||
giveitem_std ITEM_YELLOW_SCARF
|
giveitem ITEM_YELLOW_SCARF
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_ExplainYellowScarf, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_ExplainYellowScarf, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
@@ -216,7 +216,7 @@ SlateportCity_PokemonFanClub_EventScript_GiveSootheBell:: @ 820A1A3
|
|||||||
applymovement VAR_LAST_TALKED, Common_Movement_Delay48
|
applymovement VAR_LAST_TALKED, Common_Movement_Delay48
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_PokemonAdoresYou, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_PokemonAdoresYou, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_SOOTHE_BELL
|
giveitem ITEM_SOOTHE_BELL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_SOOTHE_BELL
|
setflag FLAG_RECEIVED_SOOTHE_BELL
|
||||||
|
|||||||
@@ -755,7 +755,7 @@ SootopolisCity_EventScript_KiriGiveBerry:: @ 81E5F1B
|
|||||||
random NUM_KIRI_BERRIES
|
random NUM_KIRI_BERRIES
|
||||||
addvar VAR_RESULT, NUM_KIRI_BERRIES_SKIPPED
|
addvar VAR_RESULT, NUM_KIRI_BERRIES_SKIPPED
|
||||||
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
addvar VAR_RESULT, FIRST_BERRY_INDEX
|
||||||
giveitem_std VAR_RESULT
|
giveitem VAR_RESULT
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_DAILY_SOOTOPOLIS_RECEIVED_BERRY
|
setflag FLAG_DAILY_SOOTOPOLIS_RECEIVED_BERRY
|
||||||
@@ -768,7 +768,7 @@ SootopolisCity_EventScript_KiriGiveBerry:: @ 81E5F1B
|
|||||||
end
|
end
|
||||||
|
|
||||||
SootopolisCity_EventScript_GiveFigyBerry:: @ 81E5F79
|
SootopolisCity_EventScript_GiveFigyBerry:: @ 81E5F79
|
||||||
giveitem_std ITEM_FIGY_BERRY
|
giveitem ITEM_FIGY_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox SootopolisCity_Text_WhatKindOfWishInYourName, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_WhatKindOfWishInYourName, MSGBOX_DEFAULT
|
||||||
@@ -776,7 +776,7 @@ SootopolisCity_EventScript_GiveFigyBerry:: @ 81E5F79
|
|||||||
end
|
end
|
||||||
|
|
||||||
SootopolisCity_EventScript_GiveIapapaBerry:: @ 81E5F9A
|
SootopolisCity_EventScript_GiveIapapaBerry:: @ 81E5F9A
|
||||||
giveitem_std ITEM_IAPAPA_BERRY
|
giveitem ITEM_IAPAPA_BERRY
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox SootopolisCity_Text_WhatKindOfWishInYourName, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_WhatKindOfWishInYourName, MSGBOX_DEFAULT
|
||||||
@@ -1356,7 +1356,7 @@ SootopolisCity_EventScript_Wallace:: @ 81E6446
|
|||||||
|
|
||||||
SootopolisCity_EventScript_GiveWaterfall:: @ 81E646F
|
SootopolisCity_EventScript_GiveWaterfall:: @ 81E646F
|
||||||
msgbox SootopolisCity_Text_ThankYouForHelpAcceptThis, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_ThankYouForHelpAcceptThis, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_HM07
|
giveitem ITEM_HM07
|
||||||
setflag FLAG_RECEIVED_HM07
|
setflag FLAG_RECEIVED_HM07
|
||||||
msgbox SootopolisCity_Text_ExplainWaterfallGoToGym, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_ExplainWaterfallGoToGym, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ SootopolisCity_Gym_1F_EventScript_JuanDefeated:: @ 8224F82
|
|||||||
end
|
end
|
||||||
|
|
||||||
SootopolisCity_Gym_1F_EventScript_GiveWaterPulse:: @ 8224FD4
|
SootopolisCity_Gym_1F_EventScript_GiveWaterPulse:: @ 8224FD4
|
||||||
giveitem_std ITEM_TM03
|
giveitem ITEM_TM03
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_BagIsFull
|
goto_if_eq Common_EventScript_BagIsFull
|
||||||
msgbox SootopolisCity_Gym_1F_Text_ExplainWaterPulse, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Gym_1F_Text_ExplainWaterPulse, MSGBOX_DEFAULT
|
||||||
@@ -128,7 +128,7 @@ SootopolisCity_Gym_1F_EventScript_GiveWaterPulse:: @ 8224FD4
|
|||||||
return
|
return
|
||||||
|
|
||||||
SootopolisCity_Gym_1F_EventScript_GiveWaterPulse2:: @ 8224FF7
|
SootopolisCity_Gym_1F_EventScript_GiveWaterPulse2:: @ 8224FF7
|
||||||
giveitem_std ITEM_TM03
|
giveitem ITEM_TM03
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
msgbox SootopolisCity_Gym_1F_Text_ExplainWaterPulse, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Gym_1F_Text_ExplainWaterPulse, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ SootopolisCity_House1_EventScript_BrickBreakBlackBelt:: @ 822694D
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_TM31, SootopolisCity_House1_EventScript_ReceivedBrickBreak
|
goto_if_set FLAG_RECEIVED_TM31, SootopolisCity_House1_EventScript_ReceivedBrickBreak
|
||||||
msgbox SootopolisCity_House1_Text_DevelopedThisTM, MSGBOX_DEFAULT
|
msgbox SootopolisCity_House1_Text_DevelopedThisTM, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM31
|
giveitem ITEM_TM31
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM31
|
setflag FLAG_RECEIVED_TM31
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ SootopolisCity_House6_EventScript_Woman:: @ 8226F5C
|
|||||||
compare VAR_RESULT, NO
|
compare VAR_RESULT, NO
|
||||||
call_if_eq SootopolisCity_House6_EventScript_DeclineWailmerDoll
|
call_if_eq SootopolisCity_House6_EventScript_DeclineWailmerDoll
|
||||||
msgbox SootopolisCity_House6_Text_TakeGoodCareOfIt, MSGBOX_DEFAULT
|
msgbox SootopolisCity_House6_Text_TakeGoodCareOfIt, MSGBOX_DEFAULT
|
||||||
givedecoration_std DECOR_WAILMER_DOLL
|
givedecoration DECOR_WAILMER_DOLL
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq SootopolisCity_House6_EventScript_NoRoomForWailmerDoll
|
goto_if_eq SootopolisCity_House6_EventScript_NoRoomForWailmerDoll
|
||||||
setflag FLAG_RECEIVED_WAILMER_DOLL
|
setflag FLAG_RECEIVED_WAILMER_DOLL
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ SootopolisCity_LotadAndSeedotHouse_EventScript_SmallSeedot:: @ 8227286
|
|||||||
|
|
||||||
SootopolisCity_LotadAndSeedotHouse_EventScript_BigSeedot:: @ 8227290
|
SootopolisCity_LotadAndSeedotHouse_EventScript_BigSeedot:: @ 8227290
|
||||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_GoshMightBeBiggerThanLotad, MSGBOX_DEFAULT
|
msgbox SootopolisCity_LotadAndSeedotHouse_Text_GoshMightBeBiggerThanLotad, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_ELIXIR
|
giveitem ITEM_ELIXIR
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_NoRoomForElixir1
|
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_NoRoomForElixir1
|
||||||
closemessage
|
closemessage
|
||||||
@@ -87,7 +87,7 @@ SootopolisCity_LotadAndSeedotHouse_EventScript_SmallLotad:: @ 8227317
|
|||||||
|
|
||||||
SootopolisCity_LotadAndSeedotHouse_EventScript_BigLotad:: @ 8227321
|
SootopolisCity_LotadAndSeedotHouse_EventScript_BigLotad:: @ 8227321
|
||||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_WowMightBeBiggerThanSeedot, MSGBOX_DEFAULT
|
msgbox SootopolisCity_LotadAndSeedotHouse_Text_WowMightBeBiggerThanSeedot, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_ELIXIR
|
giveitem ITEM_ELIXIR
|
||||||
compare VAR_RESULT, FALSE
|
compare VAR_RESULT, FALSE
|
||||||
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_NoRoomForElixir2
|
goto_if_eq SootopolisCity_LotadAndSeedotHouse_EventScript_NoRoomForElixir2
|
||||||
closemessage
|
closemessage
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ VerdanturfTown_BattleTentLobby_EventScript_AttractGiver:: @ 8201A7B
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_RECEIVED_TM45, VerdanturfTown_BattleTentLobby_EventScript_ReceivedAttract
|
goto_if_set FLAG_RECEIVED_TM45, VerdanturfTown_BattleTentLobby_EventScript_ReceivedAttract
|
||||||
msgbox VerdanturfTown_BattleTentLobby_Text_AttractionRunsDeep, MSGBOX_DEFAULT
|
msgbox VerdanturfTown_BattleTentLobby_Text_AttractionRunsDeep, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_TM45
|
giveitem ITEM_TM45
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||||
setflag FLAG_RECEIVED_TM45
|
setflag FLAG_RECEIVED_TM45
|
||||||
|
|||||||
@@ -68,15 +68,15 @@ gScriptCmdTable:: @ 81DB67C
|
|||||||
.4byte ScrCmd_setholewarp
|
.4byte ScrCmd_setholewarp
|
||||||
.4byte ScrCmd_getplayerxy
|
.4byte ScrCmd_getplayerxy
|
||||||
.4byte ScrCmd_getpartysize
|
.4byte ScrCmd_getpartysize
|
||||||
.4byte ScrCmd_giveitem
|
.4byte ScrCmd_additem
|
||||||
.4byte ScrCmd_takeitem
|
.4byte ScrCmd_removeitem
|
||||||
.4byte ScrCmd_checkitemspace
|
.4byte ScrCmd_checkitemspace
|
||||||
.4byte ScrCmd_checkitem
|
.4byte ScrCmd_checkitem
|
||||||
.4byte ScrCmd_checkitemtype
|
.4byte ScrCmd_checkitemtype
|
||||||
.4byte ScrCmd_givepcitem
|
.4byte ScrCmd_addpcitem
|
||||||
.4byte ScrCmd_checkpcitem
|
.4byte ScrCmd_checkpcitem
|
||||||
.4byte ScrCmd_givedecoration
|
.4byte ScrCmd_adddecoration
|
||||||
.4byte ScrCmd_takedecoration
|
.4byte ScrCmd_removedecoration
|
||||||
.4byte ScrCmd_checkdecor
|
.4byte ScrCmd_checkdecor
|
||||||
.4byte ScrCmd_checkdecorspace
|
.4byte ScrCmd_checkdecorspace
|
||||||
.4byte ScrCmd_applymovement
|
.4byte ScrCmd_applymovement
|
||||||
@@ -144,8 +144,8 @@ gScriptCmdTable:: @ 81DB67C
|
|||||||
.4byte ScrCmd_showcontestresults
|
.4byte ScrCmd_showcontestresults
|
||||||
.4byte ScrCmd_contestlinktransfer
|
.4byte ScrCmd_contestlinktransfer
|
||||||
.4byte ScrCmd_random
|
.4byte ScrCmd_random
|
||||||
.4byte ScrCmd_givemoney
|
.4byte ScrCmd_addmoney
|
||||||
.4byte ScrCmd_takemoney
|
.4byte ScrCmd_removemoney
|
||||||
.4byte ScrCmd_checkmoney
|
.4byte ScrCmd_checkmoney
|
||||||
.4byte ScrCmd_showmoneybox
|
.4byte ScrCmd_showmoneybox
|
||||||
.4byte ScrCmd_hidemoneybox
|
.4byte ScrCmd_hidemoneybox
|
||||||
@@ -180,8 +180,8 @@ gScriptCmdTable:: @ 81DB67C
|
|||||||
.4byte ScrCmd_addelevmenuitem
|
.4byte ScrCmd_addelevmenuitem
|
||||||
.4byte ScrCmd_showelevmenu
|
.4byte ScrCmd_showelevmenu
|
||||||
.4byte ScrCmd_checkcoins
|
.4byte ScrCmd_checkcoins
|
||||||
.4byte ScrCmd_givecoins
|
.4byte ScrCmd_addcoins
|
||||||
.4byte ScrCmd_takecoins
|
.4byte ScrCmd_removecoins
|
||||||
.4byte ScrCmd_setwildbattle
|
.4byte ScrCmd_setwildbattle
|
||||||
.4byte ScrCmd_dowildbattle
|
.4byte ScrCmd_dowildbattle
|
||||||
.4byte ScrCmd_setvaddress
|
.4byte ScrCmd_setvaddress
|
||||||
|
|||||||
@@ -263,7 +263,7 @@ BerryBlender_EventScript_Blender1NoSpareBerries: @ 8293C92
|
|||||||
|
|
||||||
BerryBlender_EventScript_Blender1GiveSpareBerry: @ 8293C9C
|
BerryBlender_EventScript_Blender1GiveSpareBerry: @ 8293C9C
|
||||||
msgbox BerryBlender_Text_CanHaveOneOfMyBerries, MSGBOX_DEFAULT
|
msgbox BerryBlender_Text_CanHaveOneOfMyBerries, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_PECHA_BERRY
|
giveitem ITEM_PECHA_BERRY
|
||||||
setflag FLAG_DAILY_CONTEST_LOBBY_RECEIVED_BERRY
|
setflag FLAG_DAILY_CONTEST_LOBBY_RECEIVED_BERRY
|
||||||
goto BerryBlender_EventScript_UseBerryBlender1
|
goto BerryBlender_EventScript_UseBerryBlender1
|
||||||
end
|
end
|
||||||
@@ -551,7 +551,7 @@ BerryBlender_EventScript_ExpertMNoSpareBerries: @ 8294028
|
|||||||
|
|
||||||
BerryBlender_EventScript_ExpertMGiveBerry: @ 8294032
|
BerryBlender_EventScript_ExpertMGiveBerry: @ 8294032
|
||||||
msgbox BerryBlender_Text_DontHaveAnyBerriesHaveOne, MSGBOX_DEFAULT
|
msgbox BerryBlender_Text_DontHaveAnyBerriesHaveOne, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_PECHA_BERRY
|
giveitem ITEM_PECHA_BERRY
|
||||||
setflag FLAG_DAILY_CONTEST_LOBBY_RECEIVED_BERRY
|
setflag FLAG_DAILY_CONTEST_LOBBY_RECEIVED_BERRY
|
||||||
msgbox BerryBlender_Text_UseItToMakePokeblocksTogether, MSGBOX_DEFAULT
|
msgbox BerryBlender_Text_UseItToMakePokeblocksTogether, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user