ROM Hack Pokémon Black/White L=A hack ?

someonewhodied

Lazy Person
Member
Joined
Sep 21, 2008
Messages
871
Trophies
0
Age
26
XP
938
Country
United States
I just had a genius idea.

94000130 FDFF0000
04000130 FFFE0000
D0000000 00000000

Try this. L=A
If my theory is correct, this should work for any game.
 

Prof. 9

Well-Known Member
Member
Joined
Jun 17, 2008
Messages
324
Trophies
0
Location
The Netherlands
Website
twitter.com
XP
677
Country
Netherlands
someonewhodied said:
I just had a genius idea.

94000130 FDFF0000
04000130 FFFE0000
D0000000 00000000

Try this. L=A
If my theory is correct, this should work for any game.
There's three problems with your code. 1, 04000130 is a read-only address; you can't write to it. 2, you're modifying it as a value, but 04000130 is a bitfield. 3, 04000130 is 16-bit so you shouldn't write to it using code type 0. Did you even test this before posting it?

TC: try this (only works on the overworld):

Black (U)
::L=A
52193290 42082103
0219329C BD380203
12193290 00004902
D2000000 00000000
5218A5A8 42082101
1218A5A8 0000494D
0218A6E0 BDF80203
D2000000 00000000

White (U)
::L=A
52193270 42082103
0219327C BD380203
12193270 00004902
D2000000 00000000
5218A5C8 42082101
1218A5C8 0000494D
0218A700 BDF80203
D2000000 00000000
 

someonewhodied

Lazy Person
Member
Joined
Sep 21, 2008
Messages
871
Trophies
0
Age
26
XP
938
Country
United States
Prof. 9 said:
someonewhodied said:
I just had a genius idea.

94000130 FDFF0000
04000130 FFFE0000
D0000000 00000000

Try this. L=A
If my theory is correct, this should work for any game.
There's three problems with your code. 1, 04000130 is a read-only address; you can't write to it. 2, you're modifying it as a value, but 04000130 is a bitfield. 3, 04000130 is 16-bit so you shouldn't write to it using code type 0. Did you even test this before posting it?

I didn't have my DS at the time. Or access to a computer that can run an emulator.
But yeah, It was only a theory.
 

Prof. 9

Well-Known Member
Member
Joined
Jun 17, 2008
Messages
324
Trophies
0
Location
The Netherlands
Website
twitter.com
XP
677
Country
Netherlands
Pingouin7 said:
Not to mention the last line should have been D2000000 00000000
No, D0 works.

Type 0xD0
Terminator
D0000000 00000000 Loads the previous execution status. If none exists, the execution status stays at 'execute codes'.

Type 0xD2
Loop Execute Variant/ Full Terminator
D2000000 00000000 Executes the next block of codes 'n' times (specified by the 0x0C codetype), and clears all temporary data. (i.e. execution status, offsets, code C settings, etc.)
This code can also be used as a full terminator, giving the same effects to any block of code.

http://doc.kodewerx.org/hacking_nds.html#arcodetypes
 

Site & Scene News

General chit-chat
Help Users
    AncientBoi @ AncientBoi: mmmm I'm having Chocko chip cookies n milk. only 9:07 pm here