aboutsummaryrefslogtreecommitdiff
path: root/taipan.c
diff options
context:
space:
mode:
Diffstat (limited to 'taipan.c')
-rw-r--r--taipan.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/taipan.c b/taipan.c
index f3f0c87..3c9ddee 100644
--- a/taipan.c
+++ b/taipan.c
@@ -9,7 +9,7 @@
/* define this for testing sea_battle(). it causes a pirate
attack every time you leave port. Don't leave defined for
a release!! */
-// #define COMBAT_TEST
+#define COMBAT_TEST
/* define this to show internals of damage calculation */
// #define DAMAGE_TEST
@@ -909,10 +909,13 @@ int sea_battle(int id, int num_ships) {
it on the title screen. */
for(i = 0; i < 3; i++) {
unsigned char color = PEEK(710) & 0xf0;
+ unsigned char textcolor = PEEK(709);
+ POKE(709,0);
POKE(710, color | 0x0c);
jsleep(10);
POKE(710, color & 0xf0);
jsleep(10);
+ POKE(709,textcolor);
}
fight_stats(num_ships, orders);