mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
fix style=choice arg order
This commit is contained in:
parent
43caadae41
commit
dc57215491
@ -424,7 +424,7 @@ if __name__ == "__main__":
|
||||
print(f"{filename}:{lineno}: 'choice' style requires parameters: x, y, w, h")
|
||||
exit(1)
|
||||
|
||||
message.bytes += [0x05, named_args["w"], named_args["x"], named_args["h"], named_args["y"]]
|
||||
message.bytes += [0x05, named_args["x"], named_args["y"], named_args["w"], named_args["h"]]
|
||||
elif style == "inspect":
|
||||
message.bytes += [0x06]
|
||||
elif style == "sign":
|
||||
|
@ -168,7 +168,7 @@ CHARSET = {
|
||||
0x02: "[style=left]\n",
|
||||
0x03: "[style=center]\n",
|
||||
0x04: "[style=tattle]\n",
|
||||
0x05: {None: lambda d: (f"[style=choice x={d[1]} y={d[3]} w={d[0]} h={d[2]}]\n", 4)},
|
||||
0x05: {None: lambda d: (f"[style=choice x={d[0]} y={d[1]} w={d[2]} h={d[3]}]\n", 4)},
|
||||
0x06: "[style=inspect]\n",
|
||||
0x07: "[style=sign]\n",
|
||||
0x08: "[style=lamppost]\n",
|
||||
|
Loading…
Reference in New Issue
Block a user