Users browsing this thread: 1 Guest(s)
Barubary NPC Sprite Request

#13
Posts: 161
Threads: 14
Thanks Received: 4
Thanks Given: 0
Joined: Sep 2010
Reputation: 5
Status
None
Ah ok I have several theories, but I think the first one is the issue.
Ok this is something I have kind of forgotten. But as you noted, every event square checks to see if a bit corresponding to it has been set. If it has, it executes the events following. If not, it ignores it.
So what I need to know, is the event sqaure your editing and then I'll find the commands to set the event bit in a hex editor. The main reason I need to look it up is b/c everything (especially numbers) are different in a hex editor than the event dump.
So once you find that, we'll need to find either a live scene in your game or make an NPC that sets that event bit so that whenever you step on the event square, it sees that it has been set, and then executes what comes up next.
What surprises me is that you said it actually did execute the text. Normally, that shouldn't have happened at all, so I'll give my second theory just to tinker with.

Whenever the event square says branch to CA5EB3, it's actually referring to a variable that just tells the event square to "return" at the end. Luckily, you don't have to study the variable. Just know the command for it - $FE.
Now what your saying is it's repeating?
This can be caused by multiple reasons, so we'll have to eliminate a good bit.
Anyways, this is what I propose:
After all the "If" statements in your hex editor, place an $FD all the way to the $FE. Actually, overwrite the $FE with an $FD. Use that last $FD as your flag to know when to not go over.
Anywways, go out and write this:

42, 10, 45, 4B, 00, 00, FE

I made this fairly simple. It says hide object 10 and then display dialogue message $00, and the $00 is the flag that tells the game to make it just a normal text box at the top of the screen. Then an $FE.
Now, depending on the length of the event square, you may have some more $FD's ahead of the FE. Just ignore them :p
Now concerning those Guardian event bits...hmm I'm not too sure if those are linked to that event square. I know that event bits aren't hardcoded to specific event squares but by what your saying, it should work...might need to look into this one myself.
Now test out the game, and if the same problem persists, then the first theory is more than likely the issue.
If all else fails, we can go to SlickProductions and see if Leno has any ideas.
But lets try to eliminate all possible variables.

P.S.
Concerning my last post, I'm just wanting to make sure you understand what I'm going for - like the instant the player enters the $0DF map, that event square right where there teleported to will execute an event square that "hides" the NPC a couple 5 more tiles ahead. Then once they walk up and step on the second event square, he'll appear and attak.
Lol I'm sure you did understand it all, just like to know ha I'm paranoid.


[Image: funnysiga.jpg]

MY YOUTUBE CHANNEL Laugh
http://www.youtube.com/user/xJCSx1
  Find
 



Messages In This Thread
Barubary NPC Sprite Request - by Angelo26 - 01-21-2011, 01:41 AM
RE: Barubary NPC Sprite Request - by SSJ Rick - 01-21-2011, 06:00 AM
RE: Barubary NPC Sprite Request - by Angelo26 - 01-21-2011, 10:20 AM
RE: Barubary NPC Sprite Request - by SSJ Rick - 01-21-2011, 04:19 PM
RE: Barubary NPC Sprite Request - by xJCSx - 01-21-2011, 04:39 PM
RE: Barubary NPC Sprite Request - by Gi Nattak - 01-21-2011, 04:43 PM
RE: Barubary NPC Sprite Request - by Angelo26 - 01-21-2011, 07:29 PM
RE: Barubary NPC Sprite Request - by xJCSx - 01-21-2011, 04:52 PM
RE: Barubary NPC Sprite Request - by xJCSx - 01-21-2011, 08:24 PM
RE: Barubary NPC Sprite Request - by Angelo26 - 01-21-2011, 08:46 PM
RE: Barubary NPC Sprite Request - by xJCSx - 01-21-2011, 11:32 PM
RE: Barubary NPC Sprite Request - by Angelo26 - 01-23-2011, 02:09 AM
RE: Barubary NPC Sprite Request - by xJCSx - 01-23-2011, 11:13 AM
RE: Barubary NPC Sprite Request - by Angelo26 - 01-23-2011, 12:02 PM
RE: Barubary NPC Sprite Request - by xJCSx - 01-24-2011, 12:01 AM
RE: Barubary NPC Sprite Request - by Angelo26 - 01-24-2011, 07:33 PM
RE: Barubary NPC Sprite Request - by xJCSx - 01-25-2011, 08:23 PM
RE: Barubary NPC Sprite Request - by Angelo26 - 01-26-2011, 08:59 PM
RE: Barubary NPC Sprite Request - by xJCSx - 01-27-2011, 06:47 PM
RE: Barubary NPC Sprite Request - by Angelo26 - 02-03-2011, 11:19 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite