Hexadecimal code doesn't match with Invoke Battle?
#1
I'm trying to have a specific monster appear when you kick the treasure chest in the imperial camp.
Event CB/0DFB tells me it invokes a battle with a certain enemy formation. I took the formation with the desired enemy, turned it to hexadecimal and replaced in CB/0DFB 4D 2A 02 with formation nº 43, to CB/0DFB 4D 2B 02 but instead of getting me formation 43, it gives me formation 67.

So I checked what formation 2A gives me and it turns out it's 66, not 42 which would be the decimal translation. I tried searching for 2A - 12 (hexadecimal), 14, and I get another different formation! What's going on here?
Step forward, spriters! We are also responsible to make hacks look new and fresh, we are no less important than code or ASM hackers! CHARGE!!
Reply
#2
Even though the event commands list doesn't mention anything special for that commamd other than removing swoosh and transition, then a flag for battle background.

It almost sounds like its either calculating the value based off something, or its using that value to choose one of the local formations (that really doesn't sound right but).

I would try a few consecutive values, starting with the vanilla formation, write them all down and look for some sort of pattern. Then go from there.

Without a better answer, go with the most simple basic test first.
The only true wisdom is knowing you know nothing.
Reply
#3
Command 4D summons a pack, not a formation. Index 0 is pack 256. So 4D 00 XX summons the lobo in Narshe school.
Reply
#4
Oohh, of course! How did I not think of that before? xD
I actually had a feeling it might be packs instead, but my silly little mind thought "That can't be, how else would it summon a specific monster?" ...yeah I'm a dumbass. Thanks!
Step forward, spriters! We are also responsible to make hacks look new and fresh, we are no less important than code or ASM hackers! CHARGE!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Invoke Game Saving Screen Event Command Morendo 1 1,776 09-05-2020, 10:29 PM
Last Post: C-Dude
  Fight continue with a new invoke battle doofenH 3 3,404 01-06-2020, 07:41 PM
Last Post: PowerPanda
Dark Knight FF6 SNES vs GBA code differences? Royaken 2 2,586 11-01-2019, 07:32 PM
Last Post: Royaken
  Newbie Still Doesn't Understand Code Turbotastic 22 20,872 08-09-2017, 10:05 AM
Last Post: Turbotastic
  asm hacking: "faking" short jumps from your code (in a new bank) to old code Eggers 2 3,908 04-16-2016, 07:18 PM
Last Post: madsiur
  Magic Control Code sleepydude 16 14,313 09-19-2015, 02:41 PM
Last Post: Tenkarider
  Sprite Armor Code Royaken 2 3,577 05-30-2015, 11:26 AM
Last Post: Catone
  HELP:Invoke Enemy Code event ShinMrKarate 2 3,419 10-03-2014, 04:28 PM
Last Post: madsiur

Forum Jump:


Users browsing this thread: 1 Guest(s)