mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
slightly improved example
This commit is contained in:
parent
b1d25e089d
commit
404dca19e1
@ -224,6 +224,10 @@ crystal.rom_until(0x112116, 0x50, strings=False)
|
|||||||
# ['0x48', '0x54', '0x54']
|
# ['0x48', '0x54', '0x54']
|
||||||
# [72, 84, 84]
|
# [72, 84, 84]
|
||||||
|
|
||||||
|
# or just look at it the encoded characters directly
|
||||||
|
crystal.rom[0x112116:0x112116+10]
|
||||||
|
# 'HTTP/1.0\r\n'
|
||||||
|
|
||||||
# look at a text at 0x197186
|
# look at a text at 0x197186
|
||||||
text = crystal.parse_text_at2(0x197186, 601, debug=False)
|
text = crystal.parse_text_at2(0x197186, 601, debug=False)
|
||||||
print text
|
print text
|
||||||
|
Loading…
Reference in New Issue
Block a user