summaryrefslogtreecommitdiff
path: root/src/macros.asm
diff options
context:
space:
mode:
authorAndrew Martinek <andrewrmartinek@gmail.com>2016-07-29 15:58:18 -0400
committerAndrew Martinek <andrewrmartinek@gmail.com>2016-07-29 15:58:18 -0400
commit30a8cb35cf3ace29226f1c268db0d448cd23751d (patch)
tree2948bafe0a8ee9f4edad001084985b612622a9fd /src/macros.asm
parent8bfb38d813af48ed872443e90caaa3b32acca844 (diff)
Began Disassembling Scripting system and AI.
Diffstat (limited to 'src/macros.asm')
-rwxr-xr-xsrc/macros.asm18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/macros.asm b/src/macros.asm
index 874c473..db39480 100755
--- a/src/macros.asm
+++ b/src/macros.asm
@@ -406,25 +406,13 @@ ENDM
run_script: MACRO
db \1_index
- if(_NARG > 1)
-
- rept (_NARG + -1)
- shift
- db \1
- endr
-
- endc
ENDM
; for the repeated functions on the table, need to specify which one, unfortunately
run_scriptx: MACRO
db \1
- if(_NARG > 1)
-
- rept (_NARG + -1)
- shift
- db \1
- endr
+ENDM
- endc
+argt: MACRO
+ dw \1_
ENDM