Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old July 3rd, 2017 (5:59 AM).
Nisarg's Avatar
Nisarg Nisarg is offline
     
    Join Date: Jan 2017
    Gender: Male
    Posts: 201
    Ohk, so lemme clear it out what it is actually.
    You may have noted that some specific tiles run scripts without having a green script tile or any sort of event there in Amap, For instance, Pokemon Centre's PC, Stack of books, T.V. in Player's house etc.
    Without a further ado, lets get into it!

    1)
    Paste the provided HexTable in an 4-aligned free space.
    2)
    Goto 0x6D1F0 and place there;
    Quote:
    09 06 88 0D 01 49 40 18 00 68 F7 46 XX XX XX 08
    here, XXXXXX is pointer to the HexTable with Endian Format (Reverse).
    NOTE: Don't add +1 in the pointer.

    The table consists of 256 entries with 4 bytes each, which are pointers to the script that will be executed on interaction.
    To find a specific behavior pointer offset; use the following Formula:
    Quote:
    (BehaviorByte*4)+HexTableLocation
    (In Hex),
    For example; I wanna use BehaviorByte 0xAF, so 0xAF*4=0x2BC, then suppose I placed the HexTable at 0x990000, so I'll do 0x990000+0x2BC=0x9902BC.

    Place pointer to ur script or Asm there and then u can assign that Behavior Byte to a tile so that it runs the corresponding Script/Routine.

    P.S. > U can use Behavior Bytes from 0xA4-0xCF and 0xD2-0xFF safely as they r unused in a vanilla FR rom.

    HexTable:
    Spoiler:
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 76 1A 08 0F 76 1A 08 55 69 1A 08 00 00 00 00 32 6C 1A 08 4E 76 1A 08 E7 76 1A 08 DE 76 1A 08 57 76 1A 08 60 76 1A 08 69 76 1A 08 72 76 1A 08 D8 BF 1B 08 A7 B8 1B 08 02 77 1A 08 18 76 1A 08 F0 76 1A 08 F9 76 1A 08 3C 76 1A 08 7B 76 1A 08 84 76 1A 08 8D 76 1A 08 2A 76 1A 08 96 76 1A 08 9F 76 1A 08 A8 76 1A 08 B1 76 1A 08 00 00 00 00 00 00 00 00 CC 76 1A 08 D5 76 1A 08 33 76 1A 08 21 76 1A 08 45 76 1A 08 9C 54 1C 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


    Sorry, .hex format ain't allowed to upload.
    __________________
    Reply With Quote

    Relevant Advertising!

    Reply

    Quick Reply

    Join the conversation!

    Create an account to post a reply in this thread, participate in other discussions, and more!

    Create a PokéCommunity Account

    Sponsored Links
    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -8. The time now is 1:50 AM.