aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-05-18 13:43:25 -0400
committerB. Watson <yalhcru@gmail.com>2021-05-18 13:43:25 -0400
commite2ea1b0c217a9714b6b5d231b202b5fd1eefa2c9 (patch)
tree6020940d63bd74a08ddc57b9a74fb46e3ad3250d
parent8a3de209e14424683d06f443d9ceb74ce0e93366 (diff)
downloadtaipan-e2ea1b0c217a9714b6b5d231b202b5fd1eefa2c9.tar.gz
Save 9 bytes, now 8834
-rw-r--r--messages.msg5
-rw-r--r--portstat.s2
-rw-r--r--taipan.c6
3 files changed, 6 insertions, 7 deletions
diff --git a/messages.msg b/messages.msg
index 2d3de3e..7d82b13 100644
--- a/messages.msg
+++ b/messages.msg
@@ -75,9 +75,8 @@ spc_year " year"
spc_and_spc " and "
spc_month " month"
your_score_is "Your score is "
-land_based_job "Have you considered a land based job?\n\n\n"
-stay_on_shore "The crew has requested that you stay on\nshore for their safety!!\n\n"
-3_nls "\n\n\n"
+land_based_job "\nHave you considered a land based job?"
+stay_on_shore "The crew has requested that you stay on\nshore for their safety!!"
your_rating "Your Rating:\n"
ma_tsu "Ma Tsu"
master_taipan "Master Taipan"
diff --git a/portstat.s b/portstat.s
index 9aa54ee..b5e7655 100644
--- a/portstat.s
+++ b/portstat.s
@@ -61,7 +61,7 @@ _redraw_port_stat:
bne @pageloop
; copy last (partial) page. we know Y is 0 here.
- sty _port_stat_dirty
+ ;sty _port_stat_dirty ; do not clear the flag, the caller will
@partloop:
lda (srcptr),y
sta (dstptr),y
diff --git a/taipan.c b/taipan.c
index 20438cd..39a70cb 100644
--- a/taipan.c
+++ b/taipan.c
@@ -1817,6 +1817,8 @@ void port_stats(void) {
cprintuint(endline);
clrtoeol();
#endif
+
+ port_stat_dirty = 0;
}
void mchenry(void) {
@@ -2051,11 +2053,9 @@ void final_stats(void)
else if(score < 100)
// cputs("Have you considered a land based job?\n\n\n");
print_msg(M_land_based_job);
- else
- // cputs("\n\n\n");
- print_msg(M_3_nls);
// cputs("Your Rating:\n");
+ gotox0y(11);
print_msg(M_your_rating);
cputc(17); // upper left corner
chline(31);