Amusing ROMhacking Glitches Thread

Thanks, but I already fixed it.
The moral of this story is to avoid using replace all when writing an animation script

1 Like

Not entirely sure how this happened.

9 Likes

I swear 95% of things are better less saturated

2 Likes

So, I’ve found the weirdest of bugs.
I have this event with event ID 0x4 (which triggers AFEV 0x76, but it isn’t important here) that occurs when you engage any enemy in combat. I play my chapter normally, triggering the event, and nothing strange happens until a certain unit dies. Look, I have these two troubadours. The second one (lvl.11) is the one causing the problem.

  1. UNIT 0x99 0x4B 0x00 Level(12,Enemy,True) [1,12] 0x00 0x00 0x01 megarepo15 [0xA1] [0x00,0x12,0x02,0x00]
  2. UNIT 0x99 0x4B 0x00 Level(11,Enemy,True) [1,15] 0x00 0x00 0x01 megarepo16 [0xA1] [0x00,0x12,0x02,0x00]

It’s identical to the other one (barring the level) but the problem occurs if:

  • the second troubadour dies
  • you close and reopen your emulator
  • you move any unit on the map

In that case, the event associated with event ID 0x4 plays again, even if event 0x4 should be already triggered! I’ve closed/opened the ROM a hundred times, but it definitely happens only when that troubadour dies.

I’m confused.

I’m already trying to fix this with some workarounds, but… huh, it’s really weird.

Edit: Fixed. I had literally made a single-digit mistake in more than 3700 lines of code-- took 6 hours to hunt that down.

2 Likes

5 Likes

The hell is that cav doing over there

1 Like

Takin’ a break, probably visitin’ some family…

7 Likes

Now I kinda want to make the demon king appear on the world map
game over
Return of Ganon

6 Likes

Vacationer is the best class. No worries, no demon kings, no Grado.

That would actually be pretty cool

1 Like

uhh

Update
It recovered, sort of:

Update 2
Oh wait nope

14 Likes

That’s what you get for playing God! Have you never read Frankenstein?

7 Likes

Hidden rave mode unlocked

7 Likes

It’s a feature

3 Likes

holy shit i did it again
it has to do with having a TEXTCG when there isn’t a CG.
as in if you don’t have a CG to go along with the TEXTCG then map sprites will appear in the textbox
actually it has to do with using
[SetName] without a CG or a background behind it

12 Likes

It looks like they’re all running away from that giant dick on the right.

13 Likes

That dick on the right, probably

6 Likes

Cannot unsee

3 Likes

it’s… taped up?

1 Like

Kinky