Boy/Girl option

This adds the boy/girl selection from later generations, using the pret tutorial and a spriteset from Pokemon Anniversary Red. I made some alterations, namely inserting the option later into the speech to be less clunky, and having the Nidorino become a Nidorina if you pick the feminine option.

I decided to make the third name option Seren, a common Welsh name for girls. It means "star", which is really cute! But...most people will probably say it's a Panel de Pon reference, which is cool too.
This commit is contained in:
Llinos Evans 2023-05-13 00:08:39 +01:00
parent 3b16404a50
commit 36baa9e623
28 changed files with 225 additions and 35 deletions

View file

@ -183,8 +183,16 @@ HoFMonInfoText:
next "TYPE2/@"
HoFLoadPlayerPics:
ld a, [wPlayerSex] ; sex check
and a ; sex check
jr nz, .GirlStuff1
ld de, RedPicFront
ld a, BANK(RedPicFront)
jr .Routine ; skip the girl stuff and go to main routine
.GirlStuff1
ld de, GreenPicFront
ld a, BANK(GreenPicFront)
.Routine ; resume original routine
call UncompressSpriteFromDE
ld hl, sSpriteBuffer1
ld de, sSpriteBuffer0
@ -192,8 +200,16 @@ HoFLoadPlayerPics:
call CopyData
ld de, vFrontPic
call InterlaceMergeSpriteBuffers
ld a, [wPlayerSex] ; sex check
and a ; maybe the tories are like this too
jr nz, .GirlStuff2
ld de, RedPicBack
ld a, BANK(RedPicBack)
jr .routine2 ; skip the girl stuff and continue original routine if guy
.GirlStuff2
ld de, GreenPicBack
ld a, BANK(GreenPicBack)
.routine2 ; original routine
call UncompressSpriteFromDE
predef ScaleSpriteByTwo
ld de, vBackPic