summaryrefslogtreecommitdiff
path: root/data/scripts/tv.inc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-02-07 00:40:22 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-02-07 00:40:22 -0500
commitdcd35c895cb1c5680f92360cb084e6924ed3b76f (patch)
treee3b12bfd9f67e1237832602f03fe5bfd7380ab0b /data/scripts/tv.inc
parenteff6795887cc27f2c5139df9a6da70f4f02338b4 (diff)
parentc79d259508d47a8b5bde5b9060b8fe8c6989bd44 (diff)
Merge branch 'master' into unk_text_8095904
Diffstat (limited to 'data/scripts/tv.inc')
-rw-r--r--data/scripts/tv.inc10
1 files changed, 4 insertions, 6 deletions
diff --git a/data/scripts/tv.inc b/data/scripts/tv.inc
index cf82cf943..5a84a1b48 100644
--- a/data/scripts/tv.inc
+++ b/data/scripts/tv.inc
@@ -7,10 +7,8 @@ Event_TV:: @ 81A6E72
goto_if_eq EventScript_1A6F01
compare RESULT, 1
goto_if_eq EventScript_1A6F0B
- checkflag FLAG_SYS_TV_START
- goto_if 0, EventScript_1A6EF1
- checkflag FLAG_SYS_TV_WATCH
- goto_if_eq EventScript_1A6EF1
+ goto_if_unset FLAG_SYS_TV_START, EventScript_1A6EF1
+ goto_if_set FLAG_SYS_TV_WATCH, EventScript_1A6EF1
specialvar RESULT, IsTVShowInSearchOfTrainersAiring
compare RESULT, 1
goto_if_eq EventScript_1A6F66
@@ -27,7 +25,7 @@ EventScript_1A6EBB:
copyvar VAR_SPECIAL_4, RESULT
specialvar RESULT, GetTVShowType
compare RESULT, 0
- goto_if 5, EventScript_1A6F21
+ goto_if_ne EventScript_1A6F21
end
EventScript_1A6EF1:
@@ -60,7 +58,7 @@ EventScript_1A6F21:
waitmessage
waitbuttonpress
compare RESULT, 1
- goto_if 5, EventScript_1A6F21
+ goto_if_ne EventScript_1A6F21
goto EventScript_1A6F37
end