Jump to content

NPCMovementScriptDex: Difference between revisions

m
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1:
{{incomplete|1=Some scripts function differently depending on where the player is}}
CC57 (both Red/Blue and Yellow) is wNPCMovementScriptPointerTableNum:
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.
 
CC57 scripts will typically disable talking to NPCs or entering battle.
 
==In Red/Blue==
===Pallet Town===
As tested just outside of Red's house in Pallet Town.
 
<pre>
Red:
00: No effect. If locked when the guidance is supposed to happen the guide music will play but Professor Oak won't move (nor can the player).
00: No effect
01: The valid behavior is responsible for Professor Oak guiding the player to his laboratory. Otherwise Fly away and freeze
01: Fly away and freeze
02: If locked on Professor Oak guidance the guide music will play but Professor Oak won't move. Otherwise ACE (C43A)
02: ACE (C43A)
03: If locked on Professor Oak guidance the guide music will play but Professor Oak won't move. Otherwise freeze
03: Freeze
04: Execute VRAM
05: Freeze
Line 55 ⟶ 64:
32: Freeze
33: ACE (EAD1)
34: [[Invalid opcode]] freeze (0xE3 at D:5177)/Freeze? (VC)
35: Freeze
36: ACE (E678)
Line 138 ⟶ 147:
*2: PC item 27
*n: In Echo RAM copy of wMissableObjectList byte 8 (can be adjusted another means for permanence)
</pre>
 
PalletMovementScriptPointerTable is at 06:6442
Yellow:
 
===Pewter City===
As tested just in front of the Pokémon Center.
 
<pre>
00: Valid (player not being guided)/does nothing
01: If the player locks it during guidance it will cause the guide to walk off to the left. Otherwise, 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.
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
0304: Freeze
05: Freeze
</pre>
 
 
PewterMuseumGuyMovementScriptPointerTable is at 06:6510
 
PewterGymGuyMovementScriptPointerTable is at 06:657D
 
==In Pokémon Yellow==
===Pallet Town===
As tested just outside of Red's house in Pallet Town.
 
<pre>
00: No effect
01: Unknown/seemingly nothing happens
Line 145 ⟶ 178:
03: ACE (D0B2)
04: VRAM execution (froze at unknown opcode at 8CFA)
05: Seems to corrupt the map blocks to some not normally available blocks when the menu is open. The first two sub-tiles on the top-left block are sourced from B:4602 and B:4603 for block 00 (continues up to B:55F2 for block FF) (might be in between B:45BD DittoPicBack and 0B:4609 MeowthPicFront), because these are written to C50A onward (near C508 wAnimatedObjectsData), which is then written to C3A0 (top-left sub-tile), similarly [B:4603(+)([D35E]*10] is written to C50B, which is then written to C3A1 (second sub-tile from the top-left) and so on. It is exploitable for a practical use, but redundant for just using a regular Mew LG. Block 0x4B has a 0x15 sub-tile (Mew) in alignment for LOL glitch. Block 0x39 also contains a 0x50 sub-tile.
05: Seems to corrupt the tileset
06: Unknown/seemingly nothing happens
07: Freeze
Line 156 ⟶ 189:
0E: Freeze
0F: Locks up controls, hides NPC sprites, corrupts audio for a while, then freezes
10: Seems to corrupt the tilesetmap blocks similar to 05
11: Freeze
12: Locks player, invisible text box with Start menu open, pressing A or B freezes the game, other buttons seemingly do nothing
Line 162 ⟶ 195:
14: Unknown/seemingly nothing happens
15: ACE (FA86) [*1]
16: Seems to corrupt tilesetmap blocks like 05, 10
17: Seems to corrupt tilesetmap blocks like 05, 10, 16
18: Freeze (00 90 3E 80 corruption pattern)
19: Freeze
1A: Freeze
1B: Seems to corrupt tilesetmap blocks like 05, 10, 16, 17
1C: Freeze
1D: Freeze
Line 240 ⟶ 273:
62: Freeze
63: ACE (FA86)
64: Seems to corrupt tilesetmap blocks like 05, 10, 16, 17, 1B
65: This behavior is a little like 3E but more events happen; after short while player warps to Saffron City, then Sea Route 19, then a Route 2 gate (0x2F), then the player does a warping animation and rises up the screen looping around seemingly infinitely (similar to the moving down seemingly infinitely in 3E)
66: Freeze
Line 256 ⟶ 289:
72: Walking lag glitch and eventual freeze
73: Brings up invisible text box with Start menu open. Pressing A/B results in unknown opcode 0xE3 at A:78DC. If skipped over, freeze.
74: Seems to corrupt tilesetmap blocks like 05, 10, 16, 17, 1B, 64
75: Freeze
76: ACE (D35D)
Line 271 ⟶ 304:
81-FF: Same as 01-FF?
*1: In stored Pokémon data (Pokémon 6)
</pre>
 
PalletMovementScriptPointerTable is at 06:654C
 
===Pewter City===
 
<pre>
00: Disable guided movement/No effect
01: Causes guide to walk off to the left/Seemingly nothing happens
02: Pewter Museum guide/Game freeze
03: Pewter Gym guide/Game freeze
04: VRAM execution, encountered an invalid opcode at 8CFA
</pre>
 
PewterMuseumGuyMovementScriptPointerTable is at 06:6622
 
PewterGymGuyMovementScriptPointerTable is at 06:6685
 
[[Category:Databases]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.