Day&Night Cycle ASM (FE7)

If you are using in FE8, there is a patch I made.
However, there is only add one palette that can be changed.
This means that you can create a production like switching between day and night.
My version uses Flag0x28 to switch to background like music2 with Flag4.

Add Event: Switch Map Palette (Byte 0x92/146)

If you want to switch more than one (N) of them, you can create a table, but .
Zeta, as implemented, You can also do it in the way of adding to TrapData,
I think it’s more versatile and better.

//Similarly, I’m wondering if MapBGM could be stored in TrapData, so that we can switch the background music more dynamically.

One way you can do this in vanilla is to use the LOMA instruction.
TLP’s “Ch. 26: The Battle of Kin” uses this method to switch maps.
If it is a normal hack, map area is extra, so I think there is no problem with this method.

2 Likes