Zal0 / ZGB

Game Boy / Color engine with lots of features
MIT License
694 stars 51 forks source link

Problem with Enemies section. #54

Closed jermsworms closed 2 years ago

jermsworms commented 2 years ago

I followed the tutorial for creating enemies. when I define the enemy sprite I get this error.

?ASlink-Warning-Undefined Global '_Start_SpriteEnemy' referenced by module 'ZGBMain_Init'

?ASlink-Warning-Undefined Global '___bank_SpriteEnemy' referenced by module 'ZGBMain_Init'

?ASlink-Warning-Undefined Global '_Update_SpriteEnemy' referenced by module 'ZGBMain_Init'

make: *** [../bin/ZGB_TEMPLATE.gb] Error 2

Zal0 commented 2 years ago

You are doing something wrong. Check Enemy.c, START and UPDATE methods