Evie (ChickasaurusGL) 🌺 | Mobile command 15 08 as the player name mystery (Pokémon Crystal JP) @ChickasaurusGL | Uploaded September 2022 | Updated October 2024, 2 hours ago.
When you force the Mobile System GB mobile script 15 08 as the player name, the game will end up printing a number near the bottom-right corner of the screen. Curiously, the value varies as you walk around.
This function Function17f2cb has been dissambled as such:
github.com/pret/pokecrystal/blob/0f5540740bb494cfc6a5c724a2eeac4e064e9659/mobile/mobile_5f.asm
pop hl
push bc
ld a, [hli]
ld [wcd54], a
ld a, [hli]
ld [wcd55], a
ld a, [wcd2e]
inc a
ld [wcd56], a
pop bc
push hl
ld l, c
ld h, b
push hl
ld de, wcd56
ld b, $1
ld a, [wcd54]
ld c, a
call MobilePrintNum
ld a, l
ld [wcd52], a
ld a, h
ld [wcd53], a
pop hl
ld a, [wcd55]
call Function17f50f
pop de
and a
ret
https://glitchcity.wiki/Mobile_script
When you force the Mobile System GB mobile script 15 08 as the player name, the game will end up printing a number near the bottom-right corner of the screen. Curiously, the value varies as you walk around.
This function Function17f2cb has been dissambled as such:
github.com/pret/pokecrystal/blob/0f5540740bb494cfc6a5c724a2eeac4e064e9659/mobile/mobile_5f.asm
pop hl
push bc
ld a, [hli]
ld [wcd54], a
ld a, [hli]
ld [wcd55], a
ld a, [wcd2e]
inc a
ld [wcd56], a
pop bc
push hl
ld l, c
ld h, b
push hl
ld de, wcd56
ld b, $1
ld a, [wcd54]
ld c, a
call MobilePrintNum
ld a, l
ld [wcd52], a
ld a, h
ld [wcd53], a
pop hl
ld a, [wcd55]
call Function17f50f
pop de
and a
ret
https://glitchcity.wiki/Mobile_script