Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Crystal's pc first item has location D8F2
- We want some compare instruction to make certain that we can still use the other method, for now.
- ([id]tmp xx) is used for instructions that will be changed by the code itself, where xx is what we will change to.
- we can edit from fb7f to fbb9
- [1] = FB88
- 1st
- 1 - xor a - AF // A = 0
- 2-3 - or a, D0 - F6 D0 // A = D0
- 4-5 - or a, 88 - F6 88 // A = D8
- 6-8 - ld ([2]), A - EA 89 FB // Write A to [2]
- 9 - ld D,B // (forced endline)
- 2nd
- 1 - xor a - AF // A = 0
- 2-3 - or a, D2 - F6 D2 // A = D2
- 4-5 - or a, E2 - F6 E2 // A = F2
- 6-8 - ld ([1]), A - EA 88 FB // Write A to [1]
- 9 - ld D,B // (forced endline)
- 3rd
- 1-3 - JP NC, ([1]tmp F2)([2]tmp D8) - D2 XX XX // Jump to hopefully D8F2
- 4 - ld D,B // endline
- // Converted to pokémon letters.
- p0'd0IéJ5
- p0'm0(mn)éI5
- 'm55
- //you only need to use a regular return from the items.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement