Skip to content

Commit

Permalink
possibly fix warps on screen 05 getting replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
danielah05 committed Feb 23, 2022
1 parent 748db57 commit 95502bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mwl2bin-experimental.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
warpdata = obj_data[-4*int(warpamount):]
nowarpdata = obj_data[:-4*int(warpamount)]

warpdatapossiblefix = warpdata.replace(b"\x05", b"\x00") # replace 05 -> 00 to fix warp???
warpdatapossiblefix = warpdata.replace(b"\x05\x00", b"\x00\x00") # replace 05 00 -> 00 00 to fix warp???

reconstructedwarps = nowarpdata+warpdatapossiblefix

Expand Down

0 comments on commit 95502bd

Please sign in to comment.