Getting money/Game Corner coins with 8F
Posted by: xtreme713ify
Date: 2016-10-26 05:27:26
Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.
You can join Glitch City Research Institute to ask questions or discuss current developments.
You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.
8F
Item x[qty]
Thunderstone x71
TM11 x34
TM01 x[qty] / Poké Ball x201
; code from 3rd item
ld hl, $D347 ; wPlayerMoney (https://github.com/pret/pokered/blob/master/wram.asm#L2355)
ldi (hl), a
ret
; or
inc b ; Poké Ball
ret
8F
Item x[qty]
X Accuracy x71
Water Stone x201
OR
Water Stone x03
TM01 x[qty] / Poké Ball x201
8F
Item x[qty]
Thunderstone x71
TM11 x34
Water Stone x34
TM01 x[qty] / Poké Ball x201
; code
ld hl, $D347 ; wPlayerMonies this time :P
ldi (hl), a
ldi (hl), a
ldi (hl), a
ret
; or
inc b
ret
8F
Item x[qty]
X Accuracy x71
Poké / Super Ball x34
Water Stone x34
TM01 x[qty] / Poké / Super Ball x201
8F
Item x[qty]
Thunderstone x71
TM11 x03
TM06 x54
Poké / Super Ball x34
Water Stone x34
TM01 x[qty] / Poké / Super Ball x201
; code
ld hl, $D347
dec b
adc a, $36 ; a = a ($63) + 54 ($36) + carry (0) = $99
inc / dec b
ldi (hl), a
ldi (hl), a
ldi (hl), a
ret
; OR
inc / dec b
ret
8F
Item x[qty]
X Accuracy x71
TM06 x54
(from here, same as previously)
(and yep, too lazy to copy/paste)
I think yes. Even though I couldn't find the address on the Data Crystal's R\B RAM map, I know that it's somewhere in the RAM.
It's right here if you want it.
You can, however change the prizes, but you would need to use the magic 8F while on the prize menu.
8F
Item x[qty]
Thunderstone x164
TM13 x34
TM01 x[qty] / Poké Ball x201
; code from 3rd item
ld hl, $D5A4 ; wPlayerCoins (https://github.com/pret/pokered/blob/master/wram.asm#L2680)
ldi (hl), a
ret
; or
inc b ; Poké Ball
ret
8F
Item x[qty]
X Accuracy x164
Protein x36
Water Stone x201
OR
Water Stone x03
TM01 x[qty] / Poké Ball x201
8F
Item x[qty]
Thunderstone x164
TM13 x34
Water Stone x201
OR
Water Stone x3
TM01 x[qty]
; code
ld hl, $D5A4 ; wPlayerCoinez this time :P
ldi (hl), a
ldi (hl), a
ret
; or
inc b
ret
8F
Item x[qty]
X Accuracy x164
Protein x36
Water Stone x34
TM01 x[qty] / Poké / Super Ball x201
8F
Item x[qty]
Thunderstone x164
TM11 x03
TM06 x54
Water Stone x34
TM01 x[qty] / Poké / Super Ball x201
; code
ld hl, $D5A4
dec b
adc a, $36 ; a = a ($63) + 54 ($36) + carry (0) = $99
ldi (hl), a
ldi (hl), a
ret
; OR
inc / dec b
ret
8F
Item x[qty]
X Accuracy x164
Protein x36
TM06 x54
(from here, same as previously)
(and yep, too lazy to copy/paste)
I think yes. Even though I couldn't find the address on the Data Crystal's R\B RAM map, I know that it's somewhere in the RAM.
It's right here if you want it.
You can, however change the prizes, but you would need to use the magic 8F while on the prize menu.
You didn't look very far :P