You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
common text 2 and some fixes to compile
This commit is contained in:
55
main.asm
55
main.asm
@@ -31066,10 +31066,10 @@ Function38000: ; 38000
|
|||||||
ret nz
|
ret nz
|
||||||
ld a, [PlayerSubStatus5]
|
ld a, [PlayerSubStatus5]
|
||||||
bit 7, a
|
bit 7, a
|
||||||
jr nz, .asm_38041
|
jr nz, Function38041
|
||||||
ld a, [$c731]
|
ld a, [$c731]
|
||||||
and a
|
and a
|
||||||
jr nz, .asm_38041
|
jr nz, Function38041
|
||||||
ld hl, $55a1
|
ld hl, $55a1
|
||||||
ld a, [$cfc0]
|
ld a, [$cfc0]
|
||||||
and a
|
and a
|
||||||
@@ -31086,23 +31086,25 @@ Function38000: ; 38000
|
|||||||
jp nz, $4083
|
jp nz, $4083
|
||||||
bit 2, [hl]
|
bit 2, [hl]
|
||||||
jp nz, $40c1
|
jp nz, $40c1
|
||||||
|
; fallthrough
|
||||||
|
; 38041
|
||||||
|
|
||||||
.asm_38041
|
Function38041: ; 38041
|
||||||
call $4105
|
call $4105
|
||||||
ret
|
ret
|
||||||
; 38045
|
; 38045
|
||||||
|
|
||||||
Function38045: ; 38045
|
Function38045: ; 38045
|
||||||
callab Function34941
|
callab Function0x34941
|
||||||
ld a, [$c717]
|
ld a, [$c717]
|
||||||
and $f0
|
and $f0
|
||||||
jp z, $4041
|
jp z, Function38041
|
||||||
cp $10
|
cp $10
|
||||||
jr nz, .asm_38061
|
jr nz, .asm_38061
|
||||||
call RNG
|
call RNG
|
||||||
cp $80
|
cp $80
|
||||||
jr c, .asm_38077
|
jr c, .asm_38077
|
||||||
jp $4041
|
jp Function38041
|
||||||
|
|
||||||
.asm_38061
|
.asm_38061
|
||||||
cp $20
|
cp $20
|
||||||
@@ -31126,7 +31128,7 @@ Function38045: ; 38045
|
|||||||
; 38083
|
; 38083
|
||||||
|
|
||||||
Function38083: ; 38083
|
Function38083: ; 38083
|
||||||
callab Function34941
|
callab Function0x34941
|
||||||
ld a, [$c717]
|
ld a, [$c717]
|
||||||
and $f0
|
and $f0
|
||||||
jp z, $4041
|
jp z, $4041
|
||||||
@@ -31159,7 +31161,7 @@ Function38083: ; 38083
|
|||||||
; 380c1
|
; 380c1
|
||||||
|
|
||||||
Function380c1: ; 380c1
|
Function380c1: ; 380c1
|
||||||
callab Function34941
|
callab Function0x34941
|
||||||
ld a, [$c717]
|
ld a, [$c717]
|
||||||
and $f0
|
and $f0
|
||||||
jp z, $4041
|
jp z, $4041
|
||||||
@@ -32191,7 +32193,7 @@ Function3d5d7: ; 3d5d7
|
|||||||
ld a, $10
|
ld a, $10
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
call SetEnemyTurn
|
call SetEnemyTurn
|
||||||
callab Function347c8
|
callab Function0x347c8
|
||||||
pop bc
|
pop bc
|
||||||
pop de
|
pop de
|
||||||
pop hl
|
pop hl
|
||||||
@@ -32226,13 +32228,13 @@ Function3d618: ; 3d618
|
|||||||
ld a, [BattleMonType1]
|
ld a, [BattleMonType1]
|
||||||
ld [PlayerMoveType], a
|
ld [PlayerMoveType], a
|
||||||
call SetPlayerTurn
|
call SetPlayerTurn
|
||||||
callab Function347c8
|
callab Function0x347c8
|
||||||
ld a, [$d265]
|
ld a, [$d265]
|
||||||
cp $b
|
cp $b
|
||||||
jr nc, .asm_3d663
|
jr nc, .asm_3d663
|
||||||
ld a, [BattleMonType2]
|
ld a, [BattleMonType2]
|
||||||
ld [PlayerMoveType], a
|
ld [PlayerMoveType], a
|
||||||
callab Function347c8
|
callab Function0x347c8
|
||||||
ld a, [$d265]
|
ld a, [$d265]
|
||||||
cp $b
|
cp $b
|
||||||
jr nc, .asm_3d663
|
jr nc, .asm_3d663
|
||||||
@@ -56206,36 +56208,7 @@ SECTION "bank6F",DATA,BANK[$6F]
|
|||||||
|
|
||||||
; Common text II
|
; Common text II
|
||||||
|
|
||||||
_FruitBearingTreeText: ; 0x1bc000
|
INCLUDE "text/common_2.tx"
|
||||||
db $0, "It's a fruit-", $4f
|
|
||||||
db "bearing tree.", $57
|
|
||||||
; 0x1bc01c
|
|
||||||
|
|
||||||
_HeyItsFruitText: ; 0x1bc01c
|
|
||||||
db $0, "Hey! It's", $4f
|
|
||||||
db "@"
|
|
||||||
text_from_ram StringBuffer3
|
|
||||||
db $0, "!", $57
|
|
||||||
; 0x1bc02d
|
|
||||||
|
|
||||||
_ObtainedFruitText: ; 0x1bc02d
|
|
||||||
db $0, "Obtained", $4f
|
|
||||||
db "@"
|
|
||||||
text_from_ram StringBuffer3
|
|
||||||
db $0, "!", $57
|
|
||||||
; 0x1bc03e
|
|
||||||
|
|
||||||
_FruitPackIsFullText: ; 0x1bc03e
|
|
||||||
db $0, "But the PACK is", $4f
|
|
||||||
db "full…", $57
|
|
||||||
; 0x1bc055
|
|
||||||
|
|
||||||
_NothingHereText: ; 0x1bc055
|
|
||||||
db $0, "There's nothing", $4f
|
|
||||||
db "here…", $57
|
|
||||||
; 0x1bc06b
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc", $1bc06b, $1be08d - $1bc06b
|
|
||||||
|
|
||||||
|
|
||||||
SECTION "bank70",DATA,BANK[$70]
|
SECTION "bank70",DATA,BANK[$70]
|
||||||
|
1842
text/common_2.asm
Normal file
1842
text/common_2.asm
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user