Remote control Pikachu

From Glitch City Wiki
Revision as of 13:02, 9 February 2018 by >Torchickens (Created page with "'''Remote control Pikachu''' is a ws m (hex:63) code for {{Yellow}}, created by Torchickens (ChickasaurusGL). This program allows the user to control Pikach...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Remote control Pikachu is a ws m (hex:63) code for Pokémon Yellow, created by Torchickens (ChickasaurusGL).

This program allows the user to control Pikachu with the d-pad, provided the player is stuck in a wall in all four directions (or for the directions they wish to move Pikachu).

Steps

1. Trap yourself in the wall with Pikachu following you.

2. Use a method (such as TheZZAZZGlitch's memory editor, offgao's memory editor) to write the following bytes at a place in RAM.

AF FA 36 D4 B7 FA B3 FF D6 80 FE 01 38 02 30 09 3E 01 EA 36 D4 EA 37 D4 C9 FA
B3 FF D6 40 FE 01 38 02 30 0A 3E 02 EA 37 D4 3D EA 36 D4 C9 FA B3 FF D6 20 FE 
01 38 02 30 0B 3E 03 EA 37 D4 3E 01 EA 36 D4 C9 FA B3 FF D6 10 FE 01 38 02 30 
0B 3E 04 EA 37 D4 3E 01 EA 36 D4 C9 FA B3 FF D6 04 FE 01 38 02 30 04 AF EA F1 
C1 C9

3. Change D36D/D36E (map script pointer) to point to the little-endian (smaller byte first) address where you wrote your code. For example, if you wrote your code at DB7D the values would be 7D and DB.

How to move Pikachu

The up, down, left and right buttons will move Pikachu in that direction. If Pikachu is forced off the screen, pressing Select and then another direction will return Pikachu one step away from the player.

As of yet there is no support for scrolling the screen when Pikachu is moved off the screen.

This code reads from the joypad and manipulates three addresses; D436 (amount of steps Pikachu will take), D437 (direction Pikachu will move) and C1F1 (Pikachu's state on the map).

YouTube video

YouTube video by ChickasaurusGL