Battle Formation Event Command - Printable Version +- FF6 Hacking (https://www.ff6hacking.com/forums) +-- Forum: Hacks, Resources and Tutorials (https://www.ff6hacking.com/forums/forum-1.html) +--- Forum: Jidoor Auction House (https://www.ff6hacking.com/forums/forum-4.html) +---- Forum: Patches, Bugfixes, Tweaks (https://www.ff6hacking.com/forums/forum-15.html) +---- Thread: Battle Formation Event Command (/thread-3393.html) |
Battle Formation Event Command - madsiur - 12-21-2016 Battle Formation event command version 1.0 released on 12/21/2016 apply to headerless FF3us credit: Shall wiki entry Download This hack is inspired by the work of Shall on FF6-G (which ASM code is public) but his code has been adapted to FF3us and modified in order to behave exactly like command $4D and not like the original $C0A5A7 battle calling code, which resulted in weird behavior with the party position after a battle called with an event trigger. This event command fill a gap in FF3us by letting you call a battle directly with a formation. Normally as an example command $4D will call a pack with ID between $100 and $1FF, which can be somehow limited for extensive hacks with a lot of battles called this way. This command $69 behave in a identical way of command $4D, except instead of a pack number, a formation ID is provided. The format is the following: 69 AA BB CC Battle with formation BBAA with battle background CC CC AND $3F = Background ID, map default if CC equals $3F CC AND $80 = Disable battle blur CC AND $40 = No battle sound As an example, 69 22 01 12 will trigger a battle with formation $0122 with battle background $12, battle blur and battle sound. 69 22 01 3F would use the map default background and 69 22 01 FF the default background with no battle blur and no battle sound. As always, you need to provide the good event context after battle in order to see this fully working (same for command $4D). An example would be: Code: 69 22 01 12 ; Call battle If you want to move the command code elsewhere in bank $C0 or in another bank, you can assemble the ASM file you need with xkas 0.06. RE: Battle Formation Event Command - B-Run - 12-21-2016 Beautiful. |