I'm new here, and I'm hoping this is the right spot, but I'm trying to make a search code to search for data in Pokemon Black. PLEASE do not tell me to just use an emulator. Anyways, this is what I got so far: EDIT: (revised code) 94000130 FEFF0000 If R is pushed D5000000 00000000 Set Dx Data to 0 D3000000 02000000 Set offset to 0x2000000 C0000000 00100000 Start a loop for 0x100000 times 023FE254 E5933000 Allow If type 6 to use offsets 60000000 45585048 If 32bit word at offset does not equal "HPXE" D4000000 00000004 Add 4 to Dx Data DC000000 00000004 Add 4 to offset D0000000 00000000 End If D1000000 00000000 Loop End D6000000 0223CDAC Write Dx Data to 0x223CDAC (player money) D2000000 00000000 End If What I'm trying to do, is have it search for HPXE in the ram (its at adress 0x2000020) Each time it doesnt find it, it should move forward 4 bytes, and read those 4 bytes When I run this, The game hangs for a few seconds, and then returns to normal gameplay. This gives me a money value of 0, meaning I messed up somewhere. anyone got any Idea?