Reply to Re: Papyrus Adventures (The): Development Thread [NEW]!
If you don't have an account, just leave the password field blank.
What exacly doesn't works?
Anyway, what I've seen for now:
==========================
void main(void)
{
int &malakies;
&malakies == 0;
}
==========================
'==' is different than '='.
A double '=' means 'compare', when the game reads '&malakies == 0;' it will load the last saved varial '&malakies' and compare to 0
Put only a single '=' there and the varial '&malakies' will become 0 once the screen is loaded
============================
say_stop("`5Only if you have 3 magic, i could teach you fireball", ¤t_sprite);
wait(200);
============================
A simple detail, at the other talks the magician says with `0, in this one you used `5, but I guess that's to call the player attention to the talk, maybe
============================
if (&magic >= 3)
{
say_stop("I have the magic that fireball requires!", 1);
add_magic("mag-fbl",437, 1);
}
if (&magic >= 3)
{
say_stop("I dont have the magic that fireball requires!", 1);
}
============================
Both the 'if' commands have the same varial '&magic >= 3', so, if the player is not on that condition the game will crash
EDIT:
===================================
if (&magican1 == 0)
{
freeze(1);
freeze(¤t_sprite);
say_stop("Wow, are you a magican?", 1);
wait(200);
(...)
else
{
say_stop("dang, be right back!", 1);
&malakies += 1;
}
&magican1 += 1;
<---- Close Bracket here
if(&magican1 == 1)
===================================
Anyway, what I've seen for now:
==========================
void main(void)
{
int &malakies;
&malakies == 0;
}
==========================
'==' is different than '='.
A double '=' means 'compare', when the game reads '&malakies == 0;' it will load the last saved varial '&malakies' and compare to 0
Put only a single '=' there and the varial '&malakies' will become 0 once the screen is loaded
============================
say_stop("`5Only if you have 3 magic, i could teach you fireball", ¤t_sprite);
wait(200);
============================
A simple detail, at the other talks the magician says with `0, in this one you used `5, but I guess that's to call the player attention to the talk, maybe
============================
if (&magic >= 3)
{
say_stop("I have the magic that fireball requires!", 1);
add_magic("mag-fbl",437, 1);
}
if (&magic >= 3)
{
say_stop("I dont have the magic that fireball requires!", 1);
}
============================
Both the 'if' commands have the same varial '&magic >= 3', so, if the player is not on that condition the game will crash
EDIT:
===================================
if (&magican1 == 0)
{
freeze(1);
freeze(¤t_sprite);
say_stop("Wow, are you a magican?", 1);
wait(200);
(...)
else
{
say_stop("dang, be right back!", 1);
&malakies += 1;
}
&magican1 += 1;
<---- Close Bracket here
if(&magican1 == 1)
===================================