mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
labels for some battle menus
This commit is contained in:
parent
07612257cc
commit
a99a205b28
55
main.asm
55
main.asm
@ -33795,29 +33795,34 @@ MenuData2_0x24edc: ; 24edc
|
|||||||
; 24ef2
|
; 24ef2
|
||||||
|
|
||||||
|
|
||||||
Function24ef2: ; 4ef2
|
LoadBattleMenuDataHeader: ; 4ef2
|
||||||
ld hl, MenuDataHeader_0x24f2c
|
ld hl, BattleMenuDataHeader
|
||||||
call LoadMenuDataHeader
|
call LoadMenuDataHeader
|
||||||
|
|
||||||
|
; store a
|
||||||
ld a, [$d0d2]
|
ld a, [$d0d2]
|
||||||
ld [$cf88], a
|
ld [$cf88], a
|
||||||
|
|
||||||
call Function2039
|
call Function2039
|
||||||
|
|
||||||
|
; restore a
|
||||||
ld a, [$cf88]
|
ld a, [$cf88]
|
||||||
ld [$d0d2], a
|
ld [$d0d2], a
|
||||||
|
|
||||||
call Function1c07
|
call Function1c07
|
||||||
ret
|
ret
|
||||||
; 24f0b
|
; 24f0b
|
||||||
|
|
||||||
|
|
||||||
Function24f0b: ; 24f0b
|
LoadSafariBattleMenuDataHeader: ; 24f0b
|
||||||
; Safari battle menu (untranslated).
|
; Safari battle menu (untranslated).
|
||||||
ld hl, MenuDataHeader_0x24f4e
|
ld hl, SafariBattleMenuDataHeader
|
||||||
call LoadMenuDataHeader
|
call LoadMenuDataHeader
|
||||||
jr Function24f19
|
jr Function24f19
|
||||||
; 24f13
|
; 24f13
|
||||||
|
|
||||||
Function24f13: ; 24f13
|
LoadParkBattleMenuDataHeader: ; 24f13
|
||||||
; Park battle menu.
|
ld hl, ParkBattleMenuDataHeader
|
||||||
ld hl, MenuDataHeader_0x24f89
|
|
||||||
call LoadMenuDataHeader
|
call LoadMenuDataHeader
|
||||||
; 24f19
|
; 24f19
|
||||||
|
|
||||||
@ -33832,23 +33837,23 @@ Function24f19: ; 24f19
|
|||||||
; 24f2c
|
; 24f2c
|
||||||
|
|
||||||
|
|
||||||
MenuDataHeader_0x24f2c: ; 24f2c
|
BattleMenuDataHeader: ; 24f2c
|
||||||
db $40 ; flags
|
db $40 ; flags
|
||||||
db 12, 08 ; start coords
|
db 12, 08 ; start coords
|
||||||
db 17, 19 ; end coords
|
db 17, 19 ; end coords
|
||||||
dw MenuData_0x24f34
|
dw BattleMenuData
|
||||||
db 1 ; default option
|
db 1 ; default option
|
||||||
; 24f34
|
; 24f34
|
||||||
|
|
||||||
MenuData_0x24f34: ; 0x24f34
|
BattleMenuData: ; 0x24f34
|
||||||
db $81 ; flags
|
db $81 ; flags
|
||||||
dn 2, 2 ; rows, columns
|
dn 2, 2 ; rows, columns
|
||||||
db 6 ; spacing
|
db 6 ; spacing
|
||||||
dbw BANK(Strings24f3d), Strings24f3d
|
dbw BANK(BattleMenuStrings), BattleMenuStrings
|
||||||
dbw $09, $0000
|
dbw $09, $0000
|
||||||
; 0x24f3d
|
; 0x24f3d
|
||||||
|
|
||||||
Strings24f3d: ; 0x24f3d
|
BattleMenuStrings: ; 0x24f3d
|
||||||
db "FIGHT@"
|
db "FIGHT@"
|
||||||
db $4a, "@"
|
db $4a, "@"
|
||||||
db "PACK@"
|
db "PACK@"
|
||||||
@ -33856,23 +33861,23 @@ Strings24f3d: ; 0x24f3d
|
|||||||
; 24f4e
|
; 24f4e
|
||||||
|
|
||||||
|
|
||||||
MenuDataHeader_0x24f4e: ; 24f4e
|
SafariBattleMenuDataHeader: ; 24f4e
|
||||||
db $40 ; flags
|
db $40 ; flags
|
||||||
db 12, 00 ; start coords
|
db 12, 00 ; start coords
|
||||||
db 17, 19 ; end coords
|
db 17, 19 ; end coords
|
||||||
dw MenuData_0x24f56
|
dw SafariBattleMenuData
|
||||||
db 1 ; default option
|
db 1 ; default option
|
||||||
; 24f56
|
; 24f56
|
||||||
|
|
||||||
MenuData_0x24f56: ; 24f56
|
SafariBattleMenuData: ; 24f56
|
||||||
db $81 ; flags
|
db $81 ; flags
|
||||||
dn 2, 2 ; rows, columns
|
dn 2, 2 ; rows, columns
|
||||||
db 11 ; spacing
|
db 11 ; spacing
|
||||||
dbw BANK(Strings24f5f), Strings24f5f
|
dbw BANK(SafariBattleMenuStrings), SafariBattleMenuStrings
|
||||||
dbw BANK(Function24f7c), Function24f7c
|
dbw BANK(Function24f7c), Function24f7c
|
||||||
; 24f5f
|
; 24f5f
|
||||||
|
|
||||||
Strings24f5f: ; 24f5f
|
SafariBattleMenuStrings: ; 24f5f
|
||||||
db "サファりボール× @" ; "SAFARI BALL× @"
|
db "サファりボール× @" ; "SAFARI BALL× @"
|
||||||
db "エサをなげる@" ; "THROW BAIT"
|
db "エサをなげる@" ; "THROW BAIT"
|
||||||
db "いしをなげる@" ; "THROW ROCK"
|
db "いしをなげる@" ; "THROW ROCK"
|
||||||
@ -33888,23 +33893,23 @@ Function24f7c: ; 24f7c
|
|||||||
; 24f89
|
; 24f89
|
||||||
|
|
||||||
|
|
||||||
MenuDataHeader_0x24f89: ; 24f89
|
ParkBattleMenuDataHeader: ; 24f89
|
||||||
db $40 ; flags
|
db $40 ; flags
|
||||||
db 12, 02 ; start coords
|
db 12, 02 ; start coords
|
||||||
db 17, 19 ; end coords
|
db 17, 19 ; end coords
|
||||||
dw MenuData_0x24f91
|
dw ParkBattleMenuData
|
||||||
db 1 ; default option
|
db 1 ; default option
|
||||||
; 24f91
|
; 24f91
|
||||||
|
|
||||||
MenuData_0x24f91: ; 24f91
|
ParkBattleMenuData: ; 24f91
|
||||||
db $81 ; flags
|
db $81 ; flags
|
||||||
dn 2, 2 ; rows, columns
|
dn 2, 2 ; rows, columns
|
||||||
db 12 ; spacing
|
db 12 ; spacing
|
||||||
dbw BANK(Strings24f9a), Strings24f9a
|
dbw BANK(ParkBattleMenuStrings), ParkBattleMenuStrings
|
||||||
dbw BANK(Function24fb2), Function24fb2
|
dbw BANK(Function24fb2), Function24fb2
|
||||||
; 24f9a
|
; 24f9a
|
||||||
|
|
||||||
Strings24f9a: ; 24f9a
|
ParkBattleMenuStrings: ; 24f9a
|
||||||
db "FIGHT@"
|
db "FIGHT@"
|
||||||
db $4a, "@"
|
db $4a, "@"
|
||||||
db "PARKBALL× @"
|
db "PARKBALL× @"
|
||||||
@ -36017,7 +36022,7 @@ Function28177: ; 28177
|
|||||||
ld [rIE], a
|
ld [rIE], a
|
||||||
pop af
|
pop af
|
||||||
ld [rIF], a
|
ld [rIF], a
|
||||||
ld a, $16
|
ld a, PREDEF_START_BATTLE
|
||||||
call Predef
|
call Predef
|
||||||
ld a, [rIF]
|
ld a, [rIF]
|
||||||
ld h, a
|
ld h, a
|
||||||
@ -47484,7 +47489,7 @@ Function3e139: ; 3e139
|
|||||||
ld a, [BattleType]
|
ld a, [BattleType]
|
||||||
cp $6
|
cp $6
|
||||||
jr nz, .asm_3e165
|
jr nz, .asm_3e165
|
||||||
callba Function24f13
|
callba LoadParkBattleMenuDataHeader
|
||||||
jr .asm_3e175
|
jr .asm_3e175
|
||||||
|
|
||||||
.asm_3e165
|
.asm_3e165
|
||||||
@ -47522,7 +47527,7 @@ Function3e192: ; 3e192
|
|||||||
Function3e19b: ; 3e19b
|
Function3e19b: ; 3e19b
|
||||||
call Function3d2f1
|
call Function3d2f1
|
||||||
jr z, .asm_3e1a8
|
jr z, .asm_3e1a8
|
||||||
callba Function24ef2
|
callba LoadBattleMenuDataHeader
|
||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user