Users browsing this thread: 1 Guest(s)
Hexadecimal code doesn't match with Invoke Battle?

#1
Posts: 378
Threads: 94
Thanks Received: 17
Thanks Given: 26
Joined: Jul 2013
Reputation: 11
Status
Charmed
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!!
Quote  

#2
Posts: 676
Threads: 44
Thanks Received: 26
Thanks Given: 21
Joined: Jan 2015
Reputation: 11
Status
Zombie
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.
  Find
Quote  

#3
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
Command 4D summons a pack, not a formation. Index 0 is pack 256. So 4D 00 XX summons the lobo in Narshe school.
  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • Kugawattan (12-06-2015)

#4
Posts: 378
Threads: 94
Thanks Received: 17
Thanks Given: 26
Joined: Jul 2013
Reputation: 11
Status
Charmed
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!!
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite