Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //////////////////////////
- /// Fake Room Guy FFC ///
- /// v0.1 ///
- /// 9th December, 2018 ///
- /// By: ZoriaRPG ///
- //////////////////////////
- // Instructions
- //Put a solid combo down where you want the fake guy,
- //then add an ffc to the screen.
- //Set the FFC combo to the combo of a guy.
- //Set its script to fakeroomguy, then as the script args:
- // D0: The Screen Message to show. This is mandatory.
- // D1: Override the X position of the string. This is optional.
- // D2: Override the Y position of the string. This is optional.
- // D3: Override the default (white in Classic) string colour.
- // D4: Override the default Z1 font.
- ffc script fakeroomguy
- {
- void run(int zqstring, int mx, int my, int mcolour, int mfont)
- {
- if ( !mx ) mx = 24;
- if ( !my ) my = 32;
- if ( !mcolour ) mcolour = 0x01;
- if ( !mfont ) mfont = FONT_Z1;
- int buffer[100];
- Game->GetMessage(zqstring, buffer);
- while(1)
- {
- Screen->DrawString(1, mx, my, mfont, mcolour, -1, 0, buffer, 128);
- Waitframe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement