Users browsing this thread: 1 Guest(s)
load npc into battle asm help

#6
Posts: 3,971
Threads: 279
Thanks Received: 238
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(12-09-2013, 01:28 AM)Gi Nattak Wrote: Ah I forgot to say that I am/I was going to expand the sprite sheet to full via Edrin's tutorial, and then hopefully that would also take care of it spilling over into other sprites data...?

I think it will be only good if the previous sprites IDs have full sprite sheets. As an example, if your NPC is #23 you would need full spritesheet from #0 to #22.

The reason why is because the battle sprite ID in $2EAE,X don't use the NPC pointer table that is use to load NPCs GFX. In fact I didn't find any pointer table for battle sprites, hence my assumption that the game calculate the offset of the sprite by multiplying the size of a full spritesheet by the sprite ID.
  Find
Quote  



Messages In This Thread
load npc into battle asm help - by Gi Nattak - 12-08-2013, 04:08 PM
RE: load npc into battle asm help - by madsiur - 12-08-2013, 05:17 PM
RE: load npc into battle asm help - by madsiur - 12-08-2013, 10:54 PM
RE: load npc into battle asm help - by Gi Nattak - 12-09-2013, 01:28 AM
RE: load npc into battle asm help - by SSJ Rick - 12-09-2013, 02:49 AM
RE: load npc into battle asm help - by madsiur - 12-09-2013, 04:46 AM
RE: load npc into battle asm help - by HatZen08 - 12-09-2013, 11:39 AM
RE: load npc into battle asm help - by madsiur - 12-09-2013, 01:24 PM
RE: load npc into battle asm help - by B-Run - 12-09-2013, 06:46 PM
RE: load npc into battle asm help - by Gi Nattak - 12-10-2013, 01:06 AM
RE: load npc into battle asm help - by Gi Nattak - 01-10-2014, 03:30 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite