Trying to understand subroutines
#10
Okay, 3F/F000. Got it, I think. How would the B2 command go? B2 00 F0 ?? FE? I'm not sure how to translate 3F.

EDIT: Just rewatched Madsiur's tutorial, FF-CA=35, right? So B2 00 F0 35 FE?

EDIT2: OHMYGOD OHMYGOD OHMYGOD IT WOOOORKEDDDD

Double post oooo

Okay, finished polishing my event. Now, there's only one issue. At the phantom train departing scene, you wait for the timer to run out and then you go back to the world map. Instead of this, I want that to happen when you talk to Cyan after the event plays. What I did was call a subroutine, which worked (the event played after talking to Cyan), but after the event the screen freezes. I tried to move the code at CB/BEA3 at the end of the subroutine with the rest of the event code. But I guess that because it returns to the end of the event back at CB/BE9B it gets stuck or something. I assume there's no way of telling the game "Go here and stay there, don't return"? Or maybe that's not the solution. I'm not sure. Help pls?
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


Messages In This Thread
Trying to understand subroutines - by Kugawattan - 12-07-2015, 11:50 PM
RE: Trying to understand subroutines - by madsiur - 12-08-2015, 12:31 AM
RE: Trying to understand subroutines - by Catone - 12-08-2015, 07:26 AM
RE: Trying to understand subroutines - by Catone - 12-08-2015, 09:22 AM
RE: Trying to understand subroutines - by Catone - 12-08-2015, 10:33 AM
RE: Trying to understand subroutines - by Kugawattan - 12-08-2015, 11:27 AM
RE: Trying to understand subroutines - by Catone - 12-08-2015, 01:39 PM
RE: Trying to understand subroutines - by Catone - 12-08-2015, 02:47 PM
RE: Trying to understand subroutines - by Catone - 12-08-2015, 03:58 PM
RE: Trying to understand subroutines - by Catone - 12-08-2015, 07:15 PM
RE: Trying to understand subroutines - by madsiur - 12-08-2015, 07:23 PM
RE: Trying to understand subroutines - by Catone - 12-08-2015, 09:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Newbie Still Doesn't Understand Code Turbotastic 22 20,874 08-09-2017, 10:05 AM
Last Post: Turbotastic

Forum Jump:


Users browsing this thread: 1 Guest(s)