From e2ea1b0c217a9714b6b5d231b202b5fd1eefa2c9 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 18 May 2021 13:43:25 -0400 Subject: Save 9 bytes, now 8834 --- messages.msg | 5 ++--- portstat.s | 2 +- taipan.c | 6 +++--- 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); -- cgit v1.2.3