aboutsummaryrefslogtreecommitdiff
path: root/taipan.c
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-05-15 12:18:41 -0400
committerB. Watson <yalhcru@gmail.com>2021-05-15 12:18:41 -0400
commitb5df9d8071b076e65c22d4080fa7394c73b2b660 (patch)
treef6788091bfad04669bce93f6338a413743012934 /taipan.c
parentc3a8ee262f99ffe43da1c6a4ce064cafc439d63c (diff)
downloadtaipan-b5df9d8071b076e65c22d4080fa7394c73b2b660.tar.gz
Multiple sinking speeds (costs 13 bytes, now 8821)
Diffstat (limited to 'taipan.c')
-rw-r--r--taipan.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/taipan.c b/taipan.c
index 3d695a8..513c237 100644
--- a/taipan.c
+++ b/taipan.c
@@ -3406,11 +3406,14 @@ int main(void) {
POKE(559, 34); // turn on the screen (normal playfield)
#ifdef LORCHA_TEST
- for(choice = 0; choice < 10; choice++)
- draw_lorcha(choice);
while(1) {
- for(choice = 1; choice < 10; choice++) {
- damage_lorcha(choice);
+ gotox0y(0);
+ clrtoeol();
+ for(choice = 0; choice < 10; choice++) {
+ draw_lorcha(choice);
+ sink_lorcha(choice);
+ cprintuint(PEEK(0xda));
+ cspace();
}
agetc();
}