You are not logged in.
In the last topic I made I was wondering about making the back sprites bigger in Pokemon Red. I found it out how to do it. But then I came with a problem that I can't find a solution about. In Cygwin it always says :
"C:\cygwin\bin\rgblink.exe: Unknown symbol 'SaveTrainerName'
make: *** [Makefile:47: pokered.gbc] Error 1"
How do I fix this? Any help would be appreciated.
That error means that you referenced a label named "SaveTrainerName" in your code somewhere, but you did not define that label. It could simply be a typo and you didn't use exactly the same label name in all places. Or it could be that you forgot to include a new file. Without more information, that's all I can say.
Thanks again I fixed it. This has nothing to do with the thread but I imported moves from Red++ to my romhack (I will give credit) but the moves that have the index higher than 200 has names that say for example TM39 or TM55. The moves do function but even when I edit the names on move_names.asm it still says TMXX. How do I fix this?
Apparently, it has to do with something called "GetName". I had trouble with it, too--Zap Cannon and Ancientpower, respectively moves 196 (C4) and 199 (C7) in my hack, rendered as HM01 and HM04, respectively (HM01 and HM04 are items C4 and C7, respectively). So anything above 195 is rendered as a TM or HM unless the GetName function is changed to:
GetName:: ; 376b (0:376b) ; arguments: ; [wd0b5] = which name ; [wNameListType] = which list ; [wPredefBank] = bank of list ; ; returns pointer to name in de ld a,[wNameListType] cp ITEM_NAME ld a,[wd0b5] ld [wd11e],a jr nz, .noItem cp HM_01 ;it's TM/HM jp nc,GetMachineName .noItem ; Return here if not an item et cetera, et cetera, et cetera
Mateo taught me that one, by the way.
Last edited by Fotomac (2017-03-01 19:15:57)