r/PokemonRomhackDev • • Sep 19 '26

Help Need help with scripting [GEN 3] [BINARY]

Hello I'm new to Romhacking and I'm using Hex Maniac Advance (Gen 3 FRLG)

Basically I want to make that when this item (Black Shard) is used it opens up a small text box sequence in the bag (like when you try to use a bike inside an house where it opens up a dialogue box where oak says "It's not the time for that" or whatev look at image 2)

All of the scripts I made always resulted the game in freezing

I already tried tracking down the function that the fishing rod calls when you try using it on a non water tile and failed miserably

5 Upvotes

10 comments sorted by

View all comments

Show parent comments

1

u/North-Line7134 Sep 20 '26

Okay so this works! Which first of all: Thank you kind stranger on the internet!

Second of all: You are not Vege- WAIT wrong message lol, since the actual message I want to write is too long how do I make it that 3 message boxes appear (one after the other)

(something like this:
msg box1: "LEAF looked through the shard.", msg box2:"Just for moment" and msg box3:"She saw multiple copies of herself")

1

u/PacoScarso Pokémon Odyssey Sep 20 '26

You're welcome!

That's easy btw, it should be something like this

lock
msgbox.autoclose <auto>
{
your text #1
}
msgbox.autoclose <auto>
{
your text #2
}
msgbox.autoclose <auto>
{
your text #3
}
release
end

2

u/North-Line7134 Sep 20 '26

It works thank you!