mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-04-22 00:17:13 -05:00
Merge 7d6b97fb2b into 5e0715f257
This commit is contained in:
commit
6b9ae7817e
|
|
@ -1577,7 +1577,7 @@ def create_movement_commands(debug=False):
|
|||
if type(cmd) == str:
|
||||
cmd = [cmd]
|
||||
cmd_name = cmd[0].replace(" ", "_")
|
||||
params = {"id": byte, "size": 1, "end": byte is 0x47, "macro_name": cmd_name}
|
||||
params = {"id": byte, "size": 1, "end": byte == 0x47, "macro_name": cmd_name}
|
||||
params["param_types"] = {}
|
||||
if len(cmd) > 1:
|
||||
param_types = cmd[1:]
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
#author: Bryan Bishop <kanzure@gmail.com>
|
||||
#date: 2012-01-02
|
||||
#url: http://hax.iimarck.us/files/rbheaders.txt
|
||||
from __future__ import print_function
|
||||
import json
|
||||
import os
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
#parse hex values as base 16 (see calculate_pointer)
|
||||
base = 16
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user