summaryrefslogtreecommitdiff
path: root/data/scripts/tv.inc
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-12-02 14:38:49 -0800
committerMarcus Huderle <huderlem@gmail.com>2017-12-02 14:38:49 -0800
commit79e3d29c29335d7e1fb8478b16d100b1844f2da4 (patch)
tree8bc428f307b41dfe69284b54bb072a98761b98c3 /data/scripts/tv.inc
parent765526b99f50bf6b8c41c69bd6b1dc82471cda2d (diff)
Use constants for all SYS flags
Diffstat (limited to 'data/scripts/tv.inc')
-rw-r--r--data/scripts/tv.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/scripts/tv.inc b/data/scripts/tv.inc
index 425f42a85..28932e02a 100644
--- a/data/scripts/tv.inc
+++ b/data/scripts/tv.inc
@@ -7,9 +7,9 @@ Event_TV:: @ 81A6E72
goto_if_eq EventScript_1A6F01
compare RESULT, 1
goto_if_eq EventScript_1A6F0B
- checkflag 2098
+ checkflag SYS_TV_START
goto_if 0, EventScript_1A6EF1
- checkflag 2097
+ checkflag SYS_TV_WATCH
goto_if_eq EventScript_1A6EF1
specialvar RESULT, IsTVShowInSearchOfTrainersAiring
compare RESULT, 1
@@ -49,7 +49,7 @@ EventScript_1A6F0B:
msgbox UnknownString_8172C50, 4
.endif
special InitRoamer
- clearflag 2141
+ clearflag SYS_TV_LATI
setflag 255
special TurnOffTVScreen
releaseall
@@ -66,7 +66,7 @@ EventScript_1A6F21:
EventScript_1A6F37:
special TurnOffTVScreen
- setflag 2097
+ setflag SYS_TV_WATCH
releaseall
end