Conditions

So I’m attempting to make an area event only trigger if it’s player phase, and it doesn’t seem to be working. I’ve made sure that the player phase condition is causing the issue, both by ensuring my unit was in the proper area to trigger it, and checking the other condition. Here’s my code:

RoseEnter2:
IFAT 0x08 0x7A2F1
IFET 0x04 0x71
LOU1 RosesSansGawain
ENIF 0x08
ELSE 0x05
ENIF 0x04
IFAT 0x09 0x7A2F1
LOU1 Roses
ENIF 0x05
ENIF 0x08
ENUN
ENDA

           Wat do?

it’s probably not causing the issue but you have two ENIF 0x08s and no ENIF 0x09

I’ve got a little trick where I do conditional like a pyramid. I think it makes it easier to understand.
Try this:

IFAT 0x08 0x7A2F1
        IFET 0x04 0x71
                LOU1 RosesSansGawain
        ELSE 0x05
        ENIF 0x04
                LOU1 Roses
        ENIF 0x05
ENIF 0x08
ENUN
ENDA

Correct me if I’m wrong, but you want these events to work only if the 0x7A2F1 routine returns true, and you want RosesSansGawan to load if 0x71 is used, but only Roses if not.
I’ve had ENIFs do weird things before. Definitely fix those regardless, and that might do it…