Problem description: Im coding berries for my game and i change the 3rd verb for one of them and i get these errors:
Berries.dm:403:Y :warning: variable defined but not used
Berries.dm:421:error:Hold :duplicate definition
Berries.dm:401:error:Hold :previous definition
Berries.dm:422:error:= :conflicts with previous definition
Berries.dm:412:error:Get :duplicate definition
Berries.dm:392:error:Get :previous definition
Berries.dm:417:error:Drop :duplicate definition
Berries.dm:397:error:Drop :previous definition
SinnohAdventures.dmb - 7 errors, 1 warning (double-click on an error to jump to it)
It didnt do that untill i changed a verb
ID:263927
Mar 7 2008, 4:23 am
|
|
Mar 7 2008, 4:38 am
|
|
should you post the code?
|
In response to Aang-Air bender
|
|
first berry verb set:
Iapapa_Berry second berry verb set: Occa_Berry |
In response to Deity Production 08
|
|
wait its fine when i take out the last berry. maybe i just gatta finish it. let me try
Edit: Yes, i just had to change the name cuz i had the name twice, but thanks |
In response to Deity Production 08
|
|
Notice how you've written the same exact verb at least twice? That's a big hint that you need some object-oriented design. Like this:
obj |