FEROCIOUS KICKS AND PUNCHES

This adds the Mega Punch & Mega Kick guys from FireRed and LeafGreen.

Given Mega Punch was in Mt. Moon, and GF replaced it with Thief in FRLG, I decided to change the TM to the Wing Fossil, which currently isn't obtainable outside of Mt. Moon Crater.
This commit is contained in:
Llinos Evans 2023-04-23 00:26:33 +01:00
parent 9f86539800
commit 5e21c159f9
7 changed files with 214 additions and 8 deletions

View file

@ -63,7 +63,7 @@ Route1OakText:
ld hl, OakBeforeBattleText
call PrintText
call YesNoChoice ; this whole bit doesn't work for some reason
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
jr nz, .refused

View file

@ -16,6 +16,8 @@ Route4_TextPointers:
dw Route4Text1
dw Route4Text2
dw PickUpItemText
dw MegaPunchGuy
dw MegaKickGuy
dw PokeCenterSignText
dw Route4Text5
dw Route4Text6
@ -55,3 +57,107 @@ Route4Text5:
Route4Text6:
text_far _Route4Text6
text_end
MegaPunchGuy:
text_asm
CheckEvent EVENT_GOT_TM01
jr nz, .got_item
ld hl, TM01PreReceiveText
call PrintText
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
jr nz, .refused
lb bc, TM_MEGA_PUNCH, 1
call GiveItem
jr nc, .bag_full
ld hl, ReceivedTM01Text
call PrintText
SetEvent EVENT_GOT_TM01
jr .done
.refused
ld hl, TM01Refused
call PrintText
jr .done
.bag_full
ld hl, MegaNoRoomText
call PrintText
jr .done
.got_item
ld hl, TM01ExplanationText
call PrintText
.done
jp TextScriptEnd
TM01PreReceiveText:
text_far _TM01PreReceiveText
text_end
ReceivedTM01Text:
text_far _ReceivedTM01Text
sound_get_item_1
text_end
TM01ExplanationText:
text_far _TM01ExplanationText
text_end
TM01Refused:
text_far _TM01Refused
text_end
MegaNoRoomText:
text_far _MegaNoRoomText
text_end
MegaKickGuy:
text_asm
CheckEvent EVENT_GOT_TM05
jr nz, .got_item
ld hl, TM05PreReceiveText
call PrintText
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
jr nz, .refused
lb bc, TM_MEGA_KICK, 1
call GiveItem
jr nc, .bag_full
ld hl, ReceivedTM05Text
call PrintText
SetEvent EVENT_GOT_TM05
jr .done
.bag_full
ld hl, MegaNoRoomText
call PrintText
jr .done
.refused
ld hl, TM05Refused
call PrintText
jr .done
.got_item
ld hl, TM05ExplanationText
call PrintText
.done
jp TextScriptEnd
TM05PreReceiveText:
text_far _TM05PreReceiveText
text_end
ReceivedTM05Text:
text_far _ReceivedTM05Text
sound_get_item_1
text_end
TM05ExplanationText:
text_far _TM05ExplanationText
text_end
TM05Refused:
text_far _TM05Refused
text_end