Thread: FireRed hack: Pokemon Jasper Version
View Single Post
  #57    
Old September 11th, 2012, 09:43 PM
miksy91's Avatar
miksy91
A GB/C Rom Hacker since 2010
 
Join Date: Oct 2008
Location: A small country in the North
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by shinyabsol1 View Post
The dive script works by warping. It takes the player's X/Y coordinates, and warps them to that location on an underwater map (sounds simple, but there is a ton of other stuff that goes into getting it to work properly).
Really nice script but I'd also like to know something more about it

So how are you going to implement "being able to return," ? Will each position you can "surf on" lead to a water block in "upper world" when used Dive to return? First I got the idea that you're going to compare your current (x,y) location to some list values for being able to use Dive. That wouldn't have been a great idea at all...

Also, "warp-to-points" during warps can't be determined as ram addresses, right? They're just [Map Number (2 bytes)] [X location] [Y location]. So how did you manage it to load the current (x,y) value as part of the warp-script? Assembly? Or a trigger event on each position in the "upper world" map where you can use Dive? That wouldn't explain the way how using Dive in the underworld map (practically) could be implemented though.
__________________
My Rom Hack



Hacks I support





Learn how to hack GB/C games:

Check my GameBoy/Color hacking videos in Youtube
-The video set uses Pokemon Silver (U) rom for demonstrations