Major Agnostic
Pokemon Crystal Ultimate Developer
- 61
- Posts
- 9
- Years
- Seen Mar 7, 2025
Greetings, I'm currently working on a balancing/difficulty hack using the pokecrystal disassembly and am having a hard time figuring out how to add entries to data/default_options.asm to make it so the game defaults to Stereo sound and Set battle style. I had no trouble setting fast text and menu account off since I just modified what was already in the asm, but idk how to actually add the code to toggle Stereo and Set.
I don't know anything at all about coding and this is the last addition I want to make to my hack atm (not counting modifying basic data), but I haven't had much success after hours of trial and error. I asked for help twice in the pret discord and don't want to keep pestering the same people. They mentioned that I have to add the options for battle style and sound to the preexisting bitwise field (using "bitwise-or"?) for wOptions (which includes the fast text that I have already modified), but I have no clue how to do this and have tried tons of stuff, studying the options_menu.asm and wram_constants.asm files to no avail.
DefaultOptions:
; wOptions: fast text speed
db TEXT_DELAY_FAST
; wSaveFileExists: no
db FALSE
; wTextboxFrame: frame 1
db FRAME_1
; wTextboxFlags: use text speed
db 1 << FAST_TEXT_DELAY_F
; wGBPrinterBrightness: normal
db GBPRINTER_NORMAL
; wOptions2: menu account off
db 0 << MENU_ACCOUNT
db $00;
db $00
That is the entire file. It seems as though I should be adding something below "db TEXT_DELAY_FAST", like "db Stereo", but I don't know the formatting or if there are special terms/symbols I should use.
Thanks in advance for any help provided.
I don't know anything at all about coding and this is the last addition I want to make to my hack atm (not counting modifying basic data), but I haven't had much success after hours of trial and error. I asked for help twice in the pret discord and don't want to keep pestering the same people. They mentioned that I have to add the options for battle style and sound to the preexisting bitwise field (using "bitwise-or"?) for wOptions (which includes the fast text that I have already modified), but I have no clue how to do this and have tried tons of stuff, studying the options_menu.asm and wram_constants.asm files to no avail.
DefaultOptions:
; wOptions: fast text speed
db TEXT_DELAY_FAST
; wSaveFileExists: no
db FALSE
; wTextboxFrame: frame 1
db FRAME_1
; wTextboxFlags: use text speed
db 1 << FAST_TEXT_DELAY_F
; wGBPrinterBrightness: normal
db GBPRINTER_NORMAL
; wOptions2: menu account off
db 0 << MENU_ACCOUNT
db $00;
db $00
That is the entire file. It seems as though I should be adding something below "db TEXT_DELAY_FAST", like "db Stereo", but I don't know the formatting or if there are special terms/symbols I should use.
Thanks in advance for any help provided.