ID:264196
 
Code:
mob
var
MaxHealth=0
MaxExp=0
MaxLvl=0
MaxAttack=0



mob/Bulbasaur
icon = 'Kanto Pokemon.dmi'
icon_state = "Bulbasaur"
density = 1
var
Health=5
Exp=0
Lvl=1
Attack=5
lvl=16
proc/Attacks()
if(lvl < 1)
switch(input("Your Bublasaur has learned Tackle"))
proc/Evolve()
if(lvl < 16)
switch(input(src,"Do you wish to evolve Bulbasaur to Ivysaur?","evolve") in list("Yes","No"))
if("Yes")
icon_state = "Ivysaur"


Problem description:

ok im trying to put in attacks on this but i cant figure it out but i just cant get the indenting right.


can some one help this is the probem on lines 21,22

Pokemon.dm:21: Inconsistent indentation.
Pokemon.dm:22: Inconsistent indentation.
You lack fundamental knowledge of the DM language; how can we help you when you don't help yourself?

1) The DM guide, where you can learn properly.

2) The DM reference, where you learn what each proc does BEFORE you use it.
In response to Jeff8500
i know a little bit about coding the DM guide never helped me neither the DM Reference but if i got this last bit then i could mabey get the rest of my game done. and plus i have been reading the DM guide to tell u the truth but not much help cant find what im looking for in there.
In response to Active romio
Haha, you're a pathetic lier. If you're truly being sincere, you shouldn't be using a computer, let alone programming; the DM guide is pretty simple if you read the ZBT's, and the DM reference is probably the easiest to understand document on the DM language that you'll ever find. If you think the line switch(input("bublasar lernz atak!!!!")) will actually do something, then wow.
In response to Jeff8500
hey im not lieing i cant get much out of it and stop being mean im new ok but i know a little bit but theres no reason to be mean.
In response to Active romio
Then you don't know much about DM, my friend. The ZBT's seem too basic for you, so you should either read the DM guide/reference*, or GTFO =]

*Anyone that read the entry on switch() or input() or alert() would know that your switch/input does nothing.
In response to Jeff8500
look i dont know what to look for on there cant you just fix up my code. cause thats basically the last part i need to get my game done
It is quite obvious you have no idea whatsoever...

[link]

In response to A.T.H.K
its true i dont know how to do the learning attacks part thats all i am after to learn from seeing it im a visual learner not a here it is read an entire place full of codes type of person
In response to Active romio
What's the point of giving you something if you won't learn from it? It's like the equivalent of giving a puppy a stuffed animal; they will enjoy it while it lasts for 5 minutes, but there could be a child out there that would enjoy it much longer. In my metaphor, you're the instinctive puppy taking away from the child, whom is a new programmer willing to learn if we take the time to help them.
In response to Active romio
The DM guide is quite visual; you have contradicted yourself.
In response to Jeff8500
its really not visual u have to read a bunch of codes to get it but please just help i really need to complete my first game on my own.
In response to Jeff8500
as i said in my earier posts im a visual learner once i see the code im looking for i read that certain thing then i know what to do but also i dont know what im looking for in the DM guide to top all that.
In response to Active romio
The DM guide does contain a lot of "codes". Go scamper off and play with a crappy source code if you need to learn visually so bad; usually I advise against this, but you're so bad it might help!
In response to Active romio
You don't look through the DM guide. You read it chapter by chapter like a normal person.
In response to Jeff8500
look stop being mean and please no rude comments if you are dont post it if you can help then help me please.


P.S.- i dont have that big of patients to read a page in a book let alone a crap load of codes that i probably wont use.
In response to Active romio
Active romio wrote:
i really need to complete my first game on my own.

Please tell me how this makes sense?

You want to complete the game on your "own" but you want help from us?

Please just stop posting you are making yourself look like an even bigger fool.
In response to Active romio
1) It's not my problem if you have ADHD. If you have ADHD that severe, you probably shouldn't even be in normal classes in school (scratch that, you shouldn't even be in society).

2) You will use them, most likely. They are all general purpose code snippets.

3) If you find the truth rude and mean, then don't post here.

4) I'm trying to help you, but I can't do that unless you help yourself.
In response to A.T.H.K
man i said stop being mean but u know what i mean everybody needs help with a few codes but 2 codes out of many doesnt mean its your game. so please someone other than A.T.H.K and that other guy help me.
In response to Jeff8500
JEFF U STALKER I DO HAVE ADHD WHATS IT TO YOU I SAID STOP BEING MEAN AND MAN THAT WENT WAY OVER BOARD WITH WHAT YOUR SAYING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Page: 1 2