- 3
- Posts
- 2
- Years
- Seen Apr 13, 2025
I'm working on my very first romhack after YEARS of thinking "I would love to do that, but it seems way too hard, so I doubt I'd ever be capable." I keep running into walls, figuring things out, and then BAM, I run into another wall and am stuck for days perusing this forum, some subreddits, and other websites. Anyway, I finally feel comfortable importing sprites without messing up other overworld sprites, so now I'm on to my first scripted event triggered by the player stepping on a specific tile on the map. I essentially want the player to be called over by an NPC, the player then walks over the the NPC and then there's much more to the scene than that, but I cannot even get past that first hurdle. Seems like something that should be fairly straight-forward, but I can't get it to work. I've found countless tutorials for scripting with XSE so I tried that first by compiling the code in XSE and then assigning it to the tile in Hexmaniacadvance. My player would step on the tile and just freeze. The text box never came up with the NPC calling the player over. I changed some code around to try to fix it, and then whatever I did messed it up even more and the player would just walk past the tile and it wouldn't trigger an event at all.
To the point, I really enjoy using Hexmaniacadvance as it seems like it just does everything and saves time from hopping between programs. I'm sure with enough time, I'll eventually figure it out and get it working, but my main question is, is there any type of guide on what the commands in hexmaniacadvance for scripting do. I would love to just write the script there, but the commands seem to be different than in XSE. Maybe not, but they seemed fairly different. When I've tried just copying and pasting code from XSE into the code box in HMA for the trigger tile, it gives me all kinds of notifications about not recognizing certain commands. Are there any guides out there on HMA scripting code?
To the point, I really enjoy using Hexmaniacadvance as it seems like it just does everything and saves time from hopping between programs. I'm sure with enough time, I'll eventually figure it out and get it working, but my main question is, is there any type of guide on what the commands in hexmaniacadvance for scripting do. I would love to just write the script there, but the commands seem to be different than in XSE. Maybe not, but they seemed fairly different. When I've tried just copying and pasting code from XSE into the code box in HMA for the trigger tile, it gives me all kinds of notifications about not recognizing certain commands. Are there any guides out there on HMA scripting code?