NPCMovementScriptDex: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
Line 1: Line 1:
{{incomplete|1=Some scripts function differently depending on where the player is}}
{{incomplete|1=Some scripts function differently depending on where the player is}}
This is the '''NPCMovementScriptDex''' about glitch CC57 scripts. CC57 (both Red/Blue and Yellow) is wNPCMovementScriptPointerTableNum. This article lists various glitch effects by index number, as tested just outside of Red's house in Pallet Town.
This is the '''NPCMovementScriptDex''' about glitch CC57 scripts. CC57 (both Red/Blue and Yellow) is wNPCMovementScriptPointerTableNum. This article lists various glitch effects by index number.


Many of the "freezes" seem to be the common [[Game freeze#Bar freeze|bar freeze]] or "rst $38" freeze.
Many of the "freezes" seem to be the common [[Game freeze#Bar freeze|bar freeze]] or "rst $38" freeze.
Line 8: Line 8:
==In Red/Blue==
==In Red/Blue==
===Pallet Town===
===Pallet Town===
As tested just outside of Red's house in Pallet Town.

<pre>
<pre>
Red:
Red:
Line 146: Line 148:
*n: In Echo RAM copy of wMissableObjectList byte 8 (can be adjusted another means for permanence)
*n: In Echo RAM copy of wMissableObjectList byte 8 (can be adjusted another means for permanence)
</pre>
</pre>

===Pewter City===
As tested just in front of the Pokémon Center.

<pre>
00: Valid (player not being guided)/does nothing
01: Lock up controls for a while, then Fly away to Red's house 2F, then ACE (CD3F) if ret unknown opcode 0xD3 at 2:4E40 followed by a corrupted stop (10 07). If skipped over game may still freeze. If the player locks it during guidance it will cause them to walk off to the left.
02: Valid (Pewter Museum guide script) but otherwise may result in ACE (C43A)
03: Valid (Pewter Gym guide script) but may freeze the game otherwise
04: Freeze
05: Freeze
</pre>



==In Pokémon Yellow==
==In Pokémon Yellow==
===Pallet Town===
===Pallet Town===
As tested just outside of Red's house in Pallet Town.

<pre>
<pre>
00: No effect
00: No effect