summaryrefslogtreecommitdiff
path: root/data/scripts/tv.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/tv.inc')
-rw-r--r--data/scripts/tv.inc30
1 files changed, 15 insertions, 15 deletions
diff --git a/data/scripts/tv.inc b/data/scripts/tv.inc
index 5a84a1b48..486e5d68c 100644
--- a/data/scripts/tv.inc
+++ b/data/scripts/tv.inc
@@ -2,29 +2,29 @@ Event_TV:: @ 81A6E72
lockall
incrementgamestat GAME_STAT_WATCHED_TV
special ResetTVShowState
- specialvar RESULT, CheckForBigMovieOrEmergencyNewsOnTV
- compare RESULT, 2
+ specialvar VAR_RESULT, CheckForBigMovieOrEmergencyNewsOnTV
+ compare VAR_RESULT, 2
goto_if_eq EventScript_1A6F01
- compare RESULT, 1
+ compare VAR_RESULT, 1
goto_if_eq EventScript_1A6F0B
goto_if_unset FLAG_SYS_TV_START, EventScript_1A6EF1
goto_if_set FLAG_SYS_TV_WATCH, EventScript_1A6EF1
- specialvar RESULT, IsTVShowInSearchOfTrainersAiring
- compare RESULT, 1
+ specialvar VAR_RESULT, IsTVShowInSearchOfTrainersAiring
+ compare VAR_RESULT, 1
goto_if_eq EventScript_1A6F66
goto EventScript_1A6F50
end
EventScript_1A6EBB:
- specialvar VAR_SPECIAL_4, special_0x44
- compare VAR_SPECIAL_4, 255
+ specialvar VAR_0x8004, special_0x44
+ compare VAR_0x8004, 255
goto_if_eq EventScript_1A6F3F
- specialvar RESULT, GetNonMassOutbreakActiveTVShow
- compare RESULT, 255
+ specialvar VAR_RESULT, GetNonMassOutbreakActiveTVShow
+ compare VAR_RESULT, 255
goto_if_eq EventScript_1A6F3F
- copyvar VAR_SPECIAL_4, RESULT
- specialvar RESULT, GetTVShowType
- compare RESULT, 0
+ copyvar VAR_0x8004, VAR_RESULT
+ specialvar VAR_RESULT, GetTVShowType
+ compare VAR_RESULT, 0
goto_if_ne EventScript_1A6F21
end
@@ -57,7 +57,7 @@ EventScript_1A6F21:
special DoTVShow
waitmessage
waitbuttonpress
- compare RESULT, 1
+ compare VAR_RESULT, 1
goto_if_ne EventScript_1A6F21
goto EventScript_1A6F37
end
@@ -76,7 +76,7 @@ EventScript_1A6F3F:
EventScript_1A6F50:
special DoPokeNews
- compare RESULT, 0
+ compare VAR_RESULT, 0
goto_if_eq EventScript_1A6EBB
waitmessage
waitbuttonpress
@@ -87,7 +87,7 @@ EventScript_1A6F66:
special DoTVShowInSearchOfTrainers
waitmessage
waitbuttonpress
- compare RESULT, 0
+ compare VAR_RESULT, 0
goto_if_eq EventScript_1A6F66
goto EventScript_1A6F37
end