jep-hack/home/hm_moves.asm
Llinos Evans 093bda0253 Strong Arm, Water Sport, and more HMs.
This adds Rock Climb functionality to Strong Arm and Dive functionality to Water Sport, as discussed in the server. HMs have been added, but we need 16bit Items to add Wind Ride, and I haven't finished their functionality.

The Rock Climb tile is a bit terrible, it's not easy to notice. Maybe change so that it works well with yellow or another colour?

This does not build due to issues with effect_commands.asm, but since Zeta is meant to be working on the mapping and Water Sport anyway, it seems to be up his alley.

I ported over much of the underwater assets Rangi was using as they looked very pretty. I imagine it'll be fun to utilise going forward. May as well, right?

I shall now lay down in a dark room.

Review: c21561ea71 (diff-5508f3b794fc68821ba35e94b6a293b2aaaa16c02a1b34fac70d03fd2f74c4b2R113)
2024-12-28 06:26:01 +00:00

34 lines
411 B
NASM

; HM moves can't be forgotten
IsHM::
cp HM01
jr c, .NotHM
scf
ret
.NotHM:
and a
ret
IsHMMove::
call GetMoveIndexFromID
ld b, h
ld c, l
ld hl, .HMMoves
ld de, 2
jp IsInWordArray
.HMMoves:
dw CUT
dw FLY
dw SURF
dw STRENGTH
dw FLASH
dw WATERFALL
dw WHIRLPOOL
dw UPROOT
dw WATER_SPORT
dw STRONG_ARM
dw BRIGHT_MOSS ; this will be added as a hm in the 16bit patch
dw WIND_RIDE
dw -1 ; end