You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Build the Virtual Console patch with make crystal11_vc
(#882)
Fixes #813
This commit is contained in:
@@ -21,6 +21,7 @@ DoBattleTransition:
|
||||
ld hl, hVBlank
|
||||
ld a, [hl]
|
||||
push af
|
||||
vc_hook FPA_link_fight_begin
|
||||
ld [hl], $1
|
||||
|
||||
.loop
|
||||
@@ -58,6 +59,7 @@ DoBattleTransition:
|
||||
ld a, $1 ; unnecessary bankswitch?
|
||||
ldh [rSVBK], a
|
||||
pop af
|
||||
vc_hook FPA_link_fight_End4
|
||||
ldh [hVBlank], a
|
||||
call DelayFrame
|
||||
ret
|
||||
@@ -310,6 +312,7 @@ StartTrainerBattle_Flash:
|
||||
dc 0, 0, 0, 1
|
||||
|
||||
StartTrainerBattle_SetUpForWavyOutro:
|
||||
vc_hook FPA_link_fight_End0
|
||||
farcall RespawnPlayerAndOpponent
|
||||
ld a, BANK(wLYOverrides)
|
||||
ldh [rSVBK], a
|
||||
@@ -367,6 +370,7 @@ StartTrainerBattle_SineWave:
|
||||
ret
|
||||
|
||||
StartTrainerBattle_SetUpForSpinOutro:
|
||||
vc_hook FPA_link_fight_End1
|
||||
farcall RespawnPlayerAndOpponent
|
||||
ld a, BANK(wLYOverrides)
|
||||
ldh [rSVBK], a
|
||||
@@ -509,6 +513,7 @@ ENDM
|
||||
.wedge5: db 4, 0, 3, 0, 3, 0, 2, 0, 2, 0, 1, 0, 1, 0, 1, -1
|
||||
|
||||
StartTrainerBattle_SetUpForRandomScatterOutro:
|
||||
vc_hook FPA_link_fight_End2
|
||||
farcall RespawnPlayerAndOpponent
|
||||
ld a, BANK(wLYOverrides)
|
||||
ldh [rSVBK], a
|
||||
@@ -763,6 +768,7 @@ StartTrainerBattle_DrawSineWave:
|
||||
calc_sine_wave
|
||||
|
||||
StartTrainerBattle_ZoomToBlack:
|
||||
vc_hook FPA_link_fight_End3
|
||||
farcall RespawnPlayerAndOpponent
|
||||
ld de, .boxes
|
||||
|
||||
|
@@ -8940,6 +8940,7 @@ InitBattleDisplay:
|
||||
predef PlaceGraphic
|
||||
xor a
|
||||
ldh [hWY], a
|
||||
vc_hook fight_begin
|
||||
ldh [rWY], a
|
||||
call WaitBGMap
|
||||
call HideSprites
|
||||
|
Reference in New Issue
Block a user