Merge pull request #6 from SnorreSelmer/storm_warning

Storm warning
This commit is contained in:
Snorre Selmer 2021-09-04 13:49:50 +02:00 committed by GitHub
commit 81eb66a418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,12 +17,14 @@ s announcer Mode 18 # "Storm Incoming!"
s siren Mode 10 # nice siren sound s siren Mode 10 # nice siren sound
start: start:
yield
l storm_mode weather Mode # check weather l storm_mode weather Mode # check weather
s announcer On 0 # reset announcer s announcer On 0 # reset announcer
beq storm_mode 1 countdown # countdown if incoming beq storm_mode 1 countdown # countdown if incoming
j start # else return to start j start # else return to start
countdown: countdown:
yield
l storm_mode weather Mode # check weather l storm_mode weather Mode # check weather
s announcer On 1 # announce storm s announcer On 1 # announce storm
# get countdown value # get countdown value