Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when making. #74

Closed
AlternisDim20 opened this issue Nov 11, 2021 · 2 comments
Closed

Error when making. #74

AlternisDim20 opened this issue Nov 11, 2021 · 2 comments

Comments

@AlternisDim20
Copy link

ERROR: main.asm(165) -> data/pokemon/base_stats.asm(110) -> data/pokemon/base_stats/lickitung.asm(23) -> macros/data.asm::tmhm(23) -> macros/data.asm::tmhm::REPT~26(24):
    syntax error, unexpected identifier, expecting )
ERROR: main.asm(165) -> data/pokemon/base_stats.asm(110) -> data/pokemon/base_stats/lickitung.asm(23) -> macros/data.asm::tmhm(23) -> macros/data.asm::tmhm::REPT~26(25):
    syntax error, unexpected identifier
ERROR: main.asm(165) -> data/pokemon/base_stats.asm(110) -> data/pokemon/base_stats/lickitung.asm(23) -> macros/data.asm::tmhm(23) -> macros/data.asm::tmhm::REPT~26(26):
    syntax error, unexpected identifier
FATAL: main.asm(165) -> data/pokemon/base_stats.asm(110) -> data/pokemon/base_stats/lickitung.asm(23) -> macros/data.asm::tmhm(23) -> macros/data.asm::tmhm::REPT~26(28):
    Found ELSE outside an IF construct
make: *** [Makefile:87: main.o] Error 1

How do I resolve this? The only part of Lickitung.asm I edited was the TMs section, to add ones he would later get:

; tm/hm learnset
	tmhm MEGA_PUNCH,   SWORDS_DANCE, MEGA_KICK,    TOXIC,        BODY_SLAM,    \
	     TAKE_DOWN,    DOUBLE_EDGE,  BUBBLEBEAM,   WATER_GUN,    ICE_BEAM,     \
	     BLIZZARD,     HYPER_BEAM,   SUBMISSION,   COUNTER,      SEISMIC_TOSS, \
	     RAGE,         THUNDERBOLT,  THUNDER,      EARTHQUAKE,   FISSURE,      \
	     DIG,          MIMIC,        DOUBLE_TEAM,  BIDE,         FIRE_BLAST,   \
	     SKULL BASH,   REST,         ROCK_SLIDE,   SUBSTITUTE,   CUT,          \
         SURF,         STRENGTH
	; end
@dannye
Copy link
Member

dannye commented Nov 11, 2021

On line 22, you have SKULL BASH instead of SKULL_BASH.

@dannye dannye closed this as completed Nov 11, 2021
@AlternisDim20
Copy link
Author

Oh, whoops. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants