mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
More syncing with pokegold
This commit is contained in:
parent
01d6e6c758
commit
826e070f04
@ -42,3 +42,4 @@
|
|||||||
const MART_MT_MOON
|
const MART_MT_MOON
|
||||||
const MART_INDIGO_PLATEAU
|
const MART_INDIGO_PLATEAU
|
||||||
const MART_UNDERGROUND
|
const MART_UNDERGROUND
|
||||||
|
NUM_MARTS EQU const_value
|
||||||
|
@ -655,8 +655,8 @@ KRIS EQU __trainer_class__
|
|||||||
const ALLAN
|
const ALLAN
|
||||||
|
|
||||||
trainerclass KIMONO_GIRL ; 3c
|
trainerclass KIMONO_GIRL ; 3c
|
||||||
const NAOKO1
|
const NAOKO_UNUSED
|
||||||
const NAOKO2
|
const NAOKO
|
||||||
const SAYO
|
const SAYO
|
||||||
const ZUKI
|
const ZUKI
|
||||||
const KUNI
|
const KUNI
|
||||||
|
@ -34,7 +34,6 @@ Marts:
|
|||||||
dw MartMtMoon
|
dw MartMtMoon
|
||||||
dw MartIndigoPlateau
|
dw MartIndigoPlateau
|
||||||
dw MartUnderground
|
dw MartUnderground
|
||||||
.End
|
|
||||||
|
|
||||||
MartCherrygrove:
|
MartCherrygrove:
|
||||||
db 4 ; # items
|
db 4 ; # items
|
||||||
|
@ -3652,17 +3652,17 @@ BattleCommand_SleepTarget:
|
|||||||
jr nz, .fail
|
jr nz, .fail
|
||||||
|
|
||||||
call AnimateCurrentMove
|
call AnimateCurrentMove
|
||||||
ld b, $7
|
ld b, SLP
|
||||||
ld a, [wInBattleTowerBattle]
|
ld a, [wInBattleTowerBattle]
|
||||||
and a
|
and a
|
||||||
jr z, .random_loop
|
jr z, .random_loop
|
||||||
ld b, $3
|
ld b, %011
|
||||||
|
|
||||||
.random_loop
|
.random_loop
|
||||||
call BattleRandom
|
call BattleRandom
|
||||||
and b
|
and b
|
||||||
jr z, .random_loop
|
jr z, .random_loop
|
||||||
cp 7
|
cp SLP
|
||||||
jr z, .random_loop
|
jr z, .random_loop
|
||||||
inc a
|
inc a
|
||||||
ld [de], a
|
ld [de], a
|
||||||
@ -5714,7 +5714,8 @@ BattleCommand_Charge:
|
|||||||
text_far _BattleDugText
|
text_far _BattleDugText
|
||||||
text_end
|
text_end
|
||||||
|
|
||||||
BattleCommand_Unused3C: ; unreferenced
|
BattleCommand_Unused3C:
|
||||||
|
; effect0x3c
|
||||||
ret
|
ret
|
||||||
|
|
||||||
BattleCommand_TrapTarget:
|
BattleCommand_TrapTarget:
|
||||||
@ -6488,7 +6489,8 @@ INCLUDE "engine/battle/move_effects/sandstorm.asm"
|
|||||||
|
|
||||||
INCLUDE "engine/battle/move_effects/rollout.asm"
|
INCLUDE "engine/battle/move_effects/rollout.asm"
|
||||||
|
|
||||||
BattleCommand_Unused5D: ; unreferenced
|
BattleCommand_Unused5D:
|
||||||
|
; effect0x5d
|
||||||
ret
|
ret
|
||||||
|
|
||||||
INCLUDE "engine/battle/move_effects/fury_cutter.asm"
|
INCLUDE "engine/battle/move_effects/fury_cutter.asm"
|
||||||
|
@ -17,7 +17,7 @@ BattleCommand_BellyDrum:
|
|||||||
pop bc
|
pop bc
|
||||||
callfar SubtractHPFromUser
|
callfar SubtractHPFromUser
|
||||||
call UpdateUserInParty
|
call UpdateUserInParty
|
||||||
ld a, 5
|
ld a, MAX_STAT_LEVEL - BASE_STAT_LEVEL - 1
|
||||||
|
|
||||||
.max_attack_loop
|
.max_attack_loop
|
||||||
push af
|
push af
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
DisplayUsedMoveText:
|
DisplayUsedMoveText:
|
||||||
; battle command 03
|
|
||||||
ld hl, UsedMoveText
|
ld hl, UsedMoveText
|
||||||
call BattleTextbox
|
call BattleTextbox
|
||||||
jp WaitBGMap
|
jp WaitBGMap
|
||||||
|
@ -15,7 +15,7 @@ GiveShuckle:
|
|||||||
jr nc, .NotGiven
|
jr nc, .NotGiven
|
||||||
|
|
||||||
; Caught data.
|
; Caught data.
|
||||||
ld b, 0
|
ld b, CAUGHT_BY_UNKNOWN
|
||||||
farcall SetGiftPartyMonCaughtData
|
farcall SetGiftPartyMonCaughtData
|
||||||
|
|
||||||
; Holding a Berry.
|
; Holding a Berry.
|
||||||
|
@ -87,13 +87,12 @@ NameRival:
|
|||||||
ld b, NAME_RIVAL
|
ld b, NAME_RIVAL
|
||||||
ld de, wRivalName
|
ld de, wRivalName
|
||||||
farcall _NamingScreen
|
farcall _NamingScreen
|
||||||
; default to "SILVER"
|
|
||||||
ld hl, wRivalName
|
ld hl, wRivalName
|
||||||
ld de, .default
|
ld de, .DefaultName
|
||||||
call InitName
|
call InitName
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.default
|
.DefaultName:
|
||||||
db "SILVER@"
|
db "SILVER@"
|
||||||
|
|
||||||
NameRater:
|
NameRater:
|
||||||
|
@ -206,7 +206,7 @@ SlotsLoop:
|
|||||||
ld a, [wFirstTwoReelsMatchingSevens]
|
ld a, [wFirstTwoReelsMatchingSevens]
|
||||||
and a
|
and a
|
||||||
jr nz, .matching_sevens
|
jr nz, .matching_sevens
|
||||||
ld a, %11100100 ; alternates two palettes
|
ld a, %11100100
|
||||||
call DmgToCgbBGPals
|
call DmgToCgbBGPals
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -215,7 +215,7 @@ SlotsLoop:
|
|||||||
and $7
|
and $7
|
||||||
ret nz
|
ret nz
|
||||||
ldh a, [rBGP]
|
ldh a, [rBGP]
|
||||||
xor %00001100
|
xor %00001100 ; alternates two palettes
|
||||||
call DmgToCgbBGPals
|
call DmgToCgbBGPals
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ LoadMartPointer:
|
|||||||
|
|
||||||
GetMart:
|
GetMart:
|
||||||
ld a, e
|
ld a, e
|
||||||
cp (Marts.End - Marts) / 2
|
cp NUM_MARTS
|
||||||
jr c, .IsAMart
|
jr c, .IsAMart
|
||||||
ld b, BANK(DefaultMart)
|
ld b, BANK(DefaultMart)
|
||||||
ld de, DefaultMart
|
ld de, DefaultMart
|
||||||
|
@ -3,7 +3,7 @@ LevelUpHappinessMod:
|
|||||||
ld hl, wPartyMon1CaughtLocation
|
ld hl, wPartyMon1CaughtLocation
|
||||||
call GetPartyLocation
|
call GetPartyLocation
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
and $7f
|
and CAUGHT_LOCATION_MASK
|
||||||
ld d, a
|
ld d, a
|
||||||
ld a, [wMapGroup]
|
ld a, [wMapGroup]
|
||||||
ld b, a
|
ld b, a
|
||||||
|
@ -14,13 +14,13 @@ DanceTheatre_MapScripts:
|
|||||||
|
|
||||||
def_callbacks
|
def_callbacks
|
||||||
|
|
||||||
TrainerKimonoGirlNaoko2:
|
TrainerKimonoGirlNaoko:
|
||||||
trainer KIMONO_GIRL, NAOKO2, EVENT_BEAT_KIMONO_GIRL_NAOKO, KimonoGirlNaoko2SeenText, KimonoGirlNaoko2BeatenText, 0, .Script
|
trainer KIMONO_GIRL, NAOKO, EVENT_BEAT_KIMONO_GIRL_NAOKO, KimonoGirlNaokoSeenText, KimonoGirlNaokoBeatenText, 0, .Script
|
||||||
|
|
||||||
.Script:
|
.Script:
|
||||||
endifjustbattled
|
endifjustbattled
|
||||||
opentext
|
opentext
|
||||||
writetext KimonoGirlNaoko2AfterBattleText
|
writetext KimonoGirlNaokoAfterBattleText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -135,18 +135,18 @@ DanceTheatreGrannyScript:
|
|||||||
DanceTheatreFancyPanel:
|
DanceTheatreFancyPanel:
|
||||||
jumptext DanceTheatreFancyPanelText
|
jumptext DanceTheatreFancyPanelText
|
||||||
|
|
||||||
KimonoGirlNaoko2SeenText:
|
KimonoGirlNaokoSeenText:
|
||||||
text "You have lovely"
|
text "You have lovely"
|
||||||
line "#MON. May I see"
|
line "#MON. May I see"
|
||||||
cont "them in battle?"
|
cont "them in battle?"
|
||||||
done
|
done
|
||||||
|
|
||||||
KimonoGirlNaoko2BeatenText:
|
KimonoGirlNaokoBeatenText:
|
||||||
text "Oh, you are very"
|
text "Oh, you are very"
|
||||||
line "strong."
|
line "strong."
|
||||||
done
|
done
|
||||||
|
|
||||||
KimonoGirlNaoko2AfterBattleText:
|
KimonoGirlNaokoAfterBattleText:
|
||||||
text "I enjoyed that"
|
text "I enjoyed that"
|
||||||
line "bout. I would like"
|
line "bout. I would like"
|
||||||
cont "to see you again."
|
cont "to see you again."
|
||||||
@ -349,7 +349,7 @@ DanceTheatre_MapEvents:
|
|||||||
bg_event 6, 6, BGEVENT_UP, DanceTheatreFancyPanel
|
bg_event 6, 6, BGEVENT_UP, DanceTheatreFancyPanel
|
||||||
|
|
||||||
def_object_events
|
def_object_events
|
||||||
object_event 0, 2, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINCOUNTERCLOCKWISE, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlNaoko2, -1
|
object_event 0, 2, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINCOUNTERCLOCKWISE, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlNaoko, -1
|
||||||
object_event 2, 1, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlSayo, -1
|
object_event 2, 1, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlSayo, -1
|
||||||
object_event 6, 2, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlZuki, -1
|
object_event 6, 2, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlZuki, -1
|
||||||
object_event 9, 1, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlKuni, -1
|
object_event 9, 1, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlKuni, -1
|
||||||
|
@ -322,7 +322,7 @@ Route29FisherText:
|
|||||||
line "progress."
|
line "progress."
|
||||||
done
|
done
|
||||||
|
|
||||||
Text_WaitingForDay: ; unreferenced
|
Route29CooltrainerMText_WaitingForDay: ; unreferenced
|
||||||
text "I'm waiting for"
|
text "I'm waiting for"
|
||||||
line "#MON that"
|
line "#MON that"
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ RandyScript:
|
|||||||
writetext Route35GoldenrodGateRandyAskTakeThisMonToMyFriendText
|
writetext Route35GoldenrodGateRandyAskTakeThisMonToMyFriendText
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .refused
|
iffalse .refused
|
||||||
writetext Route35GoldenrodGateRandyThanksKidText
|
writetext Route35GoldenrodGateRandyThanksText
|
||||||
promptbutton
|
promptbutton
|
||||||
waitsfx
|
waitsfx
|
||||||
readvar VAR_PARTYCOUNT
|
readvar VAR_PARTYCOUNT
|
||||||
@ -73,7 +73,7 @@ GiftSpearowName:
|
|||||||
GiftSpearowOTName:
|
GiftSpearowOTName:
|
||||||
db "RANDY@"
|
db "RANDY@"
|
||||||
|
|
||||||
db 0 ; filler
|
db 0 ; unused
|
||||||
|
|
||||||
Route35GoldenrodGatePokefanFScript:
|
Route35GoldenrodGatePokefanFScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
@ -106,7 +106,7 @@ Route35GoldenrodGateRandyAskTakeThisMonToMyFriendText:
|
|||||||
para "He's on ROUTE 31."
|
para "He's on ROUTE 31."
|
||||||
done
|
done
|
||||||
|
|
||||||
Route35GoldenrodGateRandyThanksKidText:
|
Route35GoldenrodGateRandyThanksText:
|
||||||
text "You will? Perfect!"
|
text "You will? Perfect!"
|
||||||
line "Thanks, kid!"
|
line "Thanks, kid!"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user