diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-22 02:27:57 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-22 02:27:57 -0500 |
commit | 57dc8c4fd0b14e4cca190061c47993e1231a931d (patch) | |
tree | 8fda99b52c7883b21082b8d211586c87e1b9dd6c | |
parent | 3e0a674817cd4345c9b20d910ee81db406717234 (diff) |
add more defaults to setup_wram for testing
This is sorta absurd, it should just load these values by parsing
wram.asm on its own.
-rw-r--r-- | tests/test_vba.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_vba.py b/tests/test_vba.py index e9ff73c..5098a7d 100644 --- a/tests/test_vba.py +++ b/tests/test_vba.py @@ -20,11 +20,19 @@ def setup_wram(): Loads up some default addresses. Should eventually be replaced with the actual wram parser. """ + # TODO: this should just be parsed straight out of wram.asm wram = {} wram["PlayerDirection"] = 0xd4de wram["PlayerAction"] = 0xd4e1 wram["MapX"] = 0xd4e6 wram["MapY"] = 0xd4e7 + + wram["WarpNumber"] = 0xdcb4 + wram["MapGroup"] = 0xdcb5 + wram["MapNumber"] = 0xdcb6 + wram["YCoord"] = 0xdcb7 + wram["XCoord"] = 0xdcb8 + return wram def bootstrap(): |