Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
- BaconKing12437
-
Scratcher
16 posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
So, I am making a game, and in that game, there are 3 things you can choose from in the start. To be your starter pet, but when you choose that pet and type “yes” it takes you to a backdrop (which is good) but… you can click on it again when it switches the backdrop, and it will ask you if you want that pet as your starter again! (which is bad) It is in the main backdrop, and I don't want the person to be able to click on it again and broadcast the dialogue. 

- griefercube
-
Scratcher
500+ posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
I have noticed that you’ve posted 2 posts on the same topic. Try to keep it on the same one next time by bumping the original one.
Also, if you could, sharing the project would help us fix your bug.
scratchblocks tag would also help us understand the question.
Also, if you could, sharing the project would help us fix your bug.
set [this v] to []using the
[scratchblocks] set [this v] to [] [/scratchblocks]
- BaconKing12437
-
Scratcher
16 posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
Sorry, I am new, how do I share?
- griefercube
-
Scratcher
500+ posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
Hence, if you could.
I remember that new scratchers couldn’t share projects (idk reason) so uh
Probably use the second option
I remember that new scratchers couldn’t share projects (idk reason) so uh
Probably use the second option
- BaconKing12437
-
Scratcher
16 posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
Here is the link, it is still in Beta https://scratch.mit.edu/projects/890994080/
Click on Snivy to see the problem (Snivy is the green one)
I tried fixing it, but that didn't work so I just now deleted the code..
Click on Snivy to see the problem (Snivy is the green one)
I tried fixing it, but that didn't work so I just now deleted the code..
Last edited by BaconKing12437 (Sept. 9, 2023 15:10:23)
- griefercube
-
Scratcher
500+ posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
For professor Kuden:

And for Snivy (and other 2 Pokémon if you can adapt it):

sorry for the bad quality on picture one.
side note: clicking on snivy and typing yes doesn’t seem to work for me, but Tepig does.

And for Snivy (and other 2 Pokémon if you can adapt it):

sorry for the bad quality on picture one.
side note: clicking on snivy and typing yes doesn’t seem to work for me, but Tepig does.
- BaconKing12437
-
Scratcher
16 posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
thank you so much for this!
P.S I updated the clicking. on snivy
P.S I updated the clicking. on snivy
Last edited by BaconKing12437 (Sept. 9, 2023 15:23:04)
- BaconKing12437
-
Scratcher
16 posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
That did not work… it didn't rlly do anything
But now I it wont do anything when I type Yes
But now I it wont do anything when I type Yes
Last edited by BaconKing12437 (Sept. 9, 2023 15:31:26)
- griefercube
-
Scratcher
500+ posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
Something’s probably not right… I’ll check
- griefercube
-
Scratcher
500+ posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
You gotta set the variable spam to false also, it’s set to 0 currently
Edit: also change your broadcasts for all 3 Pokémon, you don’t just use one broadcast for all
Edit: also change your broadcasts for all 3 Pokémon, you don’t just use one broadcast for all
Last edited by griefercube (Sept. 9, 2023 15:51:23)
- BaconKing12437
-
Scratcher
16 posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
TY! It works now! (I'm going to annoy you) How do I make them not get bigger when hovered over in the next backdrop? (you dont have to answer this if you don't want to)
P.S I will sub to you on YT.
P.S I will sub to you on YT.
- griefercube
-
Scratcher
500+ posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
same thing (Pokémon picked already thing) but put inside the forever loop…
something like this:
something like this:
when green flag clicked
forever
if <(Is a Pokémon picked already?) = [false]> then
… // your script for Pokémon to be bigger when hovered
end
end
- BaconKing12437
-
Scratcher
16 posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
Hello, I added a hunger system, and I'm trying to find out how to make the Pokemon faint when its hunger gets to high, any ideas?
- griefercube
-
Scratcher
500+ posts
making a game and need help with a clicking glitch in the code. (will put you in credits if you help)
if <(hunger) > [value]> thenSomething like that
switch costume to [fainted v]
end
- Discussion Forums
- » Help with Scripts
-
» making a game and need help with a clicking glitch in the code. (will put you in credits if you help)