I'm sorry I don't know neither about FNAF nor what nights process is well, but as far as I know, there isn't a game which you are looking for on SmileBASIC.
Even if there are such games, nobody can expose keys because they are unauthorized.
Your translator isn't doing a good job, then we cannot understand what you are writing correctly.
Are you looking for first FNAP?
BTW ナス has already stopped reuploading FNAF.
You should not use neither OUT nor RETURN for a reference of an array.
I recommend you to modify your program as follows.
DEF STR_TO_ARR S$ OUT A%[]
-> DEF STR_TO_ARR S$,A%[]
Could you refer to the following program?
DEF STR2ARR S$,A%
VAR D
WHILE LEN(A%)>0:D=POP(A%):WEND
WHILE LEN(S$)>LEN(A%)
PUSH A%,ASC(S$[LEN(A%)])
WEND
END
DIM C%[100]
STR2ARR "SMILEBASIC",C%
FOR I=0 TO LEN(C%)-1:?C%[I]:NEXT I
I recommend you to try follows.
#1: increase the number of doors (e.g. 5x3)
#2: randomize the location of event door with RND() function
#3: add sound effect
Japanese SmileBASIC users above junior high school can understand light English words like "key". When you ask them "key?", they will understand that you will request them to give you key of the game they have made. However, if their games are unfinished or they cannot give you keys because of copyright issues, few of them can explain so.
I believe one of the most effective way to increase one's programming expertise is to analyze various programmes written by others.
If you give me questions, of course I'll answer you asap.
I recommend you not to call SPSET so frequently.
In your program, you don't need line 1,6 nor 7. You need to add ",0" as the last argument of SPANIM instead, to repeat animation.
SPANIM 0,"I",15,1433,15,1432,0
Highlighted one is "mascot", middle one is "pause" or "stop motion" and lower one is "mini games".
But I'm sorry I don't know their correct meanings in this game because I haven't played this game.