Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Emulation & ROM Hacking

Moving Event Lines/NPCs/Background - Page 1

Moving Event Lines/NPCs/Background

Posted by: agusganog
Date: 2009-03-01 15:05:17
I'm sure that there is an easier way to do this, but address D361 controls where NPCs, the background and events are triggered. For example, when you are one step away from moving into Route 1 from Pallet Town, this address has a value of 00. If we walk down from that position, the address begins to count up.

We can change this address to temporarily move everything on the screen BUT you. Adding 2 to the value in this address, for example, moves all NPCs 2 steps down from where they were and also moves the entrance to Route 1 two steps down.


I just started a new game, but I want to skip Oak. Go to this position:

Address D361 should have a value of 02 (because you are 3 steps away from the beginning of Route 1).

Next, I change D361 to 00. The beginning of Route 1 and Oaks event lines are moved 2 steps down. This places me in front of Oak's event and one step away from Route 1 (at this point, stepping down would trigger Oak's event).


Now walk into Route 1.

[size=3]Other applications:[/size]

Move the Old Man

Free the Zoo Animals

Re: Moving Event Lines/NPCs/Background

Posted by: Ashandmisty
Date: 2009-03-04 13:05:16
Nice finds! I will try it out.

Re: Moving Event Lines/NPCs/Background

Posted by: Zowayix
Date: 2009-03-04 17:07:56
Because I can, here's some screenshots of me stuffing around with the code (and mostly failing at it).
[IMG][/img] (At this point, I was completely stuck for some reason.)

Re: Moving Event Lines/NPCs/Background

Posted by: agusganog
Date: 2009-03-06 15:11:04
It takes a while to get used to, as collision data is moved as well.

Re: Moving Event Lines/NPCs/Background

Posted by: shaggs
Date: 2009-03-06 17:42:53


That's hella awesome I don't know why I think
that but it is.