- 275
- Posts
- 14
- Years
- Seen Oct 9, 2019
If I'm understanding this post correctly, we can't edit anything past 0x09FFFFFF.2) is there a limit of new offset scripts i can add
If I'm understanding this post correctly, we can't edit anything past 0x09FFFFFF.2) is there a limit of new offset scripts i can add
Well, you can start anywhere. A lot of people like to start with the map. Some like to dive into editing Pokemon sprites or Trainer data first. It all depends on where you want to start.In a Pokemon Gold hack what should I do first
.align 2
.thumb
main:
push {r0-r1,lr}
ldr r0, pokemon_data
ldrb r0, [r0]
add r0, #0x2
ldr r1, var
strh r0, [r1]
ldr r0, pokemon_data
add r0, #0x2
str r0, pokemon_data
pop {r0-r1,pc}
.align 2
pokemon_data:
.word 0x02024284 + 0x54
var:
.word 0x020270B6 + (0x800D * 2)
.align 2
.thumb
main:
push {r0-r1,lr}
ldr r0, pokemon_data
ldrb r0, [r0]
add r0, #0x2
ldr r1, var
strh r0, [r1]
strh r0, pokemon_data
pop {r0-r1,pc}
.align 2
pokemon_data:
.word 0x02024284 + 0x54
var:
.word 0x020270B6 + (0x800D * 2)
.align 2
.thumb
main:
push {r0-r1,lr}
ldr r0, pokemon_data
ldrb r1, [r0]
add r1, #0x2
strb r1, [r0]
pop {r0-r1,pc}
.align 2
pokemon_data:
.word 0x02024284 + 0x54
var:
.word 0x020270B6 + (0x800D * 2)
.align 2
.thumb
main:
push {r0-r1,lr}
ldr r0, pokemon_data
ldrb r0, [r0]
add r0, #0x2
strb r0, [r0]
pop {r0-r1,pc}
.align 2
pokemon_data:
.word 0x02024284 + 0x54
var:
.word 0x020270B6 + (0x800D * 2)
ldr r0, pokemon_data
Waaait, so:
loads the address of pokemon_data into r0 and not the actual level bit?Code:ldr r0, pokemon_data
If you can't find a way to word your question in an understandable form you are going to have a hard time in getting any answer.In Pokémon Gold can you use the RAM Map in PKSV-UI
Check this link; these are decimal but you can use windows calculator to convert them in hexadecimal format.Does anyone know Bagon and Trapinch's hexadecimal number?
Does anyone know Bagon and Trapinch's hexadecimal number?
Check this link; these are decimal but you can use windows calculator to convert them in hexadecimal format.