Skip to content

SCRIPT_FORMAT_UNCHANGED bugs/glitches #7

Description

@wipe2238
  • When 2nd+ argument becomes 1st, it keeps leading whitespace which is it's most likely unwanted. Leading spacing used in original 1st argument should be probably cached and applied in following scenario.
@@ -272,8 +272,8 @@
 end
 procedure Node2217a begin
    if ((item_caps_total(dude_obj)) >= 100) then begin
-      item_caps_adjust(dude_obj, -100);
-      item_caps_adjust(self_obj, 100);
+      dude_caps_adjust( -100);
+      self_caps_adjust( 100);
       critter_heal(dude_obj, -((get_critter_stat(dude_obj,(35))) - (get_critter_stat(dude_obj,(7)))));
       call Node022;
    end else begin
  • Moving argument to end gives ugly results as well
3:1 = RunAfter IfFileName:0301.ssl IfFunction:f DoArgumentsMoveBack:0
@@ : fileline<0301.ssl:1>
<- f(a, b, c);
-> f(b, c,a);

#6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions