mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00

* Moves the Mystery Box activation into Event Constants. This means that now, the Mystery Box activation is handled in the save, preventing some jank from happening when resetting. * The "don't switch off the box yet" variable is now always unset after entering a map. Meltan itself allows the variable to keep being re-set, which is super handy. Now, whenever you enter and exit maps, it'll work properly. * Flying, using an Escape Rope, and using Dig, all now unset the Mystery Box. If for some reason everything fucks up, this'll fix it. * Fixed a text bug with the scientist in Celadon University. * Fixed a menu alignment issue with the Vermilion Beauty. * Attempted to fix the Battle Tent exit. Failed. This is a really, really bad bug, hopefully this gets sorted sometime.
51 lines
1 KiB
NASM
51 lines
1 KiB
NASM
MACRO two_option_menu
|
|
db \1, \2, \3
|
|
dw \4
|
|
ENDM
|
|
|
|
TwoOptionMenuStrings:
|
|
; entries correspond to *_MENU constants
|
|
table_width 5, TwoOptionMenuStrings
|
|
; width, height, blank line before first menu item?, text pointer
|
|
two_option_menu 4, 3, FALSE, .YesNoMenu
|
|
two_option_menu 5, 3, FALSE, .BoyGirlMenu
|
|
two_option_menu 6, 4, TRUE, .CatsDogsMenu
|
|
two_option_menu 6, 3, FALSE, .YesNoMenu
|
|
two_option_menu 6, 3, FALSE, .NorthEastMenu
|
|
two_option_menu 7, 3, FALSE, .TradeCancelMenu
|
|
two_option_menu 7, 4, TRUE, .HealCancelMenu
|
|
two_option_menu 4, 3, FALSE, .NoYesMenu
|
|
assert_table_length NUM_TWO_OPTION_MENUS
|
|
|
|
.NoYesMenu:
|
|
db "NO"
|
|
next "YES@"
|
|
|
|
.YesNoMenu:
|
|
db "YES"
|
|
next "NO@"
|
|
|
|
; There is probably a better way to word this...
|
|
; Replaced North/West
|
|
.BoyGirlMenu:
|
|
db "BOY"
|
|
next "GIRL@"
|
|
|
|
; For the Vermilion Beauty event.
|
|
; Replaced South/East
|
|
.CatsDogsMenu:
|
|
db "CATS"
|
|
next "DOGS@"
|
|
|
|
.NorthEastMenu:
|
|
db "NORTH"
|
|
next "EAST@"
|
|
|
|
.TradeCancelMenu:
|
|
db "TRADE"
|
|
next "CANCEL@"
|
|
|
|
.HealCancelMenu:
|
|
db "HEAL"
|
|
next "CANCEL@"
|