Skip to content

Commit

Permalink
accurate ai and end text
Browse files Browse the repository at this point in the history
  • Loading branch information
U-DANIEL\Daniela authored and U-DANIEL\Daniela committed Jun 3, 2022
1 parent a897309 commit 24ee26f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
6 changes: 4 additions & 2 deletions data/text/text_2.asm
Original file line number Diff line number Diff line change
Expand Up @@ -908,10 +908,12 @@ _LinkBattleLostText::
text "!"
prompt

_BuriedAliveBattleLostText::
_BuriedAliveBattleLostText1::
text "Finally..."
prompt

para "Raw meat..."
_BuriedAliveBattleLostText2::
text "Raw meat..."
prompt

_GraveGameOverText::
Expand Down
2 changes: 1 addition & 1 deletion data/trainers/ai_pointers.asm
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ TrainerAIPointers:
dbw 3, GenericAI
dbw 2, AgathaAI ; agatha
dbw 1, LanceAI ; lance
dbw 3, GenericAI ; buried alive
dbw 2, CooltrainerMAI ; buried alive in the footage uses xattack twice, just like the cooltrainerm ai
assert_table_length NUM_TRAINERS
14 changes: 11 additions & 3 deletions engine/battle/core.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,11 @@ HandlePlayerBlackOut:
;call ScrollTrainerPicAfterBattle
;ld c, 40
;call DelayFrames
ld hl, BuriedAliveBattleLostText ; replace this
ld hl, BuriedAliveBattleLostText1 ; text 1
call PrintText
ld a, SFX_STOP_ALL_MUSIC ; kill music just like in the video when text 2 appears
call PlaySound
ld hl, BuriedAliveBattleLostText2 ; text 2
call PrintText
jp GameOverScript
ld a, [wCurMap]
Expand Down Expand Up @@ -1261,8 +1265,12 @@ LinkBattleLostText:
text_far _LinkBattleLostText
text_end

BuriedAliveBattleLostText:
text_far _BuriedAliveBattleLostText
BuriedAliveBattleLostText1:
text_far _BuriedAliveBattleLostText1
text_end

BuriedAliveBattleLostText2:
text_far _BuriedAliveBattleLostText2
text_end

Expand Down

1 comment on commit 24ee26f

@danielah05
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lmao thanks msys for messing up

Please sign in to comment.