- 7
- Posts
- 5
- Years
- Seen Mar 15, 2020
I'm very new to ROM Hacks. Just started a couple days ago. Using LeafGreen.
All of my Person Event Scripts work really great.
But none of my Script Event tiles work. In the starting town I made, I have a Script Tile (Green S tile) that should activate when stepped on, if I understand scripts correctly.
However, nothing happens when I step on this tile.
My script had a bit more in it, but I took a lot out to make it as simple as possible, and still nothing happens.
When I compiled the script in XSE, I got an offset of 8001CB. So for the Script Event, the Script Offset field says $8001CB.
For the Variable Number, I used 4100. The Var Value is set at 0000.
There is probably some fundamental step I'm missing, but I really can't figure this one out. Any help is appreciated.
Script included below.
'----------------------------------------------------
#dynamic 0x800000
#org @start
lock
msgbox @t1 0x6
setvar 0x4100 0x1
release
end
#org @t1
= Hey you! You're finally awake!!
All of my Person Event Scripts work really great.
But none of my Script Event tiles work. In the starting town I made, I have a Script Tile (Green S tile) that should activate when stepped on, if I understand scripts correctly.
However, nothing happens when I step on this tile.
My script had a bit more in it, but I took a lot out to make it as simple as possible, and still nothing happens.
When I compiled the script in XSE, I got an offset of 8001CB. So for the Script Event, the Script Offset field says $8001CB.
For the Variable Number, I used 4100. The Var Value is set at 0000.
There is probably some fundamental step I'm missing, but I really can't figure this one out. Any help is appreciated.
Script included below.
'----------------------------------------------------
#dynamic 0x800000
#org @start
lock
msgbox @t1 0x6
setvar 0x4100 0x1
release
end
#org @t1
= Hey you! You're finally awake!!