You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Remove redundant data/ filename prefixes
This commit is contained in:
20
engine/battle/read_trainer_dvs.asm
Normal file
20
engine/battle/read_trainer_dvs.asm
Normal file
@@ -0,0 +1,20 @@
|
||||
GetTrainerDVs: ; 270c4
|
||||
; Return the DVs of OtherTrainerClass in bc
|
||||
|
||||
push hl
|
||||
ld a, [OtherTrainerClass]
|
||||
dec a
|
||||
ld c, a
|
||||
ld b, 0
|
||||
|
||||
ld hl, TrainerClassDVs
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
|
||||
ld a, [hli]
|
||||
ld b, a
|
||||
ld c, [hl]
|
||||
|
||||
pop hl
|
||||
ret
|
||||
; 270d6
|
@@ -1,4 +1,3 @@
|
||||
|
||||
ReadTrainerParty: ; 39771
|
||||
ld a, [InBattleTowerBattle]
|
||||
bit 0, a
|
||||
|
Reference in New Issue
Block a user