Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ECCO LUA Script
- -- This calls the routine that shows a message on screen
- -- for a custom message see below.
- -- DO NOT run this script again until the current message finishes
- --
- -- **INFO**
- -- 0x5B88 - Second string list
- -- 0x61B6 - MAIN string list
- -- (free slots: 0x61C0 to 0x65BB)
- -- CALL ROUTINE:
- -- pc: 0x671F2 (or 0x671F4)
- -- id: d7 [byte]
- -- 0xFFA56B BACKGROUND COLOR (0-5)
- -- For making your own custom message: (HEX editing)
- -- Disable checksum - 000348:4E71
- -- Set new entry pointer - 006298:0000 00629A:62A0 | put your text string at 0x0062A0
- -- Then call it with this ID:
- -- MESSAGE_ID = 0x37
- --
- -- *string data special bytes*
- -- 0x0A next line
- -- 0x00 normal End-of-Text
- -- 0x0D stops and waits user to press A
- --
- -- Then call this script with this message id:
- --
- PC_CALLMSG = 0x671F2
- MESSAGE_ID = 0x01
- MESSAGE_COLOR = 0x00 -- from 0x00 to 0x05
- memory.setregister("d7",MESSAGE_ID)
- memory.writebyte(0xFFA56B,MESSAGE_COLOR)
- memory.setregister("pc",PC_CALLMSG)
Add Comment
Please, Sign In to add comment