SM64 Enhanced Text Engine
#2
I have updated the text engine, with 2 bugfixes and 4 new cmds.
Code:
//47 translate origin, 4 bytes - 2 bytes x pos, 2 bytes y pos
//48 jump string, 4 bytes - ram address
//4C enable A press to increase text speed, 2 bytes - speed while holding A
//4D disable A press to jump to end of box
I have removed the 7A cmd [disable music] and have now just absorbed that into the 79 play music cmd. Simply choose track 0 to disable music.
The bugs I have fixed are with the 79 and 43 cmd. The 79 cmd bug was that the music was not replaying properly after the string ended. The 43 cmd bug was that if you used it mid string, it would not return to the proper location and would instead jump back several characters. both are fixed in the new file.

I have changed the address of the function you need to call to setup the string. This is now the address:
Code:
//sets up string
//80404fc4
//a0=x
//a1=y
//a2=*string
The other one remains the same:

Code:
//80405218
//enable dialog with this object
//a0=x
//a1=y
//a2=*string
//everything but this object and mario will freeze, when dialog ends, everything will unfreeze (aka a 7C or a 7B cmd)
The final feature is I have now set the keyboard up to auto import with the file. Just have keyboard.bin in the same folder as print string notes.

The HTML has not been updated with the new cmds yet, I will do that later Smile


Attached Files
.zip   text engine files.zip (Size: 12.08 KB / Downloads: 593)
Reply


Messages In This Thread
SM64 Enhanced Text Engine - by jesusyoshi54 - 07-27-2019, 12:29 PM
RE: SM64 Enhanced Text Engine - by jesusyoshi54 - 08-17-2019, 06:27 PM
RE: SM64 Enhanced Text Engine - by jesusyoshi54 - 08-20-2019, 11:14 PM
RE: SM64 Enhanced Text Engine - by jesusyoshi54 - 09-02-2019, 06:25 PM
RE: SM64 Enhanced Text Engine - by jesusyoshi54 - 09-22-2019, 08:13 PM



Users browsing this thread: 1 Guest(s)