diff options
Diffstat (limited to 'data/scripts/pokeblocks.inc')
-rw-r--r-- | data/scripts/pokeblocks.inc | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/data/scripts/pokeblocks.inc b/data/scripts/pokeblocks.inc index 95525b4c9..8d4a92cf4 100644 --- a/data/scripts/pokeblocks.inc +++ b/data/scripts/pokeblocks.inc @@ -9,7 +9,7 @@ FallarborTown_ContestLobby_EventScript_1B7604:: @ 81B7604 SlateportCity_ContestLobby_EventScript_1B761E:: @ 81B761E setvar VAR_0x8008, 2 setvar VAR_0x8009, 2 - applymovement 6, SlateportCity_ContestLobby_Movement_1A083D + applymovement 6, Common_Movement_FaceOriginalDirection applymovement VAR_0x8008, SlateportCity_ContestLobby_Movement_1B7821 waitmovement 0 goto SlateportCity_ContestLobby_EventScript_1B7681 @@ -26,8 +26,8 @@ VerdanturfTown_ContestLobby_EventScript_1B763F:: @ 81B763F LilycoveCity_ContestLobby_EventScript_1B7659:: @ 81B7659 setvar VAR_0x8008, 3 setvar VAR_0x8009, 3 - applymovement 9, LilycoveCity_ContestLobby_Movement_1A083D - applymovement 10, LilycoveCity_ContestLobby_Movement_1A083D + applymovement 9, Common_Movement_FaceOriginalDirection + applymovement 10, Common_Movement_FaceOriginalDirection applymovement VAR_0x8008, LilycoveCity_ContestLobby_Movement_1B7821 waitmovement 0 goto LilycoveCity_ContestLobby_EventScript_1B7681 @@ -52,7 +52,7 @@ FallarborTown_ContestLobby_EventScript_1B76A1:: @ 81B76A1 specialvar VAR_RESULT, PlayerHasBerries compare VAR_RESULT, 0 goto_if_eq FallarborTown_ContestLobby_EventScript_1B770E - msgbox FallarborTown_ContestLobby_Text_1B6E9D, 4 + msgbox FallarborTown_ContestLobby_Text_1B6E9D, MSGBOX_DEFAULT specialvar VAR_RESULT, GetFirstFreePokeblockSlot compare VAR_RESULT, -1 goto_if_ne FallarborTown_ContestLobby_EventScript_1B76EF @@ -61,7 +61,7 @@ FallarborTown_ContestLobby_EventScript_1B76A1:: @ 81B76A1 end FallarborTown_ContestLobby_EventScript_1B76E5:: @ 81B76E5 - msgbox FallarborTown_ContestLobby_Text_1B6EA8, 4 + msgbox FallarborTown_ContestLobby_Text_1B6EA8, MSGBOX_DEFAULT releaseall end @@ -74,49 +74,49 @@ FallarborTown_ContestLobby_EventScript_1B76EF:: @ 81B76EF end FallarborTown_ContestLobby_EventScript_1B770E:: @ 81B770E - msgbox FallarborTown_ContestLobby_Text_1B6FF0, 4 - dodailyevents + msgbox FallarborTown_ContestLobby_Text_1B6FF0, MSGBOX_DEFAULT + dotimebasedevents goto_if_set FLAG_DAILY_RECEIVED_BERRY_FALLARBOR, FallarborTown_ContestLobby_EventScript_1B774F goto FallarborTown_ContestLobby_EventScript_1B7759 end FallarborTown_ContestLobby_EventScript_1B7726:: @ 81B7726 - msgbox FallarborTown_ContestLobby_Text_1B6F1F, 4 + msgbox FallarborTown_ContestLobby_Text_1B6F1F, MSGBOX_DEFAULT goto FallarborTown_ContestLobby_EventScript_1B7734 end FallarborTown_ContestLobby_EventScript_1B7734:: @ 81B7734 - msgbox FallarborTown_ContestLobby_Text_1B6EF1, 4 + msgbox FallarborTown_ContestLobby_Text_1B6EF1, MSGBOX_DEFAULT goto FallarborTown_ContestLobby_EventScript_1B7742 end FallarborTown_ContestLobby_EventScript_1B7742:: @ 81B7742 copyvar VAR_0x8004, VAR_0x8009 - fadescreen 1 + fadescreen FADE_TO_BLACK special DoBerryBlending waitstate releaseall end FallarborTown_ContestLobby_EventScript_1B774F:: @ 81B774F - msgbox FallarborTown_ContestLobby_Text_1B70F6, 4 + msgbox FallarborTown_ContestLobby_Text_1B70F6, MSGBOX_DEFAULT releaseall end FallarborTown_ContestLobby_EventScript_1B7759:: @ 81B7759 - msgbox FallarborTown_ContestLobby_Text_1B704A, 4 - giveitem_std ITEM_PECHA_BERRY + msgbox FallarborTown_ContestLobby_Text_1B704A, MSGBOX_DEFAULT + giveitem ITEM_PECHA_BERRY setflag FLAG_DAILY_RECEIVED_BERRY_FALLARBOR goto FallarborTown_ContestLobby_EventScript_1B76EF end FallarborTown_ContestLobby_EventScript_1B7776:: @ 81B7776 - msgbox FallarborTown_ContestLobby_Text_1B717C, 4 + msgbox FallarborTown_ContestLobby_Text_1B717C, MSGBOX_DEFAULT releaseall end FallarborTown_ContestLobby_EventScript_1B7780:: @ 81B7780 - msgbox FallarborTown_ContestLobby_Text_1B71D2, 4 + msgbox FallarborTown_ContestLobby_Text_1B71D2, MSGBOX_DEFAULT releaseall end @@ -146,7 +146,7 @@ SlateportCity_ContestLobby_EventScript_1B77B6:: @ 81B77B6 VerdanturfTown_ContestLobby_EventScript_1B77B6:: @ 81B77B6 lock faceplayer - msgbox FallarborTown_ContestLobby_Text_1B742F, 4 + msgbox FallarborTown_ContestLobby_Text_1B742F, MSGBOX_DEFAULT specialvar VAR_RESULT, PlayerHasBerries compare VAR_RESULT, 1 goto_if_eq FallarborTown_ContestLobby_EventScript_1B77DC @@ -155,26 +155,26 @@ VerdanturfTown_ContestLobby_EventScript_1B77B6:: @ 81B77B6 end FallarborTown_ContestLobby_EventScript_1B77DC:: @ 81B77DC - msgbox FallarborTown_ContestLobby_Text_1B7469, 4 + msgbox FallarborTown_ContestLobby_Text_1B7469, MSGBOX_DEFAULT release end FallarborTown_ContestLobby_EventScript_1B77E6:: @ 81B77E6 - dodailyevents + dotimebasedevents goto_if_set FLAG_DAILY_RECEIVED_BERRY_FALLARBOR, FallarborTown_ContestLobby_EventScript_1B77F6 goto FallarborTown_ContestLobby_EventScript_1B7800 end FallarborTown_ContestLobby_EventScript_1B77F6:: @ 81B77F6 - msgbox FallarborTown_ContestLobby_Text_1B7578, 4 + msgbox FallarborTown_ContestLobby_Text_1B7578, MSGBOX_DEFAULT release end FallarborTown_ContestLobby_EventScript_1B7800:: @ 81B7800 - msgbox FallarborTown_ContestLobby_Text_1B74B4, 4 - giveitem_std ITEM_PECHA_BERRY + msgbox FallarborTown_ContestLobby_Text_1B74B4, MSGBOX_DEFAULT + giveitem ITEM_PECHA_BERRY setflag FLAG_DAILY_RECEIVED_BERRY_FALLARBOR - msgbox FallarborTown_ContestLobby_Text_1B753A, 4 + msgbox FallarborTown_ContestLobby_Text_1B753A, MSGBOX_DEFAULT release end @@ -183,7 +183,7 @@ LilycoveCity_ContestLobby_Movement_1B7821:: @ 81B7821 SlateportCity_ContestLobby_Movement_1B7821:: @ 81B7821 VerdanturfTown_ContestLobby_Movement_1B7821:: @ 81B7821 walk_in_place_fastest_right - end_movement + step_end FallarborTown_ContestLobby_EventScript_1B7823:: @ 81B7823 goto FallarborTown_ContestLobby_EventScript_1B783B @@ -228,12 +228,12 @@ FallarborTown_ContestLobby_EventScript_1B7878:: @ 81B7878 end FallarborTown_ContestLobby_EventScript_1B7897:: @ 81B7897 - msgbox FallarborTown_ContestLobby_Text_1B7381, 4 + msgbox FallarborTown_ContestLobby_Text_1B7381, MSGBOX_DEFAULT releaseall end FallarborTown_ContestLobby_EventScript_1B78A1:: @ 81B78A1 - call S_DoSaveDialog + call Common_EventScript_SaveGame compare VAR_RESULT, 0 goto_if_eq FallarborTown_ContestLobby_EventScript_1B7936 message FallarborTown_ContestLobby_Text_1B7304 @@ -253,23 +253,23 @@ FallarborTown_ContestLobby_EventScript_1B78A1:: @ 81B78A1 end FallarborTown_ContestLobby_EventScript_1B78F3:: @ 81B78F3 - msgbox FallarborTown_ContestLobby_Text_1B733B, 4 + msgbox FallarborTown_ContestLobby_Text_1B733B, MSGBOX_DEFAULT goto FallarborTown_ContestLobby_EventScript_1B791D end FallarborTown_ContestLobby_EventScript_1B7901:: @ 81B7901 - msgbox FallarborTown_ContestLobby_Text_1B7347, 4 + msgbox FallarborTown_ContestLobby_Text_1B7347, MSGBOX_DEFAULT goto FallarborTown_ContestLobby_EventScript_1B791D end FallarborTown_ContestLobby_EventScript_1B790F:: @ 81B790F - msgbox FallarborTown_ContestLobby_Text_1B735A, 4 + msgbox FallarborTown_ContestLobby_Text_1B735A, MSGBOX_DEFAULT goto FallarborTown_ContestLobby_EventScript_1B791D end FallarborTown_ContestLobby_EventScript_1B791D:: @ 81B791D setvar VAR_0x8004, 0 - fadescreen 1 + fadescreen FADE_TO_BLACK removeobject 240 removeobject 239 removeobject 238 @@ -284,41 +284,41 @@ FallarborTown_ContestLobby_EventScript_1B7936:: @ 81B7936 end FallarborTown_ContestLobby_EventScript_1B7938:: @ 81B7938 - msgbox FallarborTown_ContestLobby_Text_1B73B7, 4 + msgbox FallarborTown_ContestLobby_Text_1B73B7, MSGBOX_DEFAULT releaseall end FallarborTown_ContestLobby_EventScript_1B7942:: @ 81B7942 - msgbox FallarborTown_ContestLobby_Text_1B73F1, 4 + msgbox FallarborTown_ContestLobby_Text_1B73F1, MSGBOX_DEFAULT releaseall end FallarborTown_ContestLobby_EventScript_1B794C:: @ 81B794C special CloseLink - msgbox FallarborTown_ContestLobby_Text_1A4A30, 4 + msgbox FallarborTown_ContestLobby_Text_1A4A30, MSGBOX_DEFAULT releaseall end FallarborTown_ContestLobby_EventScript_1B7959:: @ 81B7959 special CloseLink - msgbox FallarborTown_ContestLobby_Text_1A4B1D, 4 + msgbox FallarborTown_ContestLobby_Text_1A4B1D, MSGBOX_DEFAULT releaseall end FallarborTown_ContestLobby_EventScript_1B7966:: @ 81B7966 special CloseLink - msgbox FallarborTown_ContestLobby_Text_1A10EB, 4 + msgbox FallarborTown_ContestLobby_Text_1A10EB, MSGBOX_DEFAULT releaseall end FallarborTown_ContestLobby_EventScript_1B7973:: @ 81B7973 special CloseLink - msgbox FallarborTown_ContestLobby_Text_1A4A85, 4 + msgbox FallarborTown_ContestLobby_Text_1A4A85, MSGBOX_DEFAULT releaseall end FallarborTown_ContestLobby_EventScript_1B7980:: @ 81B7980 - fadescreen 1 + fadescreen FADE_TO_BLACK specialvar VAR_RESULT, GetLinkPartnerNames copyvar VAR_0x8008, VAR_RESULT copyvar VAR_0x8004, VAR_0x8008 @@ -327,7 +327,7 @@ FallarborTown_ContestLobby_EventScript_1B7980:: @ 81B7980 end FallarborTown_ContestLobby_EventScript_1B799A:: @ 81B799A - fadescreen 0 + fadescreen FADE_FROM_BLACK switch VAR_0x8008 case 2, FallarborTown_ContestLobby_EventScript_1B78F3 case 3, FallarborTown_ContestLobby_EventScript_1B7901 |