Skip to content

Commit

Permalink
Sync with RPU: remove LVAR_Diagnostic and related msg from wsterm2a, …
Browse files Browse the repository at this point in the history
…ref #105
  • Loading branch information
burner1024 committed Apr 22, 2024
1 parent fcfcd20 commit 45b7793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion data/text/english/dialog/wsterm2a.msg
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,3 @@
{145}{}{Exit}
{146}{}{Exiting Diagnostic Program.}
{147}{}{[MORE]}
{200}{}{Computer in diagnostic mode. Please wait until diagnostic routine is finished.}
8 changes: 2 additions & 6 deletions scripts_src/sierra/wsterm2a.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ procedure Node017;

/* Local Variables which are saved. All Local Variables need to be
prepended by LVAR_ */
#define LVAR_Diagnostic (0)
// #define LVAR_Diagnostic (0) // unused
#define LVAR_Gave_Xp (1)
#define LVAR_Last_Used (2)
#define LVAR_Hack_Security (3) // Seraph's Code
Expand Down Expand Up @@ -109,11 +109,7 @@ procedure use_p_proc begin

script_overrides;

if (local_var(LVAR_Diagnostic) == 1) then begin
display_msg(mstr(200));
end

else if (global_var(GVAR_SIERRA_BASE_ENEMY) == 1) then begin
if (global_var(GVAR_SIERRA_BASE_ENEMY) == 1) then begin
Damage:=random(LOW_DAMAGE,HIGH_DAMAGE);
critter_damage(source_obj,Damage);
display_msg(message_str(SCRIPT_WSTERM1A,300)); //was SCRIPT_WSTERM1B - killap
Expand Down

0 comments on commit 45b7793

Please sign in to comment.