Jump to content

NPCMovementScriptDex: Difference between revisions

m
No edit summary
 
(22 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 131 ⟶ 140:
7E: Unknown/seemingly nothing happens
7F: Freeze
80: Unknown/seemingly nothing happens
80-FF (seem to be same as 00-7F):
81-FF (seem to be same as 01-7F)
DD: ACE (F5D5) [*n]
 
Line 137 ⟶ 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:
15: ACE (FA86) [*1]
 
===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
04: 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
02: Freeze
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.
06: Unknown/seemingly nothing happens
07: Freeze
08: VRAM execution (froze at unknown opcode at 8CFA)
09: ACE (FA47)
0A: Freeze
0B: Freeze
0C: Unknown/seemingly nothing happens
0D: Freeze (00 90 3E 80 corruption pattern)
0E: Freeze
0F: Locks up controls, hides NPC sprites, corrupts audio for a while, then freezes
10: Seems to corrupt the map 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
13: Play raw audio (similar to Pikachu cry) then ACE (D7E1). If ret, still a freeze
14: Unknown/seemingly nothing happens
15: ACE (FA86) [*1]
16: Seems to corrupt map blocks like 05, 10
17: Seems to corrupt map blocks like 05, 10, 16
18: Freeze (00 90 3E 80 corruption pattern)
19: Freeze
1A: Freeze
1B: Seems to corrupt map blocks like 05, 10, 16, 17
1C: Freeze
1D: Freeze
1E: Freeze
1F: Freeze
20: Freeze
21: ACE (CD1C)
22: ACE (CD3E)
23: Freeze
24: Walking lag glitch
25: Freeze
26: ACE (F606)
27: ACE (CD3E)
28: Freeze
29: Walking lag glitch
2A: Freeze
2B: Unknown/seemingly nothing happens
2C: ACE (D731)
2D: ACE (F606)
2E: ACE (CD78)
2F: Unknown/seemingly nothing happens
30: Freeze
31: ACE (CC3D)
32: ACE (CF1A)
33: Freeze
34: ACE (E5C4)
35: Freeze
36: Unknown opcode 0xE4 at 33CD. If skipped seemingly nothing happens.
37: Freeze
38: ACE (FA22)
39: Freeze
3A: ACE (C0F0)
3B: Freeze
3C: ACE (EFEA)
3D: Freeze
3E: Lock up controls for a while, then display the message that the Safari Zone game is over. May proceed to run ACE (CD15). If ret, player steps down spinning and warps but loops down the screen seemingly infinitely
3F: Freeze
40: Freeze
41: ACE (F002)
42: ACE (EA7C)
43: See 3E
44: ACE (CDD0)
45: Unknown opcode 0xD3 at 284C. If skipped over (i.e. like on Virtual Console) may display invisible text box and Start menu, and freeze game if press A or B.
46: Freeze
47: Lock moving, invisible text box and Start menu, freeze game if press A or B.
48: Walking lag glitch
49: ACE (EA0C)
4A: Unknown/seemingly nothing happens
4B: Freeze
4C: ACE (F5D5)
4D: Freeze (3E D2 corruption pattern)
4E: Freeze
4F: Freeze
50: Freeze
51: Freeze
52: Invisible text box and Start menu, if press A or B, heavily corrupt screen and freeze game.
53: ACE (C8A7)
54: Freeze
55: ACE (F5D5)
56: Unknown/seemingly nothing happens
57: In Red's house 1F flower tiles appear on the benches. They don't animate.
58: Freeze
59: ACE (F5D5)
5A: Freeze
5B: See 57
5C: Freeze
5D: ACE (F5D5)
5E: ACE (C93E)
5F: Freeze
60: ACE (F5D5)
61: Freeze
62: Freeze
63: ACE (FA86)
64: Seems to corrupt map 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
67: Lock up controls with invisible menu and Start menu (lock up but strictly not a freeze?)
68: Freeze (00 27 39 90 3E 80 corruption pattern)
69: Walk down on the spot and constantly corrupt the screen. When done from outside of Red's house 1F may enter it (negating the Red moves down the screen and loops effect later). Eventually get Safari Zone game over message, where the effect repeats, but strange warps happen. Game eventually freezes or loop down screen effect returns. Very fun but not sure if can be manipulated to avoid a freeze.
6A: Freeze
6B: See 67
6C: Freeze
6D: Freeze
6E: ACE (CDAF)
6F: ACE (C322)
70: Freeze
71: Bring up invisible text box with Start menu open and lock moving. If press A, get invisible Yes/No prompt. All options (Yes, No, B press) may result in a freeze. Can reload the save file and seemingly nothing happens (if not corrupted)
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 map blocks like 05, 10, 16, 17, 1B, 64
75: Freeze
76: ACE (D35D)
77: Partially soft reset game but the CC57 script is retained, resulting in a soft reset loop until the player waits on the title screen for that soft reset.
78: VRAM execution (froze at invalid opcode at 8498)
79: Invalid opcode 0xD3 at 0:48E0. If skipped over seemingly nothing happens.
7A: Walking lag glitch and eventual freeze
7B: Invalid opcode 0xD3 at 0600. If skipped over, ACE (D1D1) but freeze.
7C: ACE (D211)
7D: Freeze
7E: Freeze
7F: Freeze
80: ACE (D0B4)
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.