diff --git a/libs/gamecode/opcodes.py b/libs/gamecode/opcodes.py index 8b800135f..37ca5c2e2 100644 --- a/libs/gamecode/opcodes.py +++ b/libs/gamecode/opcodes.py @@ -115,7 +115,7 @@ call_formats = { "opname": "call", "format": "{call_fmt[mm]}", "widths": "{call_widths[mm]}, 0", - "types": "ev_void, ev_void, ev_void", + "types": "{call_types[mm]}, ev_void", "args": { "op_mode": ".BCD", "call_fmt": [ @@ -124,6 +124,12 @@ call_formats = { "%Ga[%sb], %gc", "%Ga[%Gb], %gc", ], + "call_types": [ + None, + "ev_void, ev_invalid", + "ev_ptr, ev_short", + "ev_ptr, ev_int", + ], "call_widths": [ None, "1, 0", "1, 0", "1, 1" ] }, }