Thread: [Script✓] Pewter Guidepost Man Issue
View Single Post
Old May 18th, 2017 (9:49 AM).
tkim tkim is offline
    Join Date: May 2011
    Posts: 218
    Originally Posted by KrustyKong View Post
    I'm trying to edit the paths the boy in Pewter that shows you to the Gym walks. I got the first part of the script done fine but this part is giving me some hell #org 0x165F71. When I enter the commands and compile, the commands change. I'm trying to put in these:
    #raw 0x10
    #raw 0x12
    #raw 0x10
    #raw 0x30
    #raw 0x28

    but it ends up as these:
    #raw 0x10 'Step Down (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x25 'Step on the Spot Down (Faster)
    It's because you're overwriting the bytes and your entry is longer than what that offset holds. raw bytes are actually the bytes shown when you open the ROM with a hex editor and go to the offset. these movement byte entries always end with 0xFE. You'll have to use another offset or do a search in the hex editor, the bytes you want to use and if you can find it, just repoint the offset to the found location.
    Reply With Quote