2023-03-22 21:00:21 +00:00
|
|
|
%import textio
|
2023-04-29 15:14:50 +00:00
|
|
|
%option no_sysinit
|
|
|
|
%zeropage basicsafe
|
2023-04-10 14:59:08 +00:00
|
|
|
|
2022-10-22 11:33:35 +00:00
|
|
|
main {
|
2023-04-09 19:08:35 +00:00
|
|
|
sub start() {
|
2023-05-07 13:15:58 +00:00
|
|
|
ubyte[10] envelope_attacks = 99
|
|
|
|
|
2023-05-07 17:55:06 +00:00
|
|
|
; signed word:
|
2023-05-07 13:15:58 +00:00
|
|
|
; >
|
|
|
|
|
|
|
|
|
2023-05-07 17:55:06 +00:00
|
|
|
; expect yep nope nope nope yep nope
|
|
|
|
cx16.r0s = -1000
|
|
|
|
cx16.r2s = -999
|
|
|
|
if (cx16.r0s < cx16.r2s) or (envelope_attacks[cx16.r1L]==0) {
|
|
|
|
txt.print("\nyep\n")
|
|
|
|
} else {
|
|
|
|
txt.print("\nnope\n")
|
|
|
|
}
|
|
|
|
|
|
|
|
cx16.r0s = -999
|
|
|
|
cx16.r2s = -999
|
|
|
|
if (cx16.r0s < cx16.r2s) or (envelope_attacks[cx16.r1L]==0) {
|
2023-05-07 13:15:58 +00:00
|
|
|
txt.print("\nyep\n")
|
|
|
|
} else {
|
|
|
|
txt.print("\nnope\n")
|
|
|
|
}
|
|
|
|
|
2023-05-07 17:55:06 +00:00
|
|
|
cx16.r0s = -998
|
|
|
|
cx16.r2s = -999
|
|
|
|
if (cx16.r0s < cx16.r2s) or (envelope_attacks[cx16.r1L]==0) {
|
2023-05-07 13:15:58 +00:00
|
|
|
txt.print("\nyep\n")
|
|
|
|
} else {
|
|
|
|
txt.print("\nnope\n")
|
|
|
|
}
|
|
|
|
|
2023-05-07 17:55:06 +00:00
|
|
|
cx16.r0s = 0
|
|
|
|
cx16.r2s = -999
|
|
|
|
if (cx16.r0s < cx16.r2s) or (envelope_attacks[cx16.r1L]==0) {
|
2023-05-07 13:15:58 +00:00
|
|
|
txt.print("\nyep\n")
|
|
|
|
} else {
|
|
|
|
txt.print("\nnope\n")
|
|
|
|
}
|
2023-04-29 15:14:50 +00:00
|
|
|
|
2023-05-07 17:55:06 +00:00
|
|
|
cx16.r0s = -999
|
|
|
|
cx16.r2s = 0
|
|
|
|
if (cx16.r0s < cx16.r2s) or (envelope_attacks[cx16.r1L]==0) {
|
2023-05-07 13:15:58 +00:00
|
|
|
txt.print("\nyep\n")
|
|
|
|
} else {
|
|
|
|
txt.print("\nnope\n")
|
|
|
|
}
|
2023-04-29 15:14:50 +00:00
|
|
|
|
2023-05-07 17:55:06 +00:00
|
|
|
cx16.r0s = $7fff
|
|
|
|
cx16.r2s = $7eff
|
|
|
|
if (cx16.r0s < cx16.r2s) or (envelope_attacks[cx16.r1L]==0) {
|
2023-05-07 13:15:58 +00:00
|
|
|
txt.print("\nyep\n")
|
|
|
|
} else {
|
|
|
|
txt.print("\nnope\n")
|
|
|
|
}
|
2023-03-18 23:24:05 +00:00
|
|
|
}
|
2022-12-04 15:02:58 +00:00
|
|
|
}
|
2023-04-29 15:14:50 +00:00
|
|
|
|